fix: warn

This commit is contained in:
xingyu4j
2022-11-30 10:30:58 +08:00
parent 0a8a41dea1
commit a43b884c73
7 changed files with 1489 additions and 1221 deletions

View File

@ -104,7 +104,7 @@
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-windicss": "^1.8.8",
"vue-tsc": "^1.0.9",
"vue-tsc": "^1.0.10",
"windicss": "^3.5.6"
},
"engines": {

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,17 @@
module.exports = {
printWidth: 100,
tabWidth: 2,
useTabs: false,
semi: false,
printWidth: 100, // 每行代码长度默认80
tabWidth: 2, // 每个tab相当于多少个空格默认2ab进行缩进默认false
useTabs: false, // 是否使用tab
semi: false, // 声明结尾使用分号(默认true)
vueIndentScriptAndStyle: false,
singleQuote: true,
singleQuote: true, // 使用单引号默认false
quoteProps: 'as-needed',
bracketSpacing: true,
trailingComma: 'none',
bracketSpacing: true, // 对象字面量的大括号间使用空格默认true
trailingComma: 'none', // 多行使用拖尾逗号默认none
jsxSingleQuote: false,
// 箭头函数参数括号 默认avoid 可选 avoid| always
// avoid 能省略括号的时候就省略 例如x => x
// always 总是有括号
arrowParens: 'always',
insertPragma: false,
requirePragma: false,