You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
882 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

module.exports = {
// 换行长度默认80
printWidth: 180,
// tab缩进大小,默认为2
tabWidth: 2,
// 使用tab缩进默认false
useTabs: false,
// 每行末尾自动添加分号
semi: true,
vueIndentScriptAndStyle: false,
// 字符串使用单引号
singleQuote: true,
quoteProps: 'as-needed',
bracketSpacing: true,
// 行末尾自动添加逗号
trailingComma: 'all',
jsxSingleQuote: false,
// always 总是有括号
arrowParens: 'avoid',
insertPragma: false,
requirePragma: false,
proseWrap: 'never',
htmlWhitespaceSensitivity: 'strict',
endOfLine: 'auto',
rangeStart: 0,
// 箭头函数参数括号 默认avoid 可选 avoid| always
// avoid 能省略括号的时候就省略 例如x => x
// 在jsx中把'>' 不单独放一行
jsxBracketSameLine: false,
};