Skip to content

Commit df53f16

Browse files
chore(deps): update @biomejs/biome to v2.4.2 (#2627)
* chore(deps): update @biomejs/biome to v2.4.2 * fix Signed-off-by: Adam Setch <adam.setch@outlook.com> * fix Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Adam Setch <adam.setch@outlook.com>
1 parent 4d0eeee commit df53f16

3 files changed

Lines changed: 55 additions & 51 deletions

File tree

biome.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
33
"files": {
44
"includes": ["**", "!**/generated/**/*"]
55
},
@@ -56,8 +56,7 @@
5656
"rules": {
5757
"recommended": true,
5858
"a11y": {
59-
"useKeyWithClickEvents": "off",
60-
"useSemanticElements": "off"
59+
"useKeyWithClickEvents": "off"
6160
},
6261
"correctness": {
6362
"noUnusedFunctionParameters": "error",
@@ -72,21 +71,26 @@
7271
]
7372
}
7473
},
75-
"useUniqueElementIds": "off"
74+
"useHookAtTopLevel": {
75+
"level": "error",
76+
"options": {
77+
"ignore": ["useAlternateIdleIcon", "useUnreadActiveIcon"]
78+
}
79+
}
7680
},
7781
"style": {
78-
"useDefaultSwitchClause": "error",
82+
"noInferrableTypes": "error",
7983
"noParameterAssign": "error",
84+
"noUnusedTemplateLiteral": "error",
85+
"noUselessElse": "error",
8086
"useAsConstAssertion": "error",
8187
"useBlockStatements": "error",
8288
"useDefaultParameterLast": "error",
89+
"useDefaultSwitchClause": "error",
8390
"useEnumInitializers": "error",
84-
"useSelfClosingElements": "error",
85-
"useSingleVarDeclarator": "error",
86-
"noUnusedTemplateLiteral": "error",
8791
"useNumberNamespace": "error",
88-
"noInferrableTypes": "error",
89-
"noUselessElse": "error"
92+
"useSelfClosingElements": "error",
93+
"useSingleVarDeclarator": "error"
9094
},
9195
"suspicious": {
9296
"noConsole": "error",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"react-router-dom": "7.13.0"
7474
},
7575
"devDependencies": {
76-
"@biomejs/biome": "2.3.15",
76+
"@biomejs/biome": "2.4.2",
7777
"@discordapp/twemoji": "16.0.1",
7878
"@electron/notarize": "3.1.1",
7979
"@graphql-codegen/cli": "6.1.1",

pnpm-lock.yaml

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)