From bd85e823084afe494bfb666b48d030c81f200345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Guimmara?= Date: Mon, 16 Dec 2024 16:50:08 +0100 Subject: [PATCH] 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. --- .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",