Skip to content

Commit

Permalink
fix(no-require-imports): disable no-require-imports except for ESM
Browse files Browse the repository at this point in the history
This rule became enabled by default in typescript-eslint
v8. It's only useful for ES modules.
  • Loading branch information
djcsdy committed Dec 14, 2024
1 parent 9822990 commit 1e37ff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const config: Linter.Config = {
"@typescript-eslint/no-invalid-void-type": ["error", {allowAsThisParameter: true}],
"@typescript-eslint/no-loop-func": "error",
"@typescript-eslint/no-loss-of-precision": "error",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
Expand Down

0 comments on commit 1e37ff2

Please sign in to comment.