MeterSphere/frontend/.prettierrc.cjs

15 lines
332 B
JavaScript

module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
tabWidth: 2,
semi: true,
singleQuote: true,
quoteProps: 'consistent',
htmlWhitespaceSensitivity: 'strict',
vueIndentScriptAndStyle: true,
useTabs: false,
trailingComma: 'es5',
printWidth: 120,
arrowParens: 'always',
endOfLine: 'auto',
};