starwork-uniapp/.prettierrc.cjs

31 lines
634 B
JavaScript
Raw Normal View History

2024-12-31 10:05:55 +08:00
module.exports = {
singleQuote: true,
printWidth: 100,
tabWidth: 2,
useTabs: false,
semi: false,
2024-12-31 10:19:20 +08:00
trailingComma: 'none',
2024-12-31 10:05:55 +08:00
endOfLine: 'auto',
2024-12-31 10:19:20 +08:00
quoteProps: 'as-needed',
jsxSingleQuote: false,
bracketSpacing: true,
jsxBracketSameLine: false,
bracketSameLine: false,
arrowParens: 'avoid',
embeddedLanguageFormatting: 'auto',
vueIndentScriptAndStyle: true,
singleAttributePerLine: false,
requirePragma: false,
insertPragma: false,
proseWrap: 'preserve',
2024-12-31 10:05:55 +08:00
htmlWhitespaceSensitivity: 'ignore',
overrides: [
{
files: '*.json',
options: {
2024-12-31 10:19:20 +08:00
trailingComma: 'none'
}
}
]
2024-12-31 10:05:55 +08:00
}