From c3e294ff76aff4654c7218645c7a13b539f66a36 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 20:08:43 +0800 Subject: [PATCH] internal --- internal/eslint-config/src/index.ts | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/internal/eslint-config/src/index.ts b/internal/eslint-config/src/index.ts index 101e338..1138bb3 100644 --- a/internal/eslint-config/src/index.ts +++ b/internal/eslint-config/src/index.ts @@ -25,7 +25,6 @@ 'plugin:prettier/recommended', ], rules: { - 'no-undef': 'off', 'no-unused-vars': 'off', 'no-case-declarations': 'off', 'no-use-before-define': 'off', @@ -35,14 +34,13 @@ 'import/newline-after-import': 'error', 'import/no-duplicates': 'error', - // '@typescript-eslint/no-unused-vars': [ - // 'error', - // { - // argsIgnorePattern: '^_', - // varsIgnorePattern: '^_', - // }, - // ], - '@typescript-eslint/no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + }, + ], '@typescript-eslint/ban-ts-ignore': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-types': 'off', @@ -65,7 +63,6 @@ 'vue/attribute-hyphenation': 'off', 'vue/require-default-prop': 'off', 'vue/require-explicit-emits': 'off', - 'vue/v-on-event-hyphenation': 'off', 'vue/html-self-closing': [ 'error', { -- Gitblit v1.9.3