Skip to content

Commit 282fd41

Browse files
chore(deps): update dependency @biomejs/biome to v2 (scaleway#2370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 99ef8fb commit 282fd41

File tree

4 files changed

+2104
-5666
lines changed

4 files changed

+2104
-5666
lines changed

biome.json

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
6-
"linter": {
7-
"enabled": false
8-
},
93
"vcs": {
104
"clientKind": "git",
115
"useIgnoreFile": false,
126
"defaultBranch": "main"
137
},
148
"files": {
15-
"ignore": [
9+
"maxSize": 10000000,
10+
"ignoreUnknown": true,
11+
"includes": [
12+
"**/*.ts",
13+
"**/*.tsx",
14+
"**/*.js",
15+
"**/*.jsx",
16+
"**/*.json"
17+
],
18+
"experimentalScannerIgnores": [
1619
".next/",
1720
".pnpm-store/",
1821
"coverage/",
@@ -31,7 +34,8 @@
3134
"*.snap",
3235
"**/__snapshots__/",
3336
".docusaurus",
34-
".vitest-reports"
37+
".vitest-reports",
38+
"**/*.gen.ts"
3539
]
3640
},
3741
"formatter": {
@@ -58,13 +62,23 @@
5862
},
5963
"json": {
6064
"formatter": {
61-
"enabled": true
65+
"enabled": false
6266
},
6367
"parser": {
6468
"allowComments": true
6569
},
6670
"linter": {
67-
"enabled": true
71+
"enabled": false
72+
}
73+
},
74+
"linter": {
75+
"enabled": false
76+
},
77+
"assist": {
78+
"actions": {
79+
"source": {
80+
"organizeImports": "on"
81+
}
6882
}
6983
}
7084
}

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default [
2424
'scripts/generatePackages.ts',
2525
'scripts/*.ts',
2626
'*.min.js',
27+
'**/*.gen.ts', // Ignore generated files
2728
],
2829
},
2930
{
@@ -52,6 +53,7 @@ export default [
5253
'import/no-default-export': 'error',
5354
'no-await-in-loop': 'off',
5455
'@typescript-eslint/no-namespace': 'off',
56+
'sort-imports': 'off', // Disable sort-imports to avoid conflict with Biome
5557
},
5658
},
5759

@@ -69,6 +71,7 @@ export default [
6971
'@typescript-eslint/no-unused-vars': 'warn',
7072
'@typescript-eslint/consistent-type-definitions': 'warn',
7173
'@typescript-eslint/ban-types': 'warn',
74+
'sort-imports': 'off', // Disable sort-imports to avoid conflict with Biome
7275
},
7376
})),
7477

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
]
5656
},
5757
"devDependencies": {
58-
"@biomejs/biome": "1.9.4",
58+
"@biomejs/biome": "2.2.2",
5959
"@commitlint/cli": "19.8.1",
6060
"@commitlint/config-conventional": "19.8.1",
6161
"@manypkg/cli": "0.24.0",

0 commit comments

Comments
 (0)