Skip to content

Commit ae787fb

Browse files
update biome rules
1 parent d6ce29f commit ae787fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

biome.json

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"style": {
1515
"noNonNullAssertion": "off"
1616
},
17+
"a11y": {
18+
"useKeyWithClickEvents": "off"
19+
},
1720
"suspicious": {
1821
"noArrayIndexKey": "off"
1922
},

src/frontend/features/notes/components/NotesHeader.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export function NotesHeader() {
3939
className="non-draggable flex cursor-default items-center justify-center gap-x-1 pl-2"
4040
onClick={sortContextMenu}
4141
>
42-
<h1 className="line-clamp-1 truncate font-semibold break-all text-ellipsis whitespace-break-spaces select-none">
42+
<h1 className="line-clamp-1 select-none truncate text-ellipsis whitespace-break-spaces break-all font-semibold">
4343
{title}
4444
</h1>
45-
<ChevronDown className="text-muted-foreground mt-1 mr-4 h-[1rem] w-[1rem] shrink-0" />
45+
<ChevronDown className="mt-1 mr-4 h-[1rem] w-[1rem] shrink-0 text-muted-foreground" />
4646
</div>
4747
<Button
4848
type="button"

0 commit comments

Comments
 (0)