We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d68c7dc commit 4116ac8Copy full SHA for 4116ac8
index.js
@@ -32,6 +32,9 @@ module.exports = {
32
// The core 'no-unused-vars' rules (in the eslint:recommeded ruleset)
33
// does not work with type definitions
34
'no-unused-vars': 'off',
35
+ // TS already checks for that, and Typescript-Eslint recommends to disable it
36
+ // https://typescript-eslint.io/linting/troubleshooting#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
37
+ 'no-undef': 'off',
38
'@typescript-eslint/no-unused-vars': 'warn'
39
}
40
0 commit comments