grasscutterTools/.prettierrc.js
2022-05-02 18:38:10 +08:00

23 lines
414 B
JavaScript

module.exports = {
tabWidth: 2,
jsxSingleQuote: true,
jsxBracketSameLine: true,
printWidth: 100,
singleQuote: true,
semi: false,
overrides: [
{
files: '*.json',
options: {
printWidth: 200,
},
},
],
arrowParens: 'always',
endOfLine: 'auto',
vueIndentScriptAndStyle: true,
trailingComma: 'all',
proseWrap: 'never',
htmlWhitespaceSensitivity: 'strict',
}