From ed54299736e3943085e266196a2d2a2b35f45761 Mon Sep 17 00:00:00 2001 From: BaboonKing Date: Wed, 20 Nov 2024 19:39:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BD=BF=20@typescript-eslint/consist?= =?UTF-8?q?ent-type-imports=20=E5=B7=A5=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 9a62e40d..d43b0229 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,6 +30,11 @@ export default [ ...vueTsEslintConfig(), skipFormatting, { + languageOptions: { + parserOptions: { + parser: '@typescript-eslint/parser' + } + }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',