@empjs/biome-config 2.3.0 → 4.0.0-alpha.1
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 -3
- package/package.json +5 -2
package/biome.jsonc
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
// 标记为嵌套配置,不是根配置
|
|
3
3
|
"root": false,
|
|
4
|
-
|
|
5
|
-
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
|
|
4
|
+
"$schema": "node_modules/@biomejs/biome/schema.json",
|
|
6
5
|
// 文件处理配置
|
|
7
6
|
"files": {
|
|
8
7
|
// 忽略未知文件类型的错误
|
|
@@ -116,7 +115,8 @@
|
|
|
116
115
|
"useOptionalChain": "off", // 关闭:强制使用可选链
|
|
117
116
|
"useLiteralKeys": "off", // 关闭:强制使用字面量键
|
|
118
117
|
"noUselessTernary": "off", // 关闭:禁止无用的三元表达式
|
|
119
|
-
"noUselessFragments": "off"
|
|
118
|
+
"noUselessFragments": "off",
|
|
119
|
+
"noThisInStatic": "off"
|
|
120
120
|
},
|
|
121
121
|
// 正确性规则
|
|
122
122
|
"correctness": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empjs/biome-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
4
4
|
"main": "biome.jsonc",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@biomejs/biome": "2.3.
|
|
29
|
+
"@biomejs/biome": "2.3.13"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
30
33
|
}
|
|
31
34
|
}
|