Skip to content

Commit b2393da

Browse files
Copilotcklin
andcommitted
Only disable strict rules that actually fail with current codebase
Co-authored-by: cklin <[email protected]>
1 parent e7a4e4b commit b2393da

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

extensions/ql-vscode/eslint.config.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,8 @@ export default tseslint.config(
123123
},
124124
},
125125
rules: {
126-
// Disable new strict rules from eslint-plugin-react-hooks 7.0.1
126+
// Disable new strict rules from eslint-plugin-react-hooks 7.0.1 that fail with current codebase
127127
"react-hooks/set-state-in-effect": "off",
128-
"react-hooks/refs": "off",
129-
"react-hooks/purity": "off",
130-
"react-hooks/error-boundaries": "off",
131128
},
132129
},
133130
{
@@ -149,7 +146,7 @@ export default tseslint.config(
149146
},
150147
},
151148
rules: {
152-
// Disable new strict rules from eslint-plugin-react-hooks 7.0.1
149+
// Disable new strict rules from eslint-plugin-react-hooks 7.0.1 that fail with current codebase
153150
"react-hooks/set-state-in-effect": "off",
154151
"react-hooks/refs": "off",
155152
"react-hooks/purity": "off",

0 commit comments

Comments
 (0)