@biomejs/biome 1.6.4 → 1.7.0
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 +132 -103
- package/package.json +1 -1
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
125
|
"noHeaderScope": {
|
|
126
|
-
"description": "The scope prop should be used only on
|
|
126
|
+
"description": "The scope prop should be used only on \\<th> elements.",
|
|
127
127
|
"anyOf": [
|
|
128
128
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
129
129
|
{ "type": "null" }
|
|
@@ -328,6 +328,13 @@
|
|
|
328
328
|
{ "type": "null" }
|
|
329
329
|
]
|
|
330
330
|
},
|
|
331
|
+
"noExcessiveNestedTestSuites": {
|
|
332
|
+
"description": "This rule enforces a maximum depth to nested describe() in test files.",
|
|
333
|
+
"anyOf": [
|
|
334
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
335
|
+
{ "type": "null" }
|
|
336
|
+
]
|
|
337
|
+
},
|
|
331
338
|
"noExtraBooleanCast": {
|
|
332
339
|
"description": "Disallow unnecessary boolean casts",
|
|
333
340
|
"anyOf": [
|
|
@@ -419,6 +426,13 @@
|
|
|
419
426
|
{ "type": "null" }
|
|
420
427
|
]
|
|
421
428
|
},
|
|
429
|
+
"noUselessTernary": {
|
|
430
|
+
"description": "Disallow ternary operators when simpler alternatives exist.",
|
|
431
|
+
"anyOf": [
|
|
432
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
433
|
+
{ "type": "null" }
|
|
434
|
+
]
|
|
435
|
+
},
|
|
422
436
|
"noUselessThisAlias": {
|
|
423
437
|
"description": "Disallow useless this aliasing.",
|
|
424
438
|
"anyOf": [
|
|
@@ -801,6 +815,13 @@
|
|
|
801
815
|
{ "type": "null" }
|
|
802
816
|
]
|
|
803
817
|
},
|
|
818
|
+
"useJsxKeyInIterable": {
|
|
819
|
+
"description": "Disallow missing key props in iterators/collection literals.",
|
|
820
|
+
"anyOf": [
|
|
821
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
822
|
+
{ "type": "null" }
|
|
823
|
+
]
|
|
824
|
+
},
|
|
804
825
|
"useValidForDirection": {
|
|
805
826
|
"description": "Enforce \"for\" loop update clause moving the counter in the right direction.",
|
|
806
827
|
"anyOf": [
|
|
@@ -1107,6 +1128,10 @@
|
|
|
1107
1128
|
"description": "A list of global bindings that should be ignored by the analyzers\n\nIf defined here, they should not emit diagnostics.",
|
|
1108
1129
|
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
|
|
1109
1130
|
},
|
|
1131
|
+
"jsx_runtime": {
|
|
1132
|
+
"description": "Indicates the type of runtime or transformation used for interpreting JSX.",
|
|
1133
|
+
"anyOf": [{ "$ref": "#/definitions/JsxRuntime" }, { "type": "null" }]
|
|
1134
|
+
},
|
|
1110
1135
|
"organize_imports": {
|
|
1111
1136
|
"anyOf": [
|
|
1112
1137
|
{ "$ref": "#/definitions/JavascriptOrganizeImports" },
|
|
@@ -1301,6 +1326,21 @@
|
|
|
1301
1326
|
},
|
|
1302
1327
|
"additionalProperties": false
|
|
1303
1328
|
},
|
|
1329
|
+
"JsxRuntime": {
|
|
1330
|
+
"description": "Indicates the type of runtime or transformation used for interpreting JSX.",
|
|
1331
|
+
"oneOf": [
|
|
1332
|
+
{
|
|
1333
|
+
"description": "Indicates a modern or native JSX environment, that doesn't require special handling by Biome.",
|
|
1334
|
+
"type": "string",
|
|
1335
|
+
"enum": ["Transparent"]
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"description": "Indicates a classic React environment that requires the `React` import.\n\nCorresponds to the `react` value for the `jsx` option in TypeScript's `tsconfig.json`.\n\nThis option should only be necessary if you cannot upgrade to a React version that supports the new JSX runtime. For more information about the old vs. new JSX runtime, please see: <https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html>",
|
|
1339
|
+
"type": "string",
|
|
1340
|
+
"enum": ["ReactClassic"]
|
|
1341
|
+
}
|
|
1342
|
+
]
|
|
1343
|
+
},
|
|
1304
1344
|
"LineEnding": {
|
|
1305
1345
|
"oneOf": [
|
|
1306
1346
|
{
|
|
@@ -1381,22 +1421,22 @@
|
|
|
1381
1421
|
"description": "It enables ALL rules for this group.",
|
|
1382
1422
|
"type": ["boolean", "null"]
|
|
1383
1423
|
},
|
|
1384
|
-
"
|
|
1385
|
-
"description": "
|
|
1424
|
+
"noColorInvalidHex": {
|
|
1425
|
+
"description": "WIP: This rule hasn't been implemented yet.",
|
|
1386
1426
|
"anyOf": [
|
|
1387
1427
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1388
1428
|
{ "type": "null" }
|
|
1389
1429
|
]
|
|
1390
1430
|
},
|
|
1391
|
-
"
|
|
1392
|
-
"description": "
|
|
1431
|
+
"noConsole": {
|
|
1432
|
+
"description": "Disallow the use of console.",
|
|
1393
1433
|
"anyOf": [
|
|
1394
1434
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1395
1435
|
{ "type": "null" }
|
|
1396
1436
|
]
|
|
1397
1437
|
},
|
|
1398
|
-
"
|
|
1399
|
-
"description": "Disallow the use of
|
|
1438
|
+
"noConstantMathMinMaxClamp": {
|
|
1439
|
+
"description": "Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.",
|
|
1400
1440
|
"anyOf": [
|
|
1401
1441
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1402
1442
|
{ "type": "null" }
|
|
@@ -1416,15 +1456,15 @@
|
|
|
1416
1456
|
{ "type": "null" }
|
|
1417
1457
|
]
|
|
1418
1458
|
},
|
|
1419
|
-
"
|
|
1420
|
-
"description": "Disallow
|
|
1459
|
+
"noDuplicateFontNames": {
|
|
1460
|
+
"description": "Disallow duplicate names within font families.",
|
|
1421
1461
|
"anyOf": [
|
|
1422
1462
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1423
1463
|
{ "type": "null" }
|
|
1424
1464
|
]
|
|
1425
1465
|
},
|
|
1426
|
-
"
|
|
1427
|
-
"description": "
|
|
1466
|
+
"noDuplicateJsonKeys": {
|
|
1467
|
+
"description": "Disallow two keys with the same name inside a JSON object.",
|
|
1428
1468
|
"anyOf": [
|
|
1429
1469
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1430
1470
|
{ "type": "null" }
|
|
@@ -1437,22 +1477,8 @@
|
|
|
1437
1477
|
{ "type": "null" }
|
|
1438
1478
|
]
|
|
1439
1479
|
},
|
|
1440
|
-
"
|
|
1441
|
-
"description": "
|
|
1442
|
-
"anyOf": [
|
|
1443
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1444
|
-
{ "type": "null" }
|
|
1445
|
-
]
|
|
1446
|
-
},
|
|
1447
|
-
"noExportsInTest": {
|
|
1448
|
-
"description": "Disallow using export or module.exports in files containing tests",
|
|
1449
|
-
"anyOf": [
|
|
1450
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1451
|
-
{ "type": "null" }
|
|
1452
|
-
]
|
|
1453
|
-
},
|
|
1454
|
-
"noFocusedTests": {
|
|
1455
|
-
"description": "Disallow focused tests.",
|
|
1480
|
+
"noFlatMapIdentity": {
|
|
1481
|
+
"description": "Disallow to use unnecessary callback on flatMap.",
|
|
1456
1482
|
"anyOf": [
|
|
1457
1483
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1458
1484
|
{ "type": "null" }
|
|
@@ -1465,13 +1491,6 @@
|
|
|
1465
1491
|
{ "type": "null" }
|
|
1466
1492
|
]
|
|
1467
1493
|
},
|
|
1468
|
-
"noNamespaceImport": {
|
|
1469
|
-
"description": "Disallow the use of namespace imports.",
|
|
1470
|
-
"anyOf": [
|
|
1471
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1472
|
-
{ "type": "null" }
|
|
1473
|
-
]
|
|
1474
|
-
},
|
|
1475
1494
|
"noNodejsModules": {
|
|
1476
1495
|
"description": "Forbid the use of Node.js builtin modules.",
|
|
1477
1496
|
"anyOf": [
|
|
@@ -1479,13 +1498,6 @@
|
|
|
1479
1498
|
{ "type": "null" }
|
|
1480
1499
|
]
|
|
1481
1500
|
},
|
|
1482
|
-
"noReExportAll": {
|
|
1483
|
-
"description": "Avoid re-export all.",
|
|
1484
|
-
"anyOf": [
|
|
1485
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1486
|
-
{ "type": "null" }
|
|
1487
|
-
]
|
|
1488
|
-
},
|
|
1489
1501
|
"noRestrictedImports": {
|
|
1490
1502
|
"description": "Disallow specified modules when loaded by import or require.",
|
|
1491
1503
|
"anyOf": [
|
|
@@ -1493,20 +1505,6 @@
|
|
|
1493
1505
|
{ "type": "null" }
|
|
1494
1506
|
]
|
|
1495
1507
|
},
|
|
1496
|
-
"noSkippedTests": {
|
|
1497
|
-
"description": "Disallow disabled tests.",
|
|
1498
|
-
"anyOf": [
|
|
1499
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1500
|
-
{ "type": "null" }
|
|
1501
|
-
]
|
|
1502
|
-
},
|
|
1503
|
-
"noSuspiciousSemicolonInJsx": {
|
|
1504
|
-
"description": "It detects possible \"wrong\" semicolons inside JSX elements.",
|
|
1505
|
-
"anyOf": [
|
|
1506
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1507
|
-
{ "type": "null" }
|
|
1508
|
-
]
|
|
1509
|
-
},
|
|
1510
1508
|
"noUndeclaredDependencies": {
|
|
1511
1509
|
"description": "Disallow the use of dependencies that aren't specified in the package.json.",
|
|
1512
1510
|
"anyOf": [
|
|
@@ -1514,13 +1512,6 @@
|
|
|
1514
1512
|
{ "type": "null" }
|
|
1515
1513
|
]
|
|
1516
1514
|
},
|
|
1517
|
-
"noUselessTernary": {
|
|
1518
|
-
"description": "Disallow ternary operators when simpler alternatives exist.",
|
|
1519
|
-
"anyOf": [
|
|
1520
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1521
|
-
{ "type": "null" }
|
|
1522
|
-
]
|
|
1523
|
-
},
|
|
1524
1515
|
"recommended": {
|
|
1525
1516
|
"description": "It enables the recommended rules for this group",
|
|
1526
1517
|
"type": ["boolean", "null"]
|
|
@@ -1532,20 +1523,6 @@
|
|
|
1532
1523
|
{ "type": "null" }
|
|
1533
1524
|
]
|
|
1534
1525
|
},
|
|
1535
|
-
"useJsxKeyInIterable": {
|
|
1536
|
-
"description": "Disallow missing key props in iterators/collection literals.",
|
|
1537
|
-
"anyOf": [
|
|
1538
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1539
|
-
{ "type": "null" }
|
|
1540
|
-
]
|
|
1541
|
-
},
|
|
1542
|
-
"useNodeAssertStrict": {
|
|
1543
|
-
"description": "Promotes the usage of node:assert/strict over node:assert.",
|
|
1544
|
-
"anyOf": [
|
|
1545
|
-
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1546
|
-
{ "type": "null" }
|
|
1547
|
-
]
|
|
1548
|
-
},
|
|
1549
1526
|
"useSortedClasses": {
|
|
1550
1527
|
"description": "Enforce the sorting of CSS utility classes.",
|
|
1551
1528
|
"anyOf": [
|
|
@@ -1579,16 +1556,14 @@
|
|
|
1579
1556
|
"properties": {
|
|
1580
1557
|
"attributePosition": {
|
|
1581
1558
|
"description": "The attribute position style.",
|
|
1582
|
-
"default": null,
|
|
1583
1559
|
"anyOf": [
|
|
1584
1560
|
{ "$ref": "#/definitions/AttributePosition" },
|
|
1585
1561
|
{ "type": "null" }
|
|
1586
1562
|
]
|
|
1587
1563
|
},
|
|
1588
|
-
"enabled": { "
|
|
1564
|
+
"enabled": { "type": ["boolean", "null"] },
|
|
1589
1565
|
"formatWithErrors": {
|
|
1590
1566
|
"description": "Stores whether formatting should be allowed to proceed if a given file has syntax errors",
|
|
1591
|
-
"default": null,
|
|
1592
1567
|
"type": ["boolean", "null"]
|
|
1593
1568
|
},
|
|
1594
1569
|
"indentSize": {
|
|
@@ -1616,7 +1591,6 @@
|
|
|
1616
1591
|
},
|
|
1617
1592
|
"lineWidth": {
|
|
1618
1593
|
"description": "What's the max width of a line. Defaults to 80.",
|
|
1619
|
-
"default": 80,
|
|
1620
1594
|
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
|
|
1621
1595
|
}
|
|
1622
1596
|
},
|
|
@@ -1721,6 +1695,13 @@
|
|
|
1721
1695
|
{ "type": "null" }
|
|
1722
1696
|
]
|
|
1723
1697
|
},
|
|
1698
|
+
"noBarrelFile": {
|
|
1699
|
+
"description": "Disallow the use of barrel file.",
|
|
1700
|
+
"anyOf": [
|
|
1701
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1702
|
+
{ "type": "null" }
|
|
1703
|
+
]
|
|
1704
|
+
},
|
|
1724
1705
|
"noDelete": {
|
|
1725
1706
|
"description": "Disallow the use of the delete operator.",
|
|
1726
1707
|
"anyOf": [
|
|
@@ -1728,6 +1709,13 @@
|
|
|
1728
1709
|
{ "type": "null" }
|
|
1729
1710
|
]
|
|
1730
1711
|
},
|
|
1712
|
+
"noReExportAll": {
|
|
1713
|
+
"description": "Avoid re-export all.",
|
|
1714
|
+
"anyOf": [
|
|
1715
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1716
|
+
{ "type": "null" }
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1731
1719
|
"recommended": {
|
|
1732
1720
|
"description": "It enables the recommended rules for this group",
|
|
1733
1721
|
"type": ["boolean", "null"]
|
|
@@ -1847,10 +1835,9 @@
|
|
|
1847
1835
|
},
|
|
1848
1836
|
"RuleWithNoOptions": {
|
|
1849
1837
|
"type": "object",
|
|
1850
|
-
"required": ["level"
|
|
1838
|
+
"required": ["level"],
|
|
1851
1839
|
"properties": {
|
|
1852
|
-
"level": { "$ref": "#/definitions/RulePlainConfiguration" }
|
|
1853
|
-
"options": { "type": "null" }
|
|
1840
|
+
"level": { "$ref": "#/definitions/RulePlainConfiguration" }
|
|
1854
1841
|
},
|
|
1855
1842
|
"additionalProperties": false
|
|
1856
1843
|
},
|
|
@@ -1968,26 +1955,19 @@
|
|
|
1968
1955
|
"StableHookResult": {
|
|
1969
1956
|
"oneOf": [
|
|
1970
1957
|
{
|
|
1971
|
-
"description": "
|
|
1972
|
-
"type": "
|
|
1973
|
-
"enum": ["None"]
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
"description": "Used to indicate the identity of the result value is stable.\n\nNote this does not imply internal stability. For instance, the ref objects returned by React's `useRef()` always have a stable identity, but their internal value may be mutable.",
|
|
1977
|
-
"type": "string",
|
|
1978
|
-
"enum": ["Identity"]
|
|
1958
|
+
"description": "Whether the hook has a stable result.",
|
|
1959
|
+
"type": "boolean"
|
|
1979
1960
|
},
|
|
1980
1961
|
{
|
|
1981
|
-
"description": "Used to indicate the hook returns an array and some of its indices have stable identities
|
|
1982
|
-
"type": "
|
|
1983
|
-
"
|
|
1984
|
-
|
|
1985
|
-
"
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
}
|
|
1962
|
+
"description": "Used to indicate the hook returns an array and some of its indices have stable identities.",
|
|
1963
|
+
"type": "array",
|
|
1964
|
+
"items": {
|
|
1965
|
+
"type": "integer",
|
|
1966
|
+
"format": "uint8",
|
|
1967
|
+
"maximum": 255.0,
|
|
1968
|
+
"minimum": 0.0
|
|
1989
1969
|
},
|
|
1990
|
-
"
|
|
1970
|
+
"minItems": 1
|
|
1991
1971
|
}
|
|
1992
1972
|
]
|
|
1993
1973
|
},
|
|
@@ -2046,6 +2026,13 @@
|
|
|
2046
2026
|
{ "type": "null" }
|
|
2047
2027
|
]
|
|
2048
2028
|
},
|
|
2029
|
+
"noNamespaceImport": {
|
|
2030
|
+
"description": "Disallow the use of namespace imports.",
|
|
2031
|
+
"anyOf": [
|
|
2032
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2033
|
+
{ "type": "null" }
|
|
2034
|
+
]
|
|
2035
|
+
},
|
|
2049
2036
|
"noNegationElse": {
|
|
2050
2037
|
"description": "Disallow negation in the condition of an if statement if it has an else clause.",
|
|
2051
2038
|
"anyOf": [
|
|
@@ -2135,7 +2122,7 @@
|
|
|
2135
2122
|
]
|
|
2136
2123
|
},
|
|
2137
2124
|
"useConsistentArrayType": {
|
|
2138
|
-
"description": "Require consistently using either T[] or Array
|
|
2125
|
+
"description": "Require consistently using either T\\[] or Array\\<T>",
|
|
2139
2126
|
"anyOf": [
|
|
2140
2127
|
{ "$ref": "#/definitions/ConsistentArrayTypeConfiguration" },
|
|
2141
2128
|
{ "type": "null" }
|
|
@@ -2191,7 +2178,7 @@
|
|
|
2191
2178
|
]
|
|
2192
2179
|
},
|
|
2193
2180
|
"useFragmentSyntax": {
|
|
2194
|
-
"description": "This rule enforces the use of
|
|
2181
|
+
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.",
|
|
2195
2182
|
"anyOf": [
|
|
2196
2183
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2197
2184
|
{ "type": "null" }
|
|
@@ -2218,6 +2205,13 @@
|
|
|
2218
2205
|
{ "type": "null" }
|
|
2219
2206
|
]
|
|
2220
2207
|
},
|
|
2208
|
+
"useNodeAssertStrict": {
|
|
2209
|
+
"description": "Promotes the usage of node:assert/strict over node:assert.",
|
|
2210
|
+
"anyOf": [
|
|
2211
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2212
|
+
{ "type": "null" }
|
|
2213
|
+
]
|
|
2214
|
+
},
|
|
2221
2215
|
"useNodejsImportProtocol": {
|
|
2222
2216
|
"description": "Enforces using the node: protocol for Node.js builtin modules.",
|
|
2223
2217
|
"anyOf": [
|
|
@@ -2247,7 +2241,7 @@
|
|
|
2247
2241
|
]
|
|
2248
2242
|
},
|
|
2249
2243
|
"useShorthandArrayType": {
|
|
2250
|
-
"description": "When expressing array types, this rule promotes the usage of T[] shorthand instead of Array
|
|
2244
|
+
"description": "When expressing array types, this rule promotes the usage of T\\[] shorthand instead of Array\\<T>.",
|
|
2251
2245
|
"anyOf": [
|
|
2252
2246
|
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2253
2247
|
{ "type": "null" }
|
|
@@ -2446,6 +2440,13 @@
|
|
|
2446
2440
|
{ "type": "null" }
|
|
2447
2441
|
]
|
|
2448
2442
|
},
|
|
2443
|
+
"noDuplicateTestHooks": {
|
|
2444
|
+
"description": "A describe block should not contain duplicate hooks.",
|
|
2445
|
+
"anyOf": [
|
|
2446
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2447
|
+
{ "type": "null" }
|
|
2448
|
+
]
|
|
2449
|
+
},
|
|
2449
2450
|
"noEmptyBlockStatements": {
|
|
2450
2451
|
"description": "Disallow empty block statements and static blocks.",
|
|
2451
2452
|
"anyOf": [
|
|
@@ -2467,6 +2468,13 @@
|
|
|
2467
2468
|
{ "type": "null" }
|
|
2468
2469
|
]
|
|
2469
2470
|
},
|
|
2471
|
+
"noExportsInTest": {
|
|
2472
|
+
"description": "Disallow using export or module.exports in files containing tests",
|
|
2473
|
+
"anyOf": [
|
|
2474
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2475
|
+
{ "type": "null" }
|
|
2476
|
+
]
|
|
2477
|
+
},
|
|
2470
2478
|
"noExtraNonNullAssertion": {
|
|
2471
2479
|
"description": "Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.",
|
|
2472
2480
|
"anyOf": [
|
|
@@ -2481,6 +2489,13 @@
|
|
|
2481
2489
|
{ "type": "null" }
|
|
2482
2490
|
]
|
|
2483
2491
|
},
|
|
2492
|
+
"noFocusedTests": {
|
|
2493
|
+
"description": "Disallow focused tests.",
|
|
2494
|
+
"anyOf": [
|
|
2495
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2496
|
+
{ "type": "null" }
|
|
2497
|
+
]
|
|
2498
|
+
},
|
|
2484
2499
|
"noFunctionAssign": {
|
|
2485
2500
|
"description": "Disallow reassigning function declarations.",
|
|
2486
2501
|
"anyOf": [
|
|
@@ -2586,6 +2601,13 @@
|
|
|
2586
2601
|
{ "type": "null" }
|
|
2587
2602
|
]
|
|
2588
2603
|
},
|
|
2604
|
+
"noSkippedTests": {
|
|
2605
|
+
"description": "Disallow disabled tests.",
|
|
2606
|
+
"anyOf": [
|
|
2607
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2608
|
+
{ "type": "null" }
|
|
2609
|
+
]
|
|
2610
|
+
},
|
|
2589
2611
|
"noSparseArray": {
|
|
2590
2612
|
"description": "Disallow sparse arrays",
|
|
2591
2613
|
"anyOf": [
|
|
@@ -2593,6 +2615,13 @@
|
|
|
2593
2615
|
{ "type": "null" }
|
|
2594
2616
|
]
|
|
2595
2617
|
},
|
|
2618
|
+
"noSuspiciousSemicolonInJsx": {
|
|
2619
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.",
|
|
2620
|
+
"anyOf": [
|
|
2621
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2622
|
+
{ "type": "null" }
|
|
2623
|
+
]
|
|
2624
|
+
},
|
|
2596
2625
|
"noThenProperty": {
|
|
2597
2626
|
"description": "Disallow then property.",
|
|
2598
2627
|
"anyOf": [
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/biome","version":"1.
|
|
1
|
+
{"name":"@biomejs/biome","version":"1.7.0","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.7.0","@biomejs/cli-win32-arm64":"1.7.0","@biomejs/cli-darwin-x64":"1.7.0","@biomejs/cli-darwin-arm64":"1.7.0","@biomejs/cli-linux-x64":"1.7.0","@biomejs/cli-linux-arm64":"1.7.0","@biomejs/cli-linux-x64-musl":"1.7.0","@biomejs/cli-linux-arm64-musl":"1.7.0"}}
|