File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 40
40
"no-restricted-syntax": 0,
41
41
"no-console": "off",
42
42
"no-underscore-dangle": 0,
43
- "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
44
- // ,
45
- // "import/no-unresolved": [2, {"commonjs": true, "amd": true}],
46
- // "import/extensions": ["error", { "js": "always", "json": "always"}]
43
+ "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
44
+ // Note: you must disable the base rule as it can report incorrect errors
45
+ // https://stackoverflow.com/a/63961972/6366150
46
+ "no-shadow": "off",
47
+ "@typescript-eslint/no-shadow": "error",
48
+ // Note: you must disable the base rule as it can report incorrect errors
49
+ // https://github.com/typescript-eslint/typescript-eslint/issues/2621#issuecomment-701970389
50
+ "no-unused-vars": "off",
51
+ "@typescript-eslint/no-unused-vars": "error",
52
+ // Note: you must disable the base rule as it can report incorrect errors
53
+ // https://stackoverflow.com/a/77212380/6366150
54
+ "no-use-before-define": "off",
55
+ "@typescript-eslint/no-use-before-define": "error"
47
56
},
48
57
"overrides": [
49
58
{
You can’t perform that action at this time.
0 commit comments