Apply type import rule to vue, too. This opens a can of worms potentially -- were these other rules not applied?

This commit is contained in:
Dannon Baker
2024-07-23 09:03:20 -04:00
parent f87e605f86
commit 0f3bbb5b42
+5 -4
View File
@@ -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: {