Skip to content

Commit bd85e82

Browse files
committed
style(.eslintrc.json): disable the no-undef rule for typescript
This rule conflicts with TypeScript's own typechecker in some cases, for example the RequestInit DOM type.
1 parent 6822f40 commit bd85e82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"parser": "@typescript-eslint/parser",
4242
"plugins": [ "@typescript-eslint" ],
4343
"rules": {
44+
"no-undef": "off",
4445
"no-unused-vars": [ "error", { "args": "none" } ],
4546
"indent": [ "error", "tab" ],
4647
"no-dupe-class-members": "off",

0 commit comments

Comments
 (0)