Skip to content

Commit

Permalink
style(.eslintrc.json): disable the no-undef rule for typescript
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 committed Dec 16, 2024
1 parent 6822f40 commit bd85e82
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 bd85e82

Please sign in to comment.