style(web): lint --fix sweep + disable no-undef for ts/vue (DOM globals)

This commit is contained in:
2026-05-01 10:53:02 +08:00
parent ba39fac142
commit 81718e53f9
9 changed files with 362 additions and 81 deletions
+3
View File
@@ -35,6 +35,9 @@ export default [
files: ['**/*.{ts,tsx,vue}'],
rules: {
'vue/multi-word-component-names': 'off',
// TypeScript/vue-tsc 已经做名字解析;no-undef 在 .vue 内对 DOM 全局
// (DragEvent / HTMLElement 等) 误报,关掉走 TS 校验。
'no-undef': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },