Skip to content

Commit 4a2fbe5

Browse files
committed
chore(config): 更新 biome.json 配置并调整 package.json 格式
1 parent e8bcef9 commit 4a2fbe5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

biome.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
64
"vcs": {
75
"enabled": true,
86
"defaultBranch": "main",

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"main": "./dist/index.cjs",
1515
"module": "./dist/index.js",
1616
"types": "./dist/index.d.ts",
17-
"files": ["dist"],
17+
"files": [
18+
"dist"
19+
],
1820
"scripts": {
1921
"build": "rslib build",
2022
"dev": "rslib build --watch",

0 commit comments

Comments
 (0)