@biomejs/biome 1.6.3 → 1.6.4-nightly.abab451
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 +42 -13
- package/package.json +1 -1
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
"noUnusedImports": {
|
|
738
738
|
"description": "Disallow unused imports.",
|
|
739
739
|
"anyOf": [
|
|
740
|
-
{ "$ref": "#/definitions/
|
|
740
|
+
{ "$ref": "#/definitions/UnusedImportsConfiguration" },
|
|
741
741
|
{ "type": "null" }
|
|
742
742
|
]
|
|
743
743
|
},
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
]
|
|
1390
1390
|
},
|
|
1391
1391
|
"noColorInvalidHex": {
|
|
1392
|
-
"description": "
|
|
1392
|
+
"description": "[WIP] This rule hasn't been implemented yet.",
|
|
1393
1393
|
"anyOf": [
|
|
1394
1394
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1395
1395
|
{ "type": "null" }
|
|
@@ -1458,6 +1458,13 @@
|
|
|
1458
1458
|
{ "type": "null" }
|
|
1459
1459
|
]
|
|
1460
1460
|
},
|
|
1461
|
+
"noMisplacedAssertion": {
|
|
1462
|
+
"description": "Checks that the assertion function, for example expect, is placed inside an it() function call.",
|
|
1463
|
+
"anyOf": [
|
|
1464
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1465
|
+
{ "type": "null" }
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1461
1468
|
"noNamespaceImport": {
|
|
1462
1469
|
"description": "Disallow the use of namespace imports.",
|
|
1463
1470
|
"anyOf": [
|
|
@@ -1486,15 +1493,15 @@
|
|
|
1486
1493
|
{ "type": "null" }
|
|
1487
1494
|
]
|
|
1488
1495
|
},
|
|
1489
|
-
"
|
|
1490
|
-
"description": "
|
|
1496
|
+
"noSkippedTests": {
|
|
1497
|
+
"description": "Disallow disabled tests.",
|
|
1491
1498
|
"anyOf": [
|
|
1492
1499
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1493
1500
|
{ "type": "null" }
|
|
1494
1501
|
]
|
|
1495
1502
|
},
|
|
1496
|
-
"
|
|
1497
|
-
"description": "
|
|
1503
|
+
"noSuspiciousSemicolonInJsx": {
|
|
1504
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.",
|
|
1498
1505
|
"anyOf": [
|
|
1499
1506
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1500
1507
|
{ "type": "null" }
|
|
@@ -1572,16 +1579,14 @@
|
|
|
1572
1579
|
"properties": {
|
|
1573
1580
|
"attributePosition": {
|
|
1574
1581
|
"description": "The attribute position style.",
|
|
1575
|
-
"default": null,
|
|
1576
1582
|
"anyOf": [
|
|
1577
1583
|
{ "$ref": "#/definitions/AttributePosition" },
|
|
1578
1584
|
{ "type": "null" }
|
|
1579
1585
|
]
|
|
1580
1586
|
},
|
|
1581
|
-
"enabled": { "
|
|
1587
|
+
"enabled": { "type": ["boolean", "null"] },
|
|
1582
1588
|
"formatWithErrors": {
|
|
1583
1589
|
"description": "Stores whether formatting should be allowed to proceed if a given file has syntax errors",
|
|
1584
|
-
"default": null,
|
|
1585
1590
|
"type": ["boolean", "null"]
|
|
1586
1591
|
},
|
|
1587
1592
|
"indentSize": {
|
|
@@ -1609,7 +1614,6 @@
|
|
|
1609
1614
|
},
|
|
1610
1615
|
"lineWidth": {
|
|
1611
1616
|
"description": "What's the max width of a line. Defaults to 80.",
|
|
1612
|
-
"default": 80,
|
|
1613
1617
|
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
|
|
1614
1618
|
}
|
|
1615
1619
|
},
|
|
@@ -1840,10 +1844,9 @@
|
|
|
1840
1844
|
},
|
|
1841
1845
|
"RuleWithNoOptions": {
|
|
1842
1846
|
"type": "object",
|
|
1843
|
-
"required": ["level"
|
|
1847
|
+
"required": ["level"],
|
|
1844
1848
|
"properties": {
|
|
1845
|
-
"level": { "$ref": "#/definitions/RulePlainConfiguration" }
|
|
1846
|
-
"options": { "type": "null" }
|
|
1849
|
+
"level": { "$ref": "#/definitions/RulePlainConfiguration" }
|
|
1847
1850
|
},
|
|
1848
1851
|
"additionalProperties": false
|
|
1849
1852
|
},
|
|
@@ -1865,6 +1868,15 @@
|
|
|
1865
1868
|
},
|
|
1866
1869
|
"additionalProperties": false
|
|
1867
1870
|
},
|
|
1871
|
+
"RuleWithUnusedImportsOptions": {
|
|
1872
|
+
"type": "object",
|
|
1873
|
+
"required": ["level", "options"],
|
|
1874
|
+
"properties": {
|
|
1875
|
+
"level": { "$ref": "#/definitions/RulePlainConfiguration" },
|
|
1876
|
+
"options": { "$ref": "#/definitions/UnusedImportsOptions" }
|
|
1877
|
+
},
|
|
1878
|
+
"additionalProperties": false
|
|
1879
|
+
},
|
|
1868
1880
|
"RuleWithUtilityClassSortingOptions": {
|
|
1869
1881
|
"type": "object",
|
|
1870
1882
|
"required": ["level", "options"],
|
|
@@ -2690,6 +2702,23 @@
|
|
|
2690
2702
|
}
|
|
2691
2703
|
]
|
|
2692
2704
|
},
|
|
2705
|
+
"UnusedImportsConfiguration": {
|
|
2706
|
+
"anyOf": [
|
|
2707
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
2708
|
+
{ "$ref": "#/definitions/RuleWithUnusedImportsOptions" }
|
|
2709
|
+
]
|
|
2710
|
+
},
|
|
2711
|
+
"UnusedImportsOptions": {
|
|
2712
|
+
"type": "object",
|
|
2713
|
+
"required": ["ignoreReact"],
|
|
2714
|
+
"properties": {
|
|
2715
|
+
"ignoreReact": {
|
|
2716
|
+
"description": "Ignore `React` imports from the `react` package when set to `true`.",
|
|
2717
|
+
"type": "boolean"
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
"additionalProperties": false
|
|
2721
|
+
},
|
|
2693
2722
|
"UtilityClassSortingConfiguration": {
|
|
2694
2723
|
"anyOf": [
|
|
2695
2724
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/biome","version":"1.6.
|
|
1
|
+
{"name":"@biomejs/biome","version":"1.6.4-nightly.abab451","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.21.3"},"funding":{"type":"opencollective","url":"https://opencollective.com/biome"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.6.4-nightly.abab451","@biomejs/cli-win32-arm64":"1.6.4-nightly.abab451","@biomejs/cli-darwin-x64":"1.6.4-nightly.abab451","@biomejs/cli-darwin-arm64":"1.6.4-nightly.abab451","@biomejs/cli-linux-x64":"1.6.4-nightly.abab451","@biomejs/cli-linux-arm64":"1.6.4-nightly.abab451","@biomejs/cli-linux-x64-musl":"1.6.4-nightly.abab451","@biomejs/cli-linux-arm64-musl":"1.6.4-nightly.abab451"}}
|