@biomejs/biome 1.6.3 → 1.6.4-nightly.a995ada
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 +39 -6
- 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" }
|
|
@@ -1865,6 +1872,15 @@
|
|
|
1865
1872
|
},
|
|
1866
1873
|
"additionalProperties": false
|
|
1867
1874
|
},
|
|
1875
|
+
"RuleWithUnusedImportsOptions": {
|
|
1876
|
+
"type": "object",
|
|
1877
|
+
"required": ["level", "options"],
|
|
1878
|
+
"properties": {
|
|
1879
|
+
"level": { "$ref": "#/definitions/RulePlainConfiguration" },
|
|
1880
|
+
"options": { "$ref": "#/definitions/UnusedImportsOptions" }
|
|
1881
|
+
},
|
|
1882
|
+
"additionalProperties": false
|
|
1883
|
+
},
|
|
1868
1884
|
"RuleWithUtilityClassSortingOptions": {
|
|
1869
1885
|
"type": "object",
|
|
1870
1886
|
"required": ["level", "options"],
|
|
@@ -2690,6 +2706,23 @@
|
|
|
2690
2706
|
}
|
|
2691
2707
|
]
|
|
2692
2708
|
},
|
|
2709
|
+
"UnusedImportsConfiguration": {
|
|
2710
|
+
"anyOf": [
|
|
2711
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
2712
|
+
{ "$ref": "#/definitions/RuleWithUnusedImportsOptions" }
|
|
2713
|
+
]
|
|
2714
|
+
},
|
|
2715
|
+
"UnusedImportsOptions": {
|
|
2716
|
+
"type": "object",
|
|
2717
|
+
"required": ["ignoreReact"],
|
|
2718
|
+
"properties": {
|
|
2719
|
+
"ignoreReact": {
|
|
2720
|
+
"description": "Ignore `React` imports from the `react` package when set to `true`.",
|
|
2721
|
+
"type": "boolean"
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
"additionalProperties": false
|
|
2725
|
+
},
|
|
2693
2726
|
"UtilityClassSortingConfiguration": {
|
|
2694
2727
|
"anyOf": [
|
|
2695
2728
|
{ "$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.a995ada","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.a995ada","@biomejs/cli-win32-arm64":"1.6.4-nightly.a995ada","@biomejs/cli-darwin-x64":"1.6.4-nightly.a995ada","@biomejs/cli-darwin-arm64":"1.6.4-nightly.a995ada","@biomejs/cli-linux-x64":"1.6.4-nightly.a995ada","@biomejs/cli-linux-arm64":"1.6.4-nightly.a995ada","@biomejs/cli-linux-x64-musl":"1.6.4-nightly.a995ada","@biomejs/cli-linux-arm64-musl":"1.6.4-nightly.a995ada"}}
|