20 lines
372 B
TypeScript
20 lines
372 B
TypeScript
import type { Config } from 'prettier';
|
|
|
|
const config: Config = {
|
|
semi: true,
|
|
trailingComma: 'es5',
|
|
singleQuote: true,
|
|
printWidth: 80,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
bracketSpacing: true,
|
|
bracketSameLine: false,
|
|
arrowParens: 'avoid',
|
|
endOfLine: 'lf',
|
|
quoteProps: 'as-needed',
|
|
jsxSingleQuote: true,
|
|
proseWrap: 'preserve',
|
|
};
|
|
|
|
export default config;
|