Skip to content

Commit c4a94c5

Browse files
committed
update biome
1 parent b10994e commit c4a94c5

3 files changed

Lines changed: 52 additions & 53 deletions

File tree

biome.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"defaultBranch": "main",
7+
"useIgnoreFile": true
8+
},
39
"formatter": {
410
"lineEnding": "lf",
511
"indentStyle": "tab",
612
"lineWidth": 90,
713
"formatWithErrors": true
814
},
9-
"organizeImports": {
10-
"enabled": false
11-
},
1215
"javascript": {
1316
"formatter": {
1417
"quoteStyle": "double",
1518
"semicolons": "asNeeded"
1619
}
1720
},
18-
"linter": {
19-
"enabled": false
20-
},
21-
"vcs": {
22-
"enabled": true,
23-
"clientKind": "git",
24-
"defaultBranch": "main",
25-
"useIgnoreFile": true
26-
}
21+
22+
"assist": { "actions": { "source": { "organizeImports": "off" } } },
23+
"linter": { "enabled": false }
2724
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"pre-commit": "node_modules/.bin/nano-staged"
1515
},
1616
"nano-staged": {
17-
"*.{js,cjs,mjs,ts,cts,mts,json}": ["biome check --fix"]
17+
"*.{js,cjs,mjs,ts,cts,mts,json}": [
18+
"biome check --fix"
19+
]
1820
},
1921
"scripts": {
2022
"build": "tsdown",
@@ -33,7 +35,7 @@
3335
},
3436
"devDependencies": {
3537
"@antfu/eslint-config": "4.16.1",
36-
"@biomejs/biome": "1.9.4",
38+
"@biomejs/biome": "2.0.5",
3739
"@hono/node-server": "1.14.4",
3840
"@hono/standard-validator": "0.1.2",
3941
"@standard-schema/spec": "1.0.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)