Skip to content

Commit

Permalink
Turn off import rules covered by typescript-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed Apr 27, 2024
1 parent 2196554 commit 19dee38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 19dee38

Please sign in to comment.