From 0f3bbb5b42fcb147e8d76951f9f98be19c7d25fb Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 23 Jul 2024 09:03:20 -0400 Subject: [PATCH] Apply type import rule to vue, too. This opens a can of worms potentially -- were these other rules not applied? --- client/.eslintrc.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/.eslintrc.js b/client/.eslintrc.js index f384fd61fc2..a2ade17c292 100644 --- a/client/.eslintrc.js +++ b/client/.eslintrc.js @@ -82,6 +82,11 @@ const baseRules = { "import/first": "error", "import/newline-after-import": "error", "import/no-duplicates": "error", + + "@typescript-eslint/consistent-type-imports": [ + "error", + { prefer: "type-imports", fixStyle: "inline-type-imports" }, + ], }; const baseExtends = [ @@ -134,10 +139,6 @@ module.exports = { "@typescript-eslint/ban-ts-comment": "warn", "@typescript-eslint/no-explicit-any": "warn", // TODO: re-enable this "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "_.+", varsIgnorePattern: "_.+" }], - "@typescript-eslint/consistent-type-imports": [ - "error", - { prefer: "type-imports", fixStyle: "inline-type-imports" }, - ], }, parser: "@typescript-eslint/parser", parserOptions: {