Skip to content

Commit 7a38322

Browse files
committed
chore: 更新 biome.json 配置,修改 schema 路径,调整导入组织和文件包含设置,禁用 noExplicitAny 规则
1 parent 84e9356 commit 7a38322

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

biome.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3-
"organizeImports": {
4-
"enabled": true
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
4+
"files": {
5+
"includes": ["src/**"]
56
},
67
"vcs": {
78
"enabled": true,
@@ -25,7 +26,10 @@
2526
"linter": {
2627
"enabled": true,
2728
"rules": {
28-
"recommended": true
29+
"recommended": true,
30+
"suspicious": {
31+
"noExplicitAny": "off"
32+
}
2933
}
3034
}
3135
}

0 commit comments

Comments
 (0)