From e9dd91f8c0b852028924eb3e4e0b543f551626ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Guimmara?= <5512096+sguimmara@users.noreply.github.com> Date: Sun, 22 Dec 2024 11:34:53 +0100 Subject: [PATCH] style(.eslintrc.json): disable the no-undef rule for typescript (#892) This rule conflicts with TypeScript's own typechecker in some cases, for example the RequestInit DOM type. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 58390a8b3..a7a800561 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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",