Skip to content

Commit cf248d1

Browse files
committed
change react-hooks/refs rule error->warn
1 parent 0d8e052 commit cf248d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default tseslint.config(
3434
rules: {
3535
...reactHooks.configs.recommended.rules,
3636
...jsxA11y.flatConfigs.strict.rules,
37+
"react-hooks/refs": "warn",
3738
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
3839
"no-shadow": "off",
3940
"@typescript-eslint/no-shadow": "warn",

0 commit comments

Comments
 (0)