mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-03-29 08:50:10 +00:00
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" } } },
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
@@ -32,6 +32,12 @@
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"complexity": {
|
||||
"noImportantStyles": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noUnknownAtRules": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedImports": "warn",
|
||||
"noUnusedVariables": "warn"
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -179,7 +179,7 @@ function Sessions(): React.ReactElement {
|
||||
<CompatSession key={session.cursor} session={session.node} />
|
||||
);
|
||||
default:
|
||||
unknownSessionType(type);
|
||||
return unknownSessionType(type);
|
||||
}
|
||||
})}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user