优化修改

This commit is contained in:
2026-05-27 11:24:51 +08:00
parent 95f020047d
commit 0d946c050e
6 changed files with 114 additions and 60 deletions

View File

@@ -38,10 +38,10 @@ module.exports = {
'@typescript-eslint/no-redeclare': 'error',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
varsIgnorePattern: '^_|props|watch',
caughtErrorsIgnorePattern: '^_',
},
],
@@ -64,6 +64,11 @@ module.exports = {
'vue/no-parsing-error': 'off',
'vue/no-deprecated-v-on-native-modifier': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-reserved-component-names': 'off',
'vue/no-v-for-template-key': 'off',
'vue/no-unused-vars': 'off',
'vue/no-mutating-props': 'off',
'no-mixed-spaces-and-tabs': 'off',
'no-useless-escape': 'off',
'no-sparse-arrays': 'off',
'no-prototype-builtins': 'off',
@@ -77,8 +82,8 @@ module.exports = {
'no-unused-vars': 'off',
'no-v-model-argument': 'off',
'no-case-declarations': 'off',
'no-console': 'error',
'no-debugger': 'error',
'no-console': 'off',
'no-debugger': 'warn',
'no-redeclare': 'off',
},
};