@biomejs/biome 2.2.6 → 2.2.7
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/configuration_schema.json +40 -1
- package/package.json +9 -9
|
@@ -3128,6 +3128,23 @@
|
|
|
3128
3128
|
"type": "object",
|
|
3129
3129
|
"additionalProperties": false
|
|
3130
3130
|
},
|
|
3131
|
+
"NoEmptySourceConfiguration": {
|
|
3132
|
+
"anyOf": [
|
|
3133
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3134
|
+
{ "$ref": "#/definitions/RuleWithNoEmptySourceOptions" }
|
|
3135
|
+
]
|
|
3136
|
+
},
|
|
3137
|
+
"NoEmptySourceOptions": {
|
|
3138
|
+
"type": "object",
|
|
3139
|
+
"properties": {
|
|
3140
|
+
"allowComments": {
|
|
3141
|
+
"description": "Whether comments are considered meaningful",
|
|
3142
|
+
"default": false,
|
|
3143
|
+
"type": "boolean"
|
|
3144
|
+
}
|
|
3145
|
+
},
|
|
3146
|
+
"additionalProperties": false
|
|
3147
|
+
},
|
|
3131
3148
|
"NoEmptyTypeParametersConfiguration": {
|
|
3132
3149
|
"anyOf": [
|
|
3133
3150
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -3189,7 +3206,7 @@
|
|
|
3189
3206
|
"description": "The maximum number of lines allowed in a function body.",
|
|
3190
3207
|
"default": 50,
|
|
3191
3208
|
"type": "integer",
|
|
3192
|
-
"format": "
|
|
3209
|
+
"format": "uint16",
|
|
3193
3210
|
"minimum": 1.0
|
|
3194
3211
|
},
|
|
3195
3212
|
"skipBlankLines": {
|
|
@@ -5003,6 +5020,13 @@
|
|
|
5003
5020
|
{ "type": "null" }
|
|
5004
5021
|
]
|
|
5005
5022
|
},
|
|
5023
|
+
"noEmptySource": {
|
|
5024
|
+
"description": "Disallow empty sources.",
|
|
5025
|
+
"anyOf": [
|
|
5026
|
+
{ "$ref": "#/definitions/NoEmptySourceConfiguration" },
|
|
5027
|
+
{ "type": "null" }
|
|
5028
|
+
]
|
|
5029
|
+
},
|
|
5006
5030
|
"noFloatingPromises": {
|
|
5007
5031
|
"description": "Require Promise-like statements to be handled appropriately.",
|
|
5008
5032
|
"anyOf": [
|
|
@@ -6959,6 +6983,21 @@
|
|
|
6959
6983
|
},
|
|
6960
6984
|
"additionalProperties": false
|
|
6961
6985
|
},
|
|
6986
|
+
"RuleWithNoEmptySourceOptions": {
|
|
6987
|
+
"type": "object",
|
|
6988
|
+
"required": ["level"],
|
|
6989
|
+
"properties": {
|
|
6990
|
+
"level": {
|
|
6991
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
6992
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
6993
|
+
},
|
|
6994
|
+
"options": {
|
|
6995
|
+
"description": "Rule's options",
|
|
6996
|
+
"allOf": [{ "$ref": "#/definitions/NoEmptySourceOptions" }]
|
|
6997
|
+
}
|
|
6998
|
+
},
|
|
6999
|
+
"additionalProperties": false
|
|
7000
|
+
},
|
|
6962
7001
|
"RuleWithNoEmptyTypeParametersOptions": {
|
|
6963
7002
|
"type": "object",
|
|
6964
7003
|
"required": ["level"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"provenance": true
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@biomejs/cli-win32-x64": "2.2.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.2.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.2.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.2.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.2.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.2.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.2.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.2.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.2.7",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.2.7",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.2.7",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.2.7",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.2.7",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.2.7",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.2.7",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.2.7"
|
|
57
57
|
}
|
|
58
58
|
}
|