Skip to content

Commit 9b977a4

Browse files
Bump @biomejs/biome from 1.3.3 to 1.4.1 (#3396)
* Bump @biomejs/biome from 1.3.3 to 1.4.1 Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.3.3 to 1.4.1. - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/cli/v1.4.1/packages/@biomejs/biome) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update biome config * try downgrading nodejs --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Stepien <stepien.nicolas@gmail.com>
1 parent bff15f7 commit 9b977a4

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '21.x'
19+
node-version: '21.2.x'
2020
check-latest: true
2121
- uses: actions/cache@v3
2222
with:

biome.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"files": {
4-
"ignore": ["./coverage/**/*", "./dist/**/*", "./lib/**/*"]
4+
"ignore": ["./coverage/**/*", "./dist/**/*", "./lib/**/*", "./node_modules/**/*"]
55
},
66
"formatter": {
77
"ignore": ["*.ts", "*.tsx"],
@@ -29,6 +29,7 @@
2929
"noBlankTarget": "warn",
3030
"noDistractingElements": "warn",
3131
"noHeaderScope": "warn",
32+
"noInteractiveElementToNoninteractiveRole": "warn",
3233
"noNoninteractiveElementToInteractiveRole": "warn",
3334
"noNoninteractiveTabindex": "off",
3435
"noPositiveTabindex": "warn",
@@ -37,6 +38,7 @@
3738
"noSvgWithoutTitle": "off",
3839
"useAltText": "warn",
3940
"useAnchorContent": "warn",
41+
"useAriaActivedescendantWithTabindex": "warn",
4042
"useAriaPropsForRole": "warn",
4143
"useButtonType": "warn",
4244
"useHeadingContent": "warn",
@@ -57,6 +59,7 @@
5759
"noForEach": "off",
5860
"noMultipleSpacesInRegularExpressionLiterals": "warn",
5961
"noStaticOnlyClass": "warn",
62+
"noThisInStatic": "warn",
6063
"noUselessCatch": "warn",
6164
"noUselessConstructor": "warn",
6265
"noUselessEmptyExport": "warn",
@@ -68,6 +71,7 @@
6871
"noUselessTypeConstraint": "warn",
6972
"noVoid": "warn",
7073
"noWith": "warn",
74+
"useArrowFunction": "warn",
7175
"useFlatMap": "warn",
7276
"useLiteralKeys": "warn",
7377
"useOptionalChain": "warn",
@@ -79,10 +83,12 @@
7983
"noConstAssign": "warn",
8084
"noConstantCondition": "warn",
8185
"noConstructorReturn": "warn",
86+
"noEmptyCharacterClassInRegex": "warn",
8287
"noEmptyPattern": "warn",
8388
"noGlobalObjectCalls": "warn",
8489
"noInnerDeclarations": "warn",
8590
"noInvalidConstructorSuper": "warn",
91+
"noInvalidNewBuiltin": "warn",
8692
"noNewSymbol": "warn",
8793
"noNonoctalDecimalEscape": "warn",
8894
"noPrecisionLoss": "warn",
@@ -128,7 +134,9 @@
128134
"noRestrictedGlobals": "warn",
129135
"noShoutyConstants": "warn",
130136
"noUnusedTemplateLiteral": "warn",
137+
"noUselessElse": "off",
131138
"noVar": "warn",
139+
"useAsConstAssertion": "warn",
132140
"useBlockStatements": "off",
133141
"useCollapsedElseIf": "warn",
134142
"useConst": "warn",
@@ -141,12 +149,14 @@
141149
"useNumericLiterals": "warn",
142150
"useSelfClosingElements": "warn",
143151
"useShorthandArrayType": "warn",
152+
"useShorthandAssign": "warn",
144153
"useSingleCaseStatement": "off",
145154
"useSingleVarDeclarator": "warn",
146155
"useTemplate": "warn",
147156
"useWhile": "warn"
148157
},
149158
"suspicious": {
159+
"noApproximativeNumericConstant": "warn",
150160
"noArrayIndexKey": "off",
151161
"noAssignInExpressions": "off",
152162
"noAsyncPromiseExecutor": "warn",
@@ -175,6 +185,8 @@
175185
"noGlobalIsNan": "warn",
176186
"noImportAssign": "warn",
177187
"noLabelVar": "warn",
188+
"noMisleadingInstantiator": "warn",
189+
"noMisrefactoredShorthandAssign": "warn",
178190
"noPrototypeBuiltins": "warn",
179191
"noRedeclare": "warn",
180192
"noRedundantUseStrict": "warn",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@babel/preset-react": "^7.18.6",
6262
"@babel/preset-typescript": "^7.18.6",
6363
"@babel/runtime": "^7.21.5",
64-
"@biomejs/biome": "1.3.3",
64+
"@biomejs/biome": "1.4.1",
6565
"@faker-js/faker": "^8.0.0",
6666
"@ianvs/prettier-plugin-sort-imports": "^4.0.2",
6767
"@linaria/rollup": "^5.0.3",

0 commit comments

Comments
 (0)