Ignore a few linting errors

This commit is contained in:
Quentin Gliech
2025-09-12 09:46:52 +02:00
parent b555b5a512
commit 4558b4b418
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" } } },
"vcs": {
"enabled": true,
@@ -32,6 +32,12 @@
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noImportantStyles": "off"
},
"suspicious": {
"noUnknownAtRules": "off"
},
"correctness": {
"noUnusedImports": "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/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 { forwardRef } from "react";

View File

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