From 250806ea2d95d519e9f96224024695bd4e4f56fe Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 6 Aug 2025 21:25:27 +0200 Subject: [PATCH] add react rules --- biome.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/biome.json b/biome.json index 9fc4f08a5..a43812c8a 100644 --- a/biome.json +++ b/biome.json @@ -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" } } },