Ignore a few linting errors

This commit is contained in:
Quentin Gliech
2025-09-12 09:46:52 +02:00
parent 32131e90ef
commit 6824fcb9e3
3 changed files with 9 additions and 2 deletions

View File

@@ -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" } } }, "assist": { "actions": { "source": { "organizeImports": "on" } } },
"vcs": { "vcs": {
"enabled": true, "enabled": true,
@@ -32,6 +32,12 @@
"enabled": true, "enabled": true,
"rules": { "rules": {
"recommended": true, "recommended": true,
"complexity": {
"noImportantStyles": "off"
},
"suspicious": {
"noUnknownAtRules": "off"
},
"correctness": { "correctness": {
"noUnusedImports": "warn", "noUnusedImports": "warn",
"noUnusedVariables": "warn" "noUnusedVariables": "warn"

View File

@@ -5,6 +5,7 @@
// biome-ignore-all lint/a11y/useFocusableInteractive: this is a false positive // 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/useAriaPropsForRole: this is a false positive
// biome-ignore-all lint/a11y/useSemanticElements: I don't want to use an <hr />
import cx from "classnames"; import cx from "classnames";
import { forwardRef } from "react"; import { forwardRef } from "react";

View File

@@ -179,7 +179,7 @@ function Sessions(): React.ReactElement {
<CompatSession key={session.cursor} session={session.node} /> <CompatSession key={session.cursor} session={session.node} />
); );
default: default:
unknownSessionType(type); return unknownSessionType(type);
} }
})} })}