Skip to content

Commit 97e0885

Browse files
committed
chore: add react-hooks/rules-of-hooks rule to linting configuration
1 parent c5f59e3 commit 97e0885

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"builtin": true
99
},
1010
"rules": {
11-
"no-unused-vars": "warn"
11+
"no-unused-vars": "warn",
12+
"react-hooks/rules-of-hooks": "error"
1213
}
1314
}

0 commit comments

Comments
 (0)