flower-web-admin/.prettierrc.cjs
sdaduanbilei-d1581 c44239fa1e [add]auth 认证
2025-03-31 17:29:55 +08:00

19 lines
828 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports = {
// 一行的字符数如果超过会进行换行默认为80
printWidth: 80,
// 一个tab代表几个空格数默认为80
tabWidth: 4,
// 是否使用tab进行缩进默认为false表示用空格进行缩减
useTabs: false,
// 字符串是否使用单引号默认为false使用双引号
singleQuote: true,
// 行位是否使用分号默认为true
semi: false,
// 是否使用尾逗号,有三个可选值"<none|es5|all>"
trailingComma: 'none',
// 对象大括号直接是否有空格默认为true效果{ foo: bar }
bracketSpacing: true, // 对象大括号内两边是否加空格 { a:0 }
arrowParens: 'avoid', // 单个参数的箭头函数不加括号 x => x
// 开启 eslint 支持
eslintIntegration: true
}