diff --git a/biome.json b/biome.json index 9dc190833..cc5454160 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", + "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json", "assist": { "actions": { "source": { "organizeImports": "on" } } }, "vcs": { "enabled": true, @@ -32,6 +32,12 @@ "enabled": true, "rules": { "recommended": true, + "complexity": { + "noImportantStyles": "off" + }, + "suspicious": { + "noUnknownAtRules": "off" + }, "correctness": { "noUnusedImports": "warn", "noUnusedVariables": "warn" diff --git a/frontend/src/components/Separator/Separator.tsx b/frontend/src/components/Separator/Separator.tsx index 886c63040..a0472231e 100644 --- a/frontend/src/components/Separator/Separator.tsx +++ b/frontend/src/components/Separator/Separator.tsx @@ -5,6 +5,7 @@ // biome-ignore-all lint/a11y/useFocusableInteractive: this is a false positive // biome-ignore-all lint/a11y/useAriaPropsForRole: this is a false positive +// biome-ignore-all lint/a11y/useSemanticElements: I don't want to use an
import cx from "classnames"; import { forwardRef } from "react"; diff --git a/frontend/src/routes/_account.sessions.index.tsx b/frontend/src/routes/_account.sessions.index.tsx index e7f930a57..5e9085d75 100644 --- a/frontend/src/routes/_account.sessions.index.tsx +++ b/frontend/src/routes/_account.sessions.index.tsx @@ -179,7 +179,7 @@ function Sessions(): React.ReactElement { ); default: - unknownSessionType(type); + return unknownSessionType(type); } })}