Skip to content

Commit 85ff39f

Browse files
committed
Use biome 2
1 parent 7d5d1f1 commit 85ff39f

4 files changed

Lines changed: 20 additions & 21 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"editor.codeActionsOnSave": {
33
"source.fixAll.biome": "explicit",
44
"source.fixAll.eslint": "explicit",
5-
"source.organizeImports.biome": "explicit"
5+
"source.biome": "explicit"
66
},
77
"editor.defaultFormatter": "biomejs.biome",
88
"editor.formatOnSave": true,

biome.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"assists": {
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"assist": {
44
"actions": {
55
"source": {
6-
"sortJsxProps": "on",
7-
"useSortedKeys": "on"
6+
"organizeImports": "on",
7+
"useSortedAttributes": "on",
8+
"useSortedKeys": "on",
9+
"useSortedProperties": "on"
810
}
911
}
1012
},
1113
"files": {
12-
"ignore": [".next", "package.json"],
13-
"ignoreUnknown": false
14+
"ignoreUnknown": false,
15+
"includes": ["!.next", "!package.json"]
1416
},
1517
"formatter": {
1618
"enabled": true,
@@ -37,9 +39,6 @@
3739
}
3840
}
3941
},
40-
"organizeImports": {
41-
"enabled": true
42-
},
4342
"vcs": {
4443
"clientKind": "git",
4544
"enabled": false,

bun.lock

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"node": "22.12.0"
1919
},
2020
"devDependencies": {
21-
"@biomejs/biome": "1.9.4",
21+
"@biomejs/biome": "2.0.6",
2222
"@eslint/eslintrc": "3.2.0",
2323
"@types/node": "22.10.7",
2424
"@types/react": "19.0.7",

0 commit comments

Comments
 (0)