From 19dee384d85b2d4295e37c9e0141a4e2b72f8d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ra=C4=8D=C3=A1k?= Date: Sat, 27 Apr 2024 12:08:16 +0200 Subject: [PATCH] Turn off import rules covered by typescript-eslint --- .eslintrc.cjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3a3ae132b27..b8257da5ae7 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -43,8 +43,13 @@ module.exports = { "@typescript-eslint/prefer-for-of": "warn", "@typescript-eslint/restrict-plus-operands": "warn", eqeqeq: "warn", + // Turn off import rules covered by typescript-eslint. + // https://typescript-eslint.io/troubleshooting/performance-troubleshooting/#eslint-plugin-import + "import/named": "off", "import/namespace": "off", - "import/no-named-as-default-member": "off", // probably makes sense to enable this at some point + "import/default": "off", + "import/no-named-as-default-member": "off", + "import/no-unresolved": "off", "no-console": ["warn", { allow: ["warn", "error"] }], "prefer-const": ["warn", { destructuring: "all" }], "react/display-name": "warn",