@biomejs/biome 1.5.2 → 1.5.3-nightly.24fcf19
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 +44 -5
- package/package.json +1 -1
|
@@ -1303,6 +1303,13 @@
|
|
|
1303
1303
|
{ "type": "null" }
|
|
1304
1304
|
]
|
|
1305
1305
|
},
|
|
1306
|
+
"noFocusedTests": {
|
|
1307
|
+
"description": "Disallow focused tests.",
|
|
1308
|
+
"anyOf": [
|
|
1309
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1310
|
+
{ "type": "null" }
|
|
1311
|
+
]
|
|
1312
|
+
},
|
|
1306
1313
|
"noGlobalAssign": {
|
|
1307
1314
|
"description": "Disallow assignments to native objects and read-only global variables.",
|
|
1308
1315
|
"anyOf": [
|
|
@@ -1338,6 +1345,13 @@
|
|
|
1338
1345
|
{ "type": "null" }
|
|
1339
1346
|
]
|
|
1340
1347
|
},
|
|
1348
|
+
"noSkippedTests": {
|
|
1349
|
+
"description": "Disallow disabled tests.",
|
|
1350
|
+
"anyOf": [
|
|
1351
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1352
|
+
{ "type": "null" }
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1341
1355
|
"noThenProperty": {
|
|
1342
1356
|
"description": "Disallow then property.",
|
|
1343
1357
|
"anyOf": [
|
|
@@ -1453,6 +1467,13 @@
|
|
|
1453
1467
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1454
1468
|
{ "type": "null" }
|
|
1455
1469
|
]
|
|
1470
|
+
},
|
|
1471
|
+
"useSortedClasses": {
|
|
1472
|
+
"description": "Enforce the sorting of CSS utility classes.",
|
|
1473
|
+
"anyOf": [
|
|
1474
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1475
|
+
{ "type": "null" }
|
|
1476
|
+
]
|
|
1456
1477
|
}
|
|
1457
1478
|
}
|
|
1458
1479
|
},
|
|
@@ -1666,6 +1687,10 @@
|
|
|
1666
1687
|
{
|
|
1667
1688
|
"description": "Options for `useValidAriaRole` rule",
|
|
1668
1689
|
"allOf": [{ "$ref": "#/definitions/ValidAriaRoleOptions" }]
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"description": "Options for `useSortedClasses` rule",
|
|
1693
|
+
"allOf": [{ "$ref": "#/definitions/UtilityClassSortingOptions" }]
|
|
1669
1694
|
}
|
|
1670
1695
|
]
|
|
1671
1696
|
},
|
|
@@ -1674,10 +1699,11 @@
|
|
|
1674
1699
|
"RestrictedGlobalsOptions": {
|
|
1675
1700
|
"description": "Options for the rule `noRestrictedGlobals`.",
|
|
1676
1701
|
"type": "object",
|
|
1702
|
+
"required": ["deniedGlobals"],
|
|
1677
1703
|
"properties": {
|
|
1678
1704
|
"deniedGlobals": {
|
|
1679
1705
|
"description": "A list of names that should trigger the rule",
|
|
1680
|
-
"type":
|
|
1706
|
+
"type": "array",
|
|
1681
1707
|
"items": { "type": "string" }
|
|
1682
1708
|
}
|
|
1683
1709
|
},
|
|
@@ -2373,14 +2399,27 @@
|
|
|
2373
2399
|
}
|
|
2374
2400
|
]
|
|
2375
2401
|
},
|
|
2376
|
-
"
|
|
2402
|
+
"UtilityClassSortingOptions": {
|
|
2377
2403
|
"type": "object",
|
|
2378
|
-
"required": ["allowedInvalidRoles", "ignoreNonDom"],
|
|
2379
2404
|
"properties": {
|
|
2380
|
-
"
|
|
2381
|
-
"
|
|
2405
|
+
"attributes": {
|
|
2406
|
+
"description": "Additional attributes that will be sorted.",
|
|
2407
|
+
"type": ["array", "null"],
|
|
2382
2408
|
"items": { "type": "string" }
|
|
2383
2409
|
},
|
|
2410
|
+
"functions": {
|
|
2411
|
+
"description": "Names of the functions or tagged templates that will be sorted.",
|
|
2412
|
+
"type": ["array", "null"],
|
|
2413
|
+
"items": { "type": "string" }
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2416
|
+
"additionalProperties": false
|
|
2417
|
+
},
|
|
2418
|
+
"ValidAriaRoleOptions": {
|
|
2419
|
+
"type": "object",
|
|
2420
|
+
"required": ["allowInvalidRoles", "ignoreNonDom"],
|
|
2421
|
+
"properties": {
|
|
2422
|
+
"allowInvalidRoles": { "type": "array", "items": { "type": "string" } },
|
|
2384
2423
|
"ignoreNonDom": { "type": "boolean" }
|
|
2385
2424
|
},
|
|
2386
2425
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/biome","version":"1.5.
|
|
1
|
+
{"name":"@biomejs/biome","version":"1.5.3-nightly.24fcf19","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT OR Apache-2.0","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md","LICENSE-APACHE","LICENSE-MIT","ROME-LICENSE-MIT"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"funding":{"type":"opencollective","url":"https://opencollective.com/biome"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.5.3-nightly.24fcf19","@biomejs/cli-win32-arm64":"1.5.3-nightly.24fcf19","@biomejs/cli-darwin-x64":"1.5.3-nightly.24fcf19","@biomejs/cli-darwin-arm64":"1.5.3-nightly.24fcf19","@biomejs/cli-linux-x64":"1.5.3-nightly.24fcf19","@biomejs/cli-linux-arm64":"1.5.3-nightly.24fcf19","@biomejs/cli-linux-x64-musl":"1.5.3-nightly.24fcf19","@biomejs/cli-linux-arm64-musl":"1.5.3-nightly.24fcf19"}}
|