Migrate project from Vue to React and TypeScript
This commit is contained in:
19
ui/prettier.config.ts
Normal file
19
ui/prettier.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user