@biomejs/biome 1.6.2 → 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 +48 -8
- 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
|
},
|
|
@@ -1000,7 +1000,7 @@
|
|
|
1000
1000
|
"type": "object",
|
|
1001
1001
|
"properties": {
|
|
1002
1002
|
"attributePosition": {
|
|
1003
|
-
"description": "The attribute position style. By default auto.",
|
|
1003
|
+
"description": "The attribute position style in HTMLish languages. By default auto.",
|
|
1004
1004
|
"anyOf": [
|
|
1005
1005
|
{ "$ref": "#/definitions/AttributePosition" },
|
|
1006
1006
|
{ "type": "null" }
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
]
|
|
1136
1136
|
},
|
|
1137
1137
|
"attributePosition": {
|
|
1138
|
-
"description": "The attribute position style in
|
|
1138
|
+
"description": "The attribute position style in jsx elements. Defaults to auto.",
|
|
1139
1139
|
"anyOf": [
|
|
1140
1140
|
{ "$ref": "#/definitions/AttributePosition" },
|
|
1141
1141
|
{ "type": "null" }
|
|
@@ -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" }
|
|
@@ -1430,6 +1430,13 @@
|
|
|
1430
1430
|
{ "type": "null" }
|
|
1431
1431
|
]
|
|
1432
1432
|
},
|
|
1433
|
+
"noEvolvingAny": {
|
|
1434
|
+
"description": "Disallow variables from evolving into any type through reassignments.",
|
|
1435
|
+
"anyOf": [
|
|
1436
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1437
|
+
{ "type": "null" }
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1433
1440
|
"noExcessiveNestedTestSuites": {
|
|
1434
1441
|
"description": "This rule enforces a maximum depth to nested describe() in test files.",
|
|
1435
1442
|
"anyOf": [
|
|
@@ -1451,6 +1458,13 @@
|
|
|
1451
1458
|
{ "type": "null" }
|
|
1452
1459
|
]
|
|
1453
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
|
+
},
|
|
1454
1468
|
"noNamespaceImport": {
|
|
1455
1469
|
"description": "Disallow the use of namespace imports.",
|
|
1456
1470
|
"anyOf": [
|
|
@@ -1479,15 +1493,15 @@
|
|
|
1479
1493
|
{ "type": "null" }
|
|
1480
1494
|
]
|
|
1481
1495
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"description": "
|
|
1496
|
+
"noSkippedTests": {
|
|
1497
|
+
"description": "Disallow disabled tests.",
|
|
1484
1498
|
"anyOf": [
|
|
1485
1499
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1486
1500
|
{ "type": "null" }
|
|
1487
1501
|
]
|
|
1488
1502
|
},
|
|
1489
|
-
"
|
|
1490
|
-
"description": "
|
|
1503
|
+
"noSuspiciousSemicolonInJsx": {
|
|
1504
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.",
|
|
1491
1505
|
"anyOf": [
|
|
1492
1506
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1493
1507
|
{ "type": "null" }
|
|
@@ -1858,6 +1872,15 @@
|
|
|
1858
1872
|
},
|
|
1859
1873
|
"additionalProperties": false
|
|
1860
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
|
+
},
|
|
1861
1884
|
"RuleWithUtilityClassSortingOptions": {
|
|
1862
1885
|
"type": "object",
|
|
1863
1886
|
"required": ["level", "options"],
|
|
@@ -2683,6 +2706,23 @@
|
|
|
2683
2706
|
}
|
|
2684
2707
|
]
|
|
2685
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
|
+
},
|
|
2686
2726
|
"UtilityClassSortingConfiguration": {
|
|
2687
2727
|
"anyOf": [
|
|
2688
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"}}
|