feat:
This commit is contained in:
30
.prettierrc.js
Normal file
30
.prettierrc.js
Normal file
@ -0,0 +1,30 @@
|
||||
module.exports = {
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
printWidth: 120,
|
||||
proseWrap: 'preserve',
|
||||
endOfLine: 'lf',
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
arrowParens: 'avoid',
|
||||
bracketSpacing: true,
|
||||
htmlWhitespaceSensitivity: 'strict',
|
||||
jsxBracketSameLine: false,
|
||||
jsxSingleQuote: false,
|
||||
overrides: [
|
||||
{
|
||||
files: '.prettierrc',
|
||||
options: {
|
||||
parser: 'json',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: 'document.ejs',
|
||||
options: {
|
||||
parser: 'html',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user