eslintrc 配置更新

This commit is contained in:
xiaoma
2021-11-11 15:34:36 +08:00
parent 17a5d08d94
commit 7837c87392

View File

@@ -24,6 +24,7 @@ module.exports = defineConfig({
'plugin:prettier/recommended',
],
rules: {
'vue/script-setup-uses-vars': 'error',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
@@ -60,7 +61,6 @@ module.exports = defineConfig({
'vue/singleline-html-element-content-newline': 'off',
'vue/attribute-hyphenation': 'off',
'vue/require-default-prop': 'off',
'vue/script-setup-uses-vars': 'off',
'vue/html-self-closing': [
'error',
{