@biomejs/biome 1.9.4 → 1.9.5-nightly.92879ae
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 +46 -2
- package/package.json +9 -9
|
@@ -1267,6 +1267,10 @@
|
|
|
1267
1267
|
"description": "Allowed cases for file names.",
|
|
1268
1268
|
"allOf": [{ "$ref": "#/definitions/FilenameCases" }]
|
|
1269
1269
|
},
|
|
1270
|
+
"match": {
|
|
1271
|
+
"description": "Regular expression to enforce",
|
|
1272
|
+
"anyOf": [{ "$ref": "#/definitions/Regex" }, { "type": "null" }]
|
|
1273
|
+
},
|
|
1270
1274
|
"requireAscii": {
|
|
1271
1275
|
"description": "If `false`, then non-ASCII characters are allowed.",
|
|
1272
1276
|
"type": "boolean"
|
|
@@ -2295,6 +2299,13 @@
|
|
|
2295
2299
|
{ "type": "null" }
|
|
2296
2300
|
]
|
|
2297
2301
|
},
|
|
2302
|
+
"noUselessUndefined": {
|
|
2303
|
+
"description": "Disallow the use of useless undefined.",
|
|
2304
|
+
"anyOf": [
|
|
2305
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
2306
|
+
{ "type": "null" }
|
|
2307
|
+
]
|
|
2308
|
+
},
|
|
2298
2309
|
"noValueAtRule": {
|
|
2299
2310
|
"description": "Disallow use of @value rule in css modules.",
|
|
2300
2311
|
"anyOf": [
|
|
@@ -3004,6 +3015,25 @@
|
|
|
3004
3015
|
},
|
|
3005
3016
|
"additionalProperties": false
|
|
3006
3017
|
},
|
|
3018
|
+
"RuleWithUseSelfClosingElementsOptions": {
|
|
3019
|
+
"type": "object",
|
|
3020
|
+
"required": ["level"],
|
|
3021
|
+
"properties": {
|
|
3022
|
+
"fix": {
|
|
3023
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
3024
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
3025
|
+
},
|
|
3026
|
+
"level": {
|
|
3027
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
3028
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
3029
|
+
},
|
|
3030
|
+
"options": {
|
|
3031
|
+
"description": "Rule's options",
|
|
3032
|
+
"allOf": [{ "$ref": "#/definitions/UseSelfClosingElementsOptions" }]
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"additionalProperties": false
|
|
3036
|
+
},
|
|
3007
3037
|
"RuleWithUseValidAutocompleteOptions": {
|
|
3008
3038
|
"type": "object",
|
|
3009
3039
|
"required": ["level"],
|
|
@@ -3491,7 +3521,7 @@
|
|
|
3491
3521
|
"useSelfClosingElements": {
|
|
3492
3522
|
"description": "Prevent extra closing tags for components without children",
|
|
3493
3523
|
"anyOf": [
|
|
3494
|
-
{ "$ref": "#/definitions/
|
|
3524
|
+
{ "$ref": "#/definitions/UseSelfClosingElementsConfiguration" },
|
|
3495
3525
|
{ "type": "null" }
|
|
3496
3526
|
]
|
|
3497
3527
|
},
|
|
@@ -3910,7 +3940,7 @@
|
|
|
3910
3940
|
"noPrototypeBuiltins": {
|
|
3911
3941
|
"description": "Disallow direct use of Object.prototype builtins.",
|
|
3912
3942
|
"anyOf": [
|
|
3913
|
-
{ "$ref": "#/definitions/
|
|
3943
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
3914
3944
|
{ "type": "null" }
|
|
3915
3945
|
]
|
|
3916
3946
|
},
|
|
@@ -4166,6 +4196,20 @@
|
|
|
4166
4196
|
},
|
|
4167
4197
|
"additionalProperties": false
|
|
4168
4198
|
},
|
|
4199
|
+
"UseSelfClosingElementsConfiguration": {
|
|
4200
|
+
"anyOf": [
|
|
4201
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
4202
|
+
{ "$ref": "#/definitions/RuleWithUseSelfClosingElementsOptions" }
|
|
4203
|
+
]
|
|
4204
|
+
},
|
|
4205
|
+
"UseSelfClosingElementsOptions": {
|
|
4206
|
+
"description": "Options for the `useSelfClosingElements` rule.",
|
|
4207
|
+
"type": "object",
|
|
4208
|
+
"properties": {
|
|
4209
|
+
"ignoreHtmlElements": { "default": false, "type": "boolean" }
|
|
4210
|
+
},
|
|
4211
|
+
"additionalProperties": false
|
|
4212
|
+
},
|
|
4169
4213
|
"UseValidAutocompleteConfiguration": {
|
|
4170
4214
|
"anyOf": [
|
|
4171
4215
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5-nightly.92879ae",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"provenance": true
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@biomejs/cli-win32-x64": "1.9.
|
|
54
|
-
"@biomejs/cli-win32-arm64": "1.9.
|
|
55
|
-
"@biomejs/cli-darwin-x64": "1.9.
|
|
56
|
-
"@biomejs/cli-darwin-arm64": "1.9.
|
|
57
|
-
"@biomejs/cli-linux-x64": "1.9.
|
|
58
|
-
"@biomejs/cli-linux-arm64": "1.9.
|
|
59
|
-
"@biomejs/cli-linux-x64-musl": "1.9.
|
|
60
|
-
"@biomejs/cli-linux-arm64-musl": "1.9.
|
|
53
|
+
"@biomejs/cli-win32-x64": "1.9.5-nightly.92879ae",
|
|
54
|
+
"@biomejs/cli-win32-arm64": "1.9.5-nightly.92879ae",
|
|
55
|
+
"@biomejs/cli-darwin-x64": "1.9.5-nightly.92879ae",
|
|
56
|
+
"@biomejs/cli-darwin-arm64": "1.9.5-nightly.92879ae",
|
|
57
|
+
"@biomejs/cli-linux-x64": "1.9.5-nightly.92879ae",
|
|
58
|
+
"@biomejs/cli-linux-arm64": "1.9.5-nightly.92879ae",
|
|
59
|
+
"@biomejs/cli-linux-x64-musl": "1.9.5-nightly.92879ae",
|
|
60
|
+
"@biomejs/cli-linux-arm64-musl": "1.9.5-nightly.92879ae"
|
|
61
61
|
}
|
|
62
62
|
}
|