Skip to content

Commit

Permalink
style(.eslintrc.json): disable the no-undef rule for typescript (#892)
Browse files Browse the repository at this point in the history
This rule conflicts with TypeScript's own typechecker in some cases,
for example the RequestInit DOM type.
  • Loading branch information
sguimmara authored Dec 22, 2024
1 parent 7b404bd commit e9dd91f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"parser": "@typescript-eslint/parser",
"plugins": [ "@typescript-eslint" ],
"rules": {
"no-undef": "off",
"no-unused-vars": [ "error", { "args": "none" } ],
"indent": [ "error", "tab" ],
"no-dupe-class-members": "off",
Expand Down

0 comments on commit e9dd91f

Please sign in to comment.