From 17f8d45341581b75151e3dc19f2777e126508237 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 28 Feb 2023 16:34:20 -0500 Subject: [PATCH] Adds type import consistency rule --- .eslintrc.base.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.base.json b/.eslintrc.base.json index 399a8ea..41c8f88 100644 --- a/.eslintrc.base.json +++ b/.eslintrc.base.json @@ -154,12 +154,13 @@ } ], "yoda": "error", + "import/consistent-type-specifier-style": ["error", "prefer-top-level"], "import/extensions": ["error", "never"], "import/newline-after-import": "warn", "import/no-absolute-path": "error", "import/no-cycle": "off", "import/no-default-export": "error", - "import/no-duplicates": "error", + "import/no-duplicates": ["error", { "prefer-inline": false }], "import/no-dynamic-require": "error", "import/no-self-import": "error", "import/no-unresolved": ["warn", { "ignore": ["vscode", "@env"] }],