@empjs/biome-config 2.0.0-beta.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biome.jsonc +3 -1
- package/package.json +2 -2
package/biome.jsonc
CHANGED
|
@@ -117,13 +117,15 @@
|
|
|
117
117
|
"useHookAtTopLevel": "off", // 关闭:Hook 必须在顶层调用
|
|
118
118
|
"noUnusedVariables": "off",
|
|
119
119
|
"noUnusedImports": "off",
|
|
120
|
-
"noUnusedFunctionParameters": "off"
|
|
120
|
+
"noUnusedFunctionParameters": "off",
|
|
121
|
+
"noUnusedPrivateClassMembers": "off"
|
|
121
122
|
},
|
|
122
123
|
"nursery": {
|
|
123
124
|
"noNestedComponentDefinitions": "off"
|
|
124
125
|
},
|
|
125
126
|
// 性能规则
|
|
126
127
|
"performance": {
|
|
128
|
+
"noAccumulatingSpread": "off",
|
|
127
129
|
"noDelete": "off" // 关闭:禁止使用 delete 操作符
|
|
128
130
|
},
|
|
129
131
|
// 启用推荐规则集
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empjs/biome-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"main": "biome.jsonc",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@biomejs/biome": "^2.
|
|
29
|
+
"@biomejs/biome": "^2.1.2"
|
|
30
30
|
}
|
|
31
31
|
}
|