mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-01 14:49:00 +08:00
chore: 修改eslint设配置
This commit is contained in:
parent
207150623e
commit
fa4967efc3
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -18,5 +18,8 @@
|
|||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": "explicit"
|
"source.fixAll.eslint": "explicit"
|
||||||
},
|
},
|
||||||
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "vue"]
|
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "vue"],
|
||||||
|
"eslint.options": {
|
||||||
|
"overrideConfigFile": "package.json"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,11 @@
|
|||||||
"@zclzone",
|
"@zclzone",
|
||||||
"@unocss",
|
"@unocss",
|
||||||
".eslint-global-variables.json"
|
".eslint-global-variables.json"
|
||||||
]
|
],
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaFeatures": {
|
||||||
|
"jsx": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user