diff --git a/biome.json b/biome.json index c24a5d8..7f611ea 100644 --- a/biome.json +++ b/biome.json @@ -29,13 +29,36 @@ "linter": { "enabled": true, "rules": { + "recommended": true, "style": { "noDefaultExport": "error", - "useNodejsImportProtocol": "error" + "useNodejsImportProtocol": "error", + "noNamespace": "error", + "noParameterProperties": "error", + "useImportType": "error", + "useShorthandFunctionType": "error", + "noVar": "error", + "useConst": "error", + "useEnumInitializers": "error" }, "complexity": { "noThisInStatic": "error", - "noStaticOnlyClass": "error" + "noStaticOnlyClass": "error", + "noForEach": "error", + "useArrowFunction": "error", + "noExcessiveCognitiveComplexity": { + "level": "warn", + "options": { + "maxAllowedComplexity": 15 + } + } + }, + "suspicious": { + "noExplicitAny": "error" + }, + "correctness": { + "noUnusedVariables": "error", + "noUnusedImports": "error" } } }