@biomejs/biome 1.8.1 → 1.8.2
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 +55 -1
- package/package.json +9 -9
|
@@ -1734,6 +1734,13 @@
|
|
|
1734
1734
|
{ "type": "null" }
|
|
1735
1735
|
]
|
|
1736
1736
|
},
|
|
1737
|
+
"noInvalidDirectionInLinearGradient": {
|
|
1738
|
+
"description": "Disallow non-standard direction values for linear gradient functions.",
|
|
1739
|
+
"anyOf": [
|
|
1740
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1741
|
+
{ "type": "null" }
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1737
1744
|
"noInvalidPositionAtImportRule": {
|
|
1738
1745
|
"description": "Disallow the use of @import at-rules in invalid positions.",
|
|
1739
1746
|
"anyOf": [
|
|
@@ -1776,6 +1783,13 @@
|
|
|
1776
1783
|
{ "type": "null" }
|
|
1777
1784
|
]
|
|
1778
1785
|
},
|
|
1786
|
+
"noSubstr": {
|
|
1787
|
+
"description": "Enforce the use of String.slice() over String.substr() and String.substring().",
|
|
1788
|
+
"anyOf": [
|
|
1789
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
1790
|
+
{ "type": "null" }
|
|
1791
|
+
]
|
|
1792
|
+
},
|
|
1779
1793
|
"noUndeclaredDependencies": {
|
|
1780
1794
|
"description": "Disallow the use of dependencies that aren't specified in the package.json.",
|
|
1781
1795
|
"anyOf": [
|
|
@@ -1879,7 +1893,7 @@
|
|
|
1879
1893
|
]
|
|
1880
1894
|
},
|
|
1881
1895
|
"useConsistentGridAreas": {
|
|
1882
|
-
"description": "
|
|
1896
|
+
"description": "Disallows invalid named grid areas in CSS Grid Layouts.",
|
|
1883
1897
|
"anyOf": [
|
|
1884
1898
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1885
1899
|
{ "type": "null" }
|
|
@@ -1982,6 +1996,13 @@
|
|
|
1982
1996
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1983
1997
|
{ "type": "null" }
|
|
1984
1998
|
]
|
|
1999
|
+
},
|
|
2000
|
+
"useValidAutocomplete": {
|
|
2001
|
+
"description": "Use valid values for the autocomplete attribute on input elements.",
|
|
2002
|
+
"anyOf": [
|
|
2003
|
+
{ "$ref": "#/definitions/UseValidAutocompleteConfiguration" },
|
|
2004
|
+
{ "type": "null" }
|
|
2005
|
+
]
|
|
1985
2006
|
}
|
|
1986
2007
|
},
|
|
1987
2008
|
"additionalProperties": false
|
|
@@ -2408,6 +2429,21 @@
|
|
|
2408
2429
|
},
|
|
2409
2430
|
"additionalProperties": false
|
|
2410
2431
|
},
|
|
2432
|
+
"RuleWithUseValidAutocompleteOptions": {
|
|
2433
|
+
"type": "object",
|
|
2434
|
+
"required": ["level", "options"],
|
|
2435
|
+
"properties": {
|
|
2436
|
+
"level": {
|
|
2437
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
2438
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
2439
|
+
},
|
|
2440
|
+
"options": {
|
|
2441
|
+
"description": "Rule's options",
|
|
2442
|
+
"allOf": [{ "$ref": "#/definitions/UseValidAutocompleteOptions" }]
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
"additionalProperties": false
|
|
2446
|
+
},
|
|
2411
2447
|
"RuleWithUtilityClassSortingOptions": {
|
|
2412
2448
|
"type": "object",
|
|
2413
2449
|
"required": ["level", "options"],
|
|
@@ -3314,6 +3350,24 @@
|
|
|
3314
3350
|
}
|
|
3315
3351
|
]
|
|
3316
3352
|
},
|
|
3353
|
+
"UseValidAutocompleteConfiguration": {
|
|
3354
|
+
"anyOf": [
|
|
3355
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3356
|
+
{ "$ref": "#/definitions/RuleWithUseValidAutocompleteOptions" }
|
|
3357
|
+
]
|
|
3358
|
+
},
|
|
3359
|
+
"UseValidAutocompleteOptions": {
|
|
3360
|
+
"type": "object",
|
|
3361
|
+
"required": ["inputComponents"],
|
|
3362
|
+
"properties": {
|
|
3363
|
+
"inputComponents": {
|
|
3364
|
+
"description": "`input` like custom components that should be checked.",
|
|
3365
|
+
"type": "array",
|
|
3366
|
+
"items": { "type": "string" }
|
|
3367
|
+
}
|
|
3368
|
+
},
|
|
3369
|
+
"additionalProperties": false
|
|
3370
|
+
},
|
|
3317
3371
|
"UtilityClassSortingConfiguration": {
|
|
3318
3372
|
"anyOf": [
|
|
3319
3373
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"url": "https://opencollective.com/biome"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@biomejs/cli-win32-x64": "1.8.
|
|
46
|
-
"@biomejs/cli-win32-arm64": "1.8.
|
|
47
|
-
"@biomejs/cli-darwin-x64": "1.8.
|
|
48
|
-
"@biomejs/cli-darwin-arm64": "1.8.
|
|
49
|
-
"@biomejs/cli-linux-x64": "1.8.
|
|
50
|
-
"@biomejs/cli-linux-arm64": "1.8.
|
|
51
|
-
"@biomejs/cli-linux-x64-musl": "1.8.
|
|
52
|
-
"@biomejs/cli-linux-arm64-musl": "1.8.
|
|
45
|
+
"@biomejs/cli-win32-x64": "1.8.2",
|
|
46
|
+
"@biomejs/cli-win32-arm64": "1.8.2",
|
|
47
|
+
"@biomejs/cli-darwin-x64": "1.8.2",
|
|
48
|
+
"@biomejs/cli-darwin-arm64": "1.8.2",
|
|
49
|
+
"@biomejs/cli-linux-x64": "1.8.2",
|
|
50
|
+
"@biomejs/cli-linux-arm64": "1.8.2",
|
|
51
|
+
"@biomejs/cli-linux-x64-musl": "1.8.2",
|
|
52
|
+
"@biomejs/cli-linux-arm64-musl": "1.8.2"
|
|
53
53
|
}
|
|
54
54
|
}
|