Skip to content

Commit 4558b4b

Browse files
committed
Ignore a few linting errors
1 parent b555b5a commit 4558b4b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

biome.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
33
"assist": { "actions": { "source": { "organizeImports": "on" } } },
44
"vcs": {
55
"enabled": true,
@@ -32,6 +32,12 @@
3232
"enabled": true,
3333
"rules": {
3434
"recommended": true,
35+
"complexity": {
36+
"noImportantStyles": "off"
37+
},
38+
"suspicious": {
39+
"noUnknownAtRules": "off"
40+
},
3541
"correctness": {
3642
"noUnusedImports": "warn",
3743
"noUnusedVariables": "warn"

frontend/src/components/Separator/Separator.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// biome-ignore-all lint/a11y/useFocusableInteractive: this is a false positive
77
// biome-ignore-all lint/a11y/useAriaPropsForRole: this is a false positive
8+
// biome-ignore-all lint/a11y/useSemanticElements: I don't want to use an <hr />
89

910
import cx from "classnames";
1011
import { forwardRef } from "react";

frontend/src/routes/_account.sessions.index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function Sessions(): React.ReactElement {
179179
<CompatSession key={session.cursor} session={session.node} />
180180
);
181181
default:
182-
unknownSessionType(type);
182+
return unknownSessionType(type);
183183
}
184184
})}
185185

0 commit comments

Comments
 (0)