🎈 perf:移除stylelint已弃用的规则、开启保存时自动stylelint格式化、移除tsconfig报错内容
parent
a7c37fa295
commit
c49641d988
|
@ -83,7 +83,8 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": "explicit"
|
"source.fixAll.eslint": "explicit",
|
||||||
|
"source.fixAll.stylelint": "explicit"
|
||||||
},
|
},
|
||||||
"[vue]": {
|
"[vue]": {
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
||||||
|
|
|
@ -13,19 +13,19 @@ module.exports = {
|
||||||
'at-rule-no-unknown': [
|
'at-rule-no-unknown': [
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
ignoreAtRules: ['function', 'if', 'each', 'include', 'mixin']
|
ignoreAtRules: ['function', 'if', 'each', 'include', 'mixin', 'extend']
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
'media-query-no-invalid': null,
|
'media-query-no-invalid': null,
|
||||||
'function-no-unknown': null,
|
'function-no-unknown': null,
|
||||||
'no-empty-source': null,
|
'no-empty-source': null,
|
||||||
'named-grid-areas-no-invalid': null,
|
'named-grid-areas-no-invalid': null,
|
||||||
'unicode-bom': 'never',
|
// 'unicode-bom': 'never',
|
||||||
'no-descending-specificity': null,
|
'no-descending-specificity': null,
|
||||||
'font-family-no-missing-generic-family-keyword': null,
|
'font-family-no-missing-generic-family-keyword': null,
|
||||||
'declaration-colon-space-after': 'always-single-line',
|
// 'declaration-colon-space-after': 'always-single-line',
|
||||||
'declaration-colon-space-before': 'never',
|
// 'declaration-colon-space-before': 'never',
|
||||||
'declaration-block-trailing-semicolon': null,
|
// 'declaration-block-trailing-semicolon': null,
|
||||||
'rule-empty-line-before': [
|
'rule-empty-line-before': [
|
||||||
'always',
|
'always',
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
"@/*": ["src/*"]
|
"@/*": ["src/*"]
|
||||||
},
|
},
|
||||||
"types": [
|
"types": [
|
||||||
"@intlify/unplugin-vue-i18n/types",
|
// "@intlify/unplugin-vue-i18n/types",
|
||||||
"vite/client",
|
"vite/client"
|
||||||
"element-plus/global",
|
// "element-plus/global",
|
||||||
"@types/qrcode",
|
// "@types/qrcode",
|
||||||
"vite-plugin-svg-icons/client"
|
// "vite-plugin-svg-icons/client"
|
||||||
],
|
],
|
||||||
"outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错
|
"outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错
|
||||||
"typeRoots": ["./node_modules/@types/", "./types"]
|
"typeRoots": ["./node_modules/@types/", "./types"]
|
||||||
|
|
Loading…
Reference in New Issue