From 84a9abd8baadb70db0ece571257ccfc846b0a4e8 Mon Sep 17 00:00:00 2001 From: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com> Date: Sun, 8 Dec 2024 12:48:32 +0100 Subject: [PATCH] chore(lint): adjust biome rules --- biome.jsonc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/biome.jsonc b/biome.jsonc index 7419507..a429dd2 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -9,15 +9,22 @@ "indentStyle": "tab", "lineWidth": 100 }, + "organizeImports": { + "enabled": false + }, // Rules for the linter "linter": { "rules": { "style": { + "noNonNullAssertion": "off", + "noParameterAssign": "off", + "noYodaExpression": "error", "useImportType": "error", "useNodeAssertStrict": "error", "useNodejsImportProtocol": "error" }, "suspicious": { + "noAssignInExpressions": "off", "noExplicitAny": "error", "noEmptyBlock": "error", "noDuplicateAtImportRules": "error", @@ -30,12 +37,16 @@ }, "nursery": { "noEnum": "error" + }, + "performance": { + "recommended": true } } }, // Language specific settings "javascript": { "formatter": { + "arrowParentheses": "always", "semicolons": "always", "quoteStyle": "single", "trailingCommas": "all"