Skip to content

Commit 96da646

Browse files
authored
chore: update react monorepo (#230)
1 parent ded9f87 commit 96da646

File tree

4 files changed

+30
-173
lines changed

4 files changed

+30
-173
lines changed

eslint.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default defineConfig([
1010
pluginJs.configs.recommended,
1111
...tseslint.configs.recommended,
1212
pluginReact.configs.flat.recommended,
13+
pluginReactHooks.configs.flat.recommended,
1314
{
1415
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
1516
plugins: {
@@ -27,9 +28,6 @@ export default defineConfig([
2728
"@typescript-eslint/ban-ts-comment": "off",
2829
"jsx-a11y/anchor-is-valid": "warn",
2930
"jsx-a11y/alt-text": "warn",
30-
"react-hooks/rules-of-hooks": "error",
31-
"react-hooks/exhaustive-deps": "warn",
32-
"react-hooks/react-compiler": "error",
3331
},
3432
settings: {
3533
react: {

0 commit comments

Comments
 (0)