2021-10-20 14:32:09 +08:00
|
|
|
module.exports = {
|
2022-04-27 19:19:39 +08:00
|
|
|
printWidth: 200,
|
2021-10-20 14:32:09 +08:00
|
|
|
tabWidth: 2,
|
|
|
|
useTabs: false,
|
2022-04-27 19:19:39 +08:00
|
|
|
semi: true, //语句末尾使用分号
|
2021-10-20 14:32:09 +08:00
|
|
|
vueIndentScriptAndStyle: true,
|
2022-04-27 19:19:39 +08:00
|
|
|
singleQuote: true, // 使用单引号
|
2021-10-20 14:32:09 +08:00
|
|
|
quoteProps: 'as-needed',
|
|
|
|
bracketSpacing: true,
|
|
|
|
trailingComma: 'es5',
|
2022-06-21 17:53:49 +08:00
|
|
|
jsxBracketSameLine: false,
|
2021-10-20 14:32:09 +08:00
|
|
|
jsxSingleQuote: false,
|
|
|
|
arrowParens: 'always',
|
|
|
|
insertPragma: false,
|
|
|
|
requirePragma: false,
|
|
|
|
proseWrap: 'never',
|
|
|
|
htmlWhitespaceSensitivity: 'strict',
|
|
|
|
endOfLine: 'auto',
|
|
|
|
rangeStart: 0,
|
|
|
|
};
|