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 4040 "no-restricted-syntax": 0,
4141 "no-console": "off",
4242 "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"
4756 },
4857 "overrides": [
4958 {
You can’t perform that action at this time.
0 commit comments