add react rules

This commit is contained in:
Mikael Finstad 2025-08-06 21:25:27 +02:00
parent 250806ccc3
commit 250806ea2d
No known key found for this signature in database
GPG key ID: 25AB36E3E81CBC26

View file

@ -33,6 +33,8 @@
"noExplicitAny": "off"
},
"correctness": {
"useExhaustiveDependencies": "error",
"useHookAtTopLevel": "error",
"noUnusedImports": "off",
"noUnusedFunctionParameters": "off",
"noUnusedVariables": {
@ -47,6 +49,10 @@
},
"a11y": {
"noSvgWithoutTitle": "off"
},
"nursery": {
"noNestedComponentDefinitions": "error",
"noReactPropAssign": "error"
}
}
},