Ignore a few linting errors
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
})}
|
})}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user