@biomejs/biome 2.2.7 → 2.3.1
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 +160 -91
- package/package.json +9 -9
|
@@ -974,6 +974,13 @@
|
|
|
974
974
|
{ "type": "null" }
|
|
975
975
|
]
|
|
976
976
|
},
|
|
977
|
+
"noQwikUseVisibleTask": {
|
|
978
|
+
"description": "Disallow useVisibleTask$() functions in Qwik components.",
|
|
979
|
+
"anyOf": [
|
|
980
|
+
{ "$ref": "#/definitions/NoQwikUseVisibleTaskConfiguration" },
|
|
981
|
+
{ "type": "null" }
|
|
982
|
+
]
|
|
983
|
+
},
|
|
977
984
|
"noReactPropAssignments": {
|
|
978
985
|
"description": "Disallow assigning to React component props.",
|
|
979
986
|
"anyOf": [
|
|
@@ -1204,6 +1211,13 @@
|
|
|
1204
1211
|
{ "type": "null" }
|
|
1205
1212
|
]
|
|
1206
1213
|
},
|
|
1214
|
+
"useImageSize": {
|
|
1215
|
+
"description": "Enforces that \\<img> elements have both width and height attributes.",
|
|
1216
|
+
"anyOf": [
|
|
1217
|
+
{ "$ref": "#/definitions/UseImageSizeConfiguration" },
|
|
1218
|
+
{ "type": "null" }
|
|
1219
|
+
]
|
|
1220
|
+
},
|
|
1207
1221
|
"useImportExtensions": {
|
|
1208
1222
|
"description": "Enforce file extensions for relative imports.",
|
|
1209
1223
|
"anyOf": [
|
|
@@ -1239,6 +1253,13 @@
|
|
|
1239
1253
|
{ "type": "null" }
|
|
1240
1254
|
]
|
|
1241
1255
|
},
|
|
1256
|
+
"useQwikClasslist": {
|
|
1257
|
+
"description": "Prefer using the class prop as a classlist over the classnames helper.",
|
|
1258
|
+
"anyOf": [
|
|
1259
|
+
{ "$ref": "#/definitions/UseQwikClasslistConfiguration" },
|
|
1260
|
+
{ "type": "null" }
|
|
1261
|
+
]
|
|
1262
|
+
},
|
|
1242
1263
|
"useSingleJsDocAsterisk": {
|
|
1243
1264
|
"description": "Enforce JSDoc comment lines to start with a single asterisk, except for the first one.",
|
|
1244
1265
|
"anyOf": [
|
|
@@ -1350,7 +1371,7 @@
|
|
|
1350
1371
|
"anyOf": [{ "$ref": "#/definitions/IndentWidth" }, { "type": "null" }]
|
|
1351
1372
|
},
|
|
1352
1373
|
"lineEnding": {
|
|
1353
|
-
"description": "The type of line ending applied to CSS (and its super languages) files.",
|
|
1374
|
+
"description": "The type of line ending applied to CSS (and its super languages) files. `auto` uses CRLF on Windows and LF on other platforms.",
|
|
1354
1375
|
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
1355
1376
|
},
|
|
1356
1377
|
"lineWidth": {
|
|
@@ -1381,11 +1402,14 @@
|
|
|
1381
1402
|
"properties": {
|
|
1382
1403
|
"allowWrongLineComments": {
|
|
1383
1404
|
"description": "Allow comments to appear on incorrect lines in `.css` files",
|
|
1384
|
-
"default": null,
|
|
1385
1405
|
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1386
1406
|
},
|
|
1387
1407
|
"cssModules": {
|
|
1388
1408
|
"description": "Enables parsing of CSS Modules specific features.",
|
|
1409
|
+
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1410
|
+
},
|
|
1411
|
+
"tailwindDirectives": {
|
|
1412
|
+
"description": "Enables parsing of Tailwind CSS 4.0 directives and functions.",
|
|
1389
1413
|
"default": null,
|
|
1390
1414
|
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1391
1415
|
}
|
|
@@ -1486,12 +1510,12 @@
|
|
|
1486
1510
|
"type": "object",
|
|
1487
1511
|
"properties": {
|
|
1488
1512
|
"experimentalScannerIgnores": {
|
|
1489
|
-
"description": "
|
|
1513
|
+
"description": "**Deprecated:** Please use _force-ignore syntax_ in `files.includes` instead: https://biomejs.dev/reference/configuration/#filesincludes\n\nSet of file and folder names that should be unconditionally ignored by Biome's scanner.",
|
|
1490
1514
|
"type": ["array", "null"],
|
|
1491
1515
|
"items": { "type": "string" }
|
|
1492
1516
|
},
|
|
1493
1517
|
"ignoreUnknown": {
|
|
1494
|
-
"description": "Tells Biome to not emit diagnostics when handling files that doesn't know",
|
|
1518
|
+
"description": "Tells Biome to not emit diagnostics when handling files that it doesn't know",
|
|
1495
1519
|
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1496
1520
|
},
|
|
1497
1521
|
"includes": {
|
|
@@ -1569,7 +1593,7 @@
|
|
|
1569
1593
|
"anyOf": [{ "$ref": "#/definitions/Expand" }, { "type": "null" }]
|
|
1570
1594
|
},
|
|
1571
1595
|
"formatWithErrors": {
|
|
1572
|
-
"description": "
|
|
1596
|
+
"description": "Whether formatting should be allowed to proceed if a given file has syntax errors",
|
|
1573
1597
|
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1574
1598
|
},
|
|
1575
1599
|
"includes": {
|
|
@@ -1668,7 +1692,7 @@
|
|
|
1668
1692
|
"anyOf": [{ "$ref": "#/definitions/IndentWidth" }, { "type": "null" }]
|
|
1669
1693
|
},
|
|
1670
1694
|
"lineEnding": {
|
|
1671
|
-
"description": "The type of line ending applied to GraphQL files.",
|
|
1695
|
+
"description": "The type of line ending applied to GraphQL files. `auto` uses CRLF on Windows and LF on other platforms.",
|
|
1672
1696
|
"default": null,
|
|
1673
1697
|
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
1674
1698
|
},
|
|
@@ -1839,10 +1863,31 @@
|
|
|
1839
1863
|
},
|
|
1840
1864
|
"additionalProperties": false
|
|
1841
1865
|
},
|
|
1866
|
+
"HtmlAssistConfiguration": {
|
|
1867
|
+
"description": "Options that changes how the HTML assist behaves",
|
|
1868
|
+
"type": "object",
|
|
1869
|
+
"properties": {
|
|
1870
|
+
"enabled": {
|
|
1871
|
+
"description": "Control the assist for HTML (and its super languages) files.",
|
|
1872
|
+
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
"additionalProperties": false
|
|
1876
|
+
},
|
|
1842
1877
|
"HtmlConfiguration": {
|
|
1843
1878
|
"description": "Options applied to HTML files",
|
|
1844
1879
|
"type": "object",
|
|
1845
1880
|
"properties": {
|
|
1881
|
+
"assist": {
|
|
1882
|
+
"anyOf": [
|
|
1883
|
+
{ "$ref": "#/definitions/HtmlAssistConfiguration" },
|
|
1884
|
+
{ "type": "null" }
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
"experimentalFullSupportEnabled": {
|
|
1888
|
+
"description": "Enables full support for HTML, Vue, Svelte and Astro files.",
|
|
1889
|
+
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1890
|
+
},
|
|
1846
1891
|
"formatter": {
|
|
1847
1892
|
"description": "HTML formatter options",
|
|
1848
1893
|
"anyOf": [
|
|
@@ -1850,6 +1895,13 @@
|
|
|
1850
1895
|
{ "type": "null" }
|
|
1851
1896
|
]
|
|
1852
1897
|
},
|
|
1898
|
+
"linter": {
|
|
1899
|
+
"description": "HTML linter options",
|
|
1900
|
+
"anyOf": [
|
|
1901
|
+
{ "$ref": "#/definitions/HtmlLinterConfiguration" },
|
|
1902
|
+
{ "type": "null" }
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1853
1905
|
"parser": {
|
|
1854
1906
|
"description": "HTML parsing options",
|
|
1855
1907
|
"anyOf": [
|
|
@@ -1898,7 +1950,7 @@
|
|
|
1898
1950
|
"anyOf": [{ "$ref": "#/definitions/IndentWidth" }, { "type": "null" }]
|
|
1899
1951
|
},
|
|
1900
1952
|
"lineEnding": {
|
|
1901
|
-
"description": "The type of line ending applied to HTML (and its super languages) files.",
|
|
1953
|
+
"description": "The type of line ending applied to HTML (and its super languages) files. `auto` uses CRLF on Windows and LF on other platforms.",
|
|
1902
1954
|
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
1903
1955
|
},
|
|
1904
1956
|
"lineWidth": {
|
|
@@ -1922,6 +1974,17 @@
|
|
|
1922
1974
|
},
|
|
1923
1975
|
"additionalProperties": false
|
|
1924
1976
|
},
|
|
1977
|
+
"HtmlLinterConfiguration": {
|
|
1978
|
+
"description": "Options that changes how the HTML linter behaves",
|
|
1979
|
+
"type": "object",
|
|
1980
|
+
"properties": {
|
|
1981
|
+
"enabled": {
|
|
1982
|
+
"description": "Control the linter for HTML (and its super languages) files.",
|
|
1983
|
+
"anyOf": [{ "$ref": "#/definitions/Bool" }, { "type": "null" }]
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
"additionalProperties": false
|
|
1987
|
+
},
|
|
1925
1988
|
"HtmlParserConfiguration": {
|
|
1926
1989
|
"description": "Options that changes how the HTML parser behaves",
|
|
1927
1990
|
"type": "object",
|
|
@@ -2080,7 +2143,7 @@
|
|
|
2080
2143
|
"anyOf": [{ "$ref": "#/definitions/QuoteStyle" }, { "type": "null" }]
|
|
2081
2144
|
},
|
|
2082
2145
|
"lineEnding": {
|
|
2083
|
-
"description": "The type of line ending applied to JavaScript (and its super languages) files.",
|
|
2146
|
+
"description": "The type of line ending applied to JavaScript (and its super languages) files. `auto` uses CRLF on Windows and LF on other platforms.",
|
|
2084
2147
|
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
2085
2148
|
},
|
|
2086
2149
|
"lineWidth": {
|
|
@@ -2150,7 +2213,7 @@
|
|
|
2150
2213
|
"additionalProperties": false
|
|
2151
2214
|
},
|
|
2152
2215
|
"JsonAssistConfiguration": {
|
|
2153
|
-
"description": "
|
|
2216
|
+
"description": "Assist options specific to the JSON linter",
|
|
2154
2217
|
"type": "object",
|
|
2155
2218
|
"properties": {
|
|
2156
2219
|
"enabled": {
|
|
@@ -2222,7 +2285,7 @@
|
|
|
2222
2285
|
"anyOf": [{ "$ref": "#/definitions/IndentWidth" }, { "type": "null" }]
|
|
2223
2286
|
},
|
|
2224
2287
|
"lineEnding": {
|
|
2225
|
-
"description": "The type of line ending applied to JSON (and its super languages) files.",
|
|
2288
|
+
"description": "The type of line ending applied to JSON (and its super languages) files. `auto` uses CRLF on Windows and LF on other platforms.",
|
|
2226
2289
|
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
2227
2290
|
},
|
|
2228
2291
|
"lineWidth": {
|
|
@@ -2399,6 +2462,11 @@
|
|
|
2399
2462
|
"description": "Carriage Return character only (\\r), used very rarely",
|
|
2400
2463
|
"type": "string",
|
|
2401
2464
|
"enum": ["cr"]
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"description": "Automatically use CRLF on Windows and LF on other platforms",
|
|
2468
|
+
"type": "string",
|
|
2469
|
+
"enum": ["auto"]
|
|
2402
2470
|
}
|
|
2403
2471
|
]
|
|
2404
2472
|
},
|
|
@@ -4440,6 +4508,13 @@
|
|
|
4440
4508
|
},
|
|
4441
4509
|
"NoUnknownAtRulesOptions": {
|
|
4442
4510
|
"type": "object",
|
|
4511
|
+
"properties": {
|
|
4512
|
+
"ignore": {
|
|
4513
|
+
"description": "A list of unknown at-rule names to ignore (case-insensitive).",
|
|
4514
|
+
"type": "array",
|
|
4515
|
+
"items": { "type": "string" }
|
|
4516
|
+
}
|
|
4517
|
+
},
|
|
4443
4518
|
"additionalProperties": false
|
|
4444
4519
|
},
|
|
4445
4520
|
"NoUnknownFunctionConfiguration": {
|
|
@@ -5062,22 +5137,6 @@
|
|
|
5062
5137
|
{ "type": "null" }
|
|
5063
5138
|
]
|
|
5064
5139
|
},
|
|
5065
|
-
"noNonNullAssertedOptionalChain": {
|
|
5066
|
-
"description": "Disallow non-null assertions after optional chaining expressions.",
|
|
5067
|
-
"anyOf": [
|
|
5068
|
-
{
|
|
5069
|
-
"$ref": "#/definitions/NoNonNullAssertedOptionalChainConfiguration"
|
|
5070
|
-
},
|
|
5071
|
-
{ "type": "null" }
|
|
5072
|
-
]
|
|
5073
|
-
},
|
|
5074
|
-
"noQwikUseVisibleTask": {
|
|
5075
|
-
"description": "Disallow useVisibleTask$() functions in Qwik components.",
|
|
5076
|
-
"anyOf": [
|
|
5077
|
-
{ "$ref": "#/definitions/NoQwikUseVisibleTaskConfiguration" },
|
|
5078
|
-
{ "type": "null" }
|
|
5079
|
-
]
|
|
5080
|
-
},
|
|
5081
5140
|
"noReactForwardRef": {
|
|
5082
5141
|
"description": "Replaces usages of forwardRef with passing ref as a prop.",
|
|
5083
5142
|
"anyOf": [
|
|
@@ -5085,13 +5144,6 @@
|
|
|
5085
5144
|
{ "type": "null" }
|
|
5086
5145
|
]
|
|
5087
5146
|
},
|
|
5088
|
-
"noSecrets": {
|
|
5089
|
-
"description": "Disallow usage of sensitive data such as API keys and tokens.",
|
|
5090
|
-
"anyOf": [
|
|
5091
|
-
{ "$ref": "#/definitions/NoSecretsConfiguration" },
|
|
5092
|
-
{ "type": "null" }
|
|
5093
|
-
]
|
|
5094
|
-
},
|
|
5095
5147
|
"noShadow": {
|
|
5096
5148
|
"description": "Disallow variable declarations from shadowing variables declared in the outer scope.",
|
|
5097
5149
|
"anyOf": [
|
|
@@ -5166,13 +5218,6 @@
|
|
|
5166
5218
|
"description": "Enables the recommended rules for this group",
|
|
5167
5219
|
"type": ["boolean", "null"]
|
|
5168
5220
|
},
|
|
5169
|
-
"useAnchorHref": {
|
|
5170
|
-
"description": "Enforces href attribute for \\<a> elements.",
|
|
5171
|
-
"anyOf": [
|
|
5172
|
-
{ "$ref": "#/definitions/UseAnchorHrefConfiguration" },
|
|
5173
|
-
{ "type": "null" }
|
|
5174
|
-
]
|
|
5175
|
-
},
|
|
5176
5221
|
"useConsistentArrowReturn": {
|
|
5177
5222
|
"description": "Enforce consistent arrow function bodies.",
|
|
5178
5223
|
"anyOf": [
|
|
@@ -5180,15 +5225,6 @@
|
|
|
5180
5225
|
{ "type": "null" }
|
|
5181
5226
|
]
|
|
5182
5227
|
},
|
|
5183
|
-
"useConsistentTypeDefinitions": {
|
|
5184
|
-
"description": "Enforce type definitions to consistently use either interface or type.",
|
|
5185
|
-
"anyOf": [
|
|
5186
|
-
{
|
|
5187
|
-
"$ref": "#/definitions/UseConsistentTypeDefinitionsConfiguration"
|
|
5188
|
-
},
|
|
5189
|
-
{ "type": "null" }
|
|
5190
|
-
]
|
|
5191
|
-
},
|
|
5192
5228
|
"useDeprecatedDate": {
|
|
5193
5229
|
"description": "Require the @deprecated directive to specify a deletion date.",
|
|
5194
5230
|
"anyOf": [
|
|
@@ -5210,13 +5246,6 @@
|
|
|
5210
5246
|
{ "type": "null" }
|
|
5211
5247
|
]
|
|
5212
5248
|
},
|
|
5213
|
-
"useImageSize": {
|
|
5214
|
-
"description": "Enforces that \\<img> elements have both width and height attributes.",
|
|
5215
|
-
"anyOf": [
|
|
5216
|
-
{ "$ref": "#/definitions/UseImageSizeConfiguration" },
|
|
5217
|
-
{ "type": "null" }
|
|
5218
|
-
]
|
|
5219
|
-
},
|
|
5220
5249
|
"useMaxParams": {
|
|
5221
5250
|
"description": "Enforce a maximum number of parameters in function definitions.",
|
|
5222
5251
|
"anyOf": [
|
|
@@ -5224,13 +5253,6 @@
|
|
|
5224
5253
|
{ "type": "null" }
|
|
5225
5254
|
]
|
|
5226
5255
|
},
|
|
5227
|
-
"useQwikClasslist": {
|
|
5228
|
-
"description": "Prefer using the class prop as a classlist over the classnames helper.",
|
|
5229
|
-
"anyOf": [
|
|
5230
|
-
{ "$ref": "#/definitions/UseQwikClasslistConfiguration" },
|
|
5231
|
-
{ "type": "null" }
|
|
5232
|
-
]
|
|
5233
|
-
},
|
|
5234
5256
|
"useQwikMethodUsage": {
|
|
5235
5257
|
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.",
|
|
5236
5258
|
"anyOf": [
|
|
@@ -5245,17 +5267,17 @@
|
|
|
5245
5267
|
{ "type": "null" }
|
|
5246
5268
|
]
|
|
5247
5269
|
},
|
|
5248
|
-
"
|
|
5249
|
-
"description": "Enforce
|
|
5270
|
+
"useSortedClasses": {
|
|
5271
|
+
"description": "Enforce the sorting of CSS utility classes.",
|
|
5250
5272
|
"anyOf": [
|
|
5251
|
-
{ "$ref": "#/definitions/
|
|
5273
|
+
{ "$ref": "#/definitions/UseSortedClassesConfiguration" },
|
|
5252
5274
|
{ "type": "null" }
|
|
5253
5275
|
]
|
|
5254
5276
|
},
|
|
5255
|
-
"
|
|
5256
|
-
"description": "Enforce
|
|
5277
|
+
"useVueDefineMacrosOrder": {
|
|
5278
|
+
"description": "Enforce specific order of Vue compiler macros.",
|
|
5257
5279
|
"anyOf": [
|
|
5258
|
-
{ "$ref": "#/definitions/
|
|
5280
|
+
{ "$ref": "#/definitions/UseVueDefineMacrosOrderConfiguration" },
|
|
5259
5281
|
{ "type": "null" }
|
|
5260
5282
|
]
|
|
5261
5283
|
},
|
|
@@ -9992,21 +10014,6 @@
|
|
|
9992
10014
|
},
|
|
9993
10015
|
"additionalProperties": false
|
|
9994
10016
|
},
|
|
9995
|
-
"RuleWithUseAnchorHrefOptions": {
|
|
9996
|
-
"type": "object",
|
|
9997
|
-
"required": ["level"],
|
|
9998
|
-
"properties": {
|
|
9999
|
-
"level": {
|
|
10000
|
-
"description": "The severity of the emitted diagnostics by the rule",
|
|
10001
|
-
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
10002
|
-
},
|
|
10003
|
-
"options": {
|
|
10004
|
-
"description": "Rule's options",
|
|
10005
|
-
"allOf": [{ "$ref": "#/definitions/UseAnchorHrefOptions" }]
|
|
10006
|
-
}
|
|
10007
|
-
},
|
|
10008
|
-
"additionalProperties": false
|
|
10009
|
-
},
|
|
10010
10017
|
"RuleWithUseAriaActivedescendantWithTabindexOptions": {
|
|
10011
10018
|
"type": "object",
|
|
10012
10019
|
"required": ["level"],
|
|
@@ -12013,6 +12020,25 @@
|
|
|
12013
12020
|
},
|
|
12014
12021
|
"additionalProperties": false
|
|
12015
12022
|
},
|
|
12023
|
+
"RuleWithUseVueDefineMacrosOrderOptions": {
|
|
12024
|
+
"type": "object",
|
|
12025
|
+
"required": ["level"],
|
|
12026
|
+
"properties": {
|
|
12027
|
+
"fix": {
|
|
12028
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
12029
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
12030
|
+
},
|
|
12031
|
+
"level": {
|
|
12032
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
12033
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
12034
|
+
},
|
|
12035
|
+
"options": {
|
|
12036
|
+
"description": "Rule's options",
|
|
12037
|
+
"allOf": [{ "$ref": "#/definitions/UseVueDefineMacrosOrderOptions" }]
|
|
12038
|
+
}
|
|
12039
|
+
},
|
|
12040
|
+
"additionalProperties": false
|
|
12041
|
+
},
|
|
12016
12042
|
"RuleWithUseVueMultiWordComponentNamesOptions": {
|
|
12017
12043
|
"type": "object",
|
|
12018
12044
|
"required": ["level"],
|
|
@@ -12158,6 +12184,13 @@
|
|
|
12158
12184
|
{ "type": "null" }
|
|
12159
12185
|
]
|
|
12160
12186
|
},
|
|
12187
|
+
"noSecrets": {
|
|
12188
|
+
"description": "Disallow usage of sensitive data such as API keys and tokens.",
|
|
12189
|
+
"anyOf": [
|
|
12190
|
+
{ "$ref": "#/definitions/NoSecretsConfiguration" },
|
|
12191
|
+
{ "type": "null" }
|
|
12192
|
+
]
|
|
12193
|
+
},
|
|
12161
12194
|
"recommended": {
|
|
12162
12195
|
"description": "Enables the recommended rules for this group",
|
|
12163
12196
|
"type": ["boolean", "null"]
|
|
@@ -12614,6 +12647,15 @@
|
|
|
12614
12647
|
{ "type": "null" }
|
|
12615
12648
|
]
|
|
12616
12649
|
},
|
|
12650
|
+
"useConsistentTypeDefinitions": {
|
|
12651
|
+
"description": "Enforce type definitions to consistently use either interface or type.",
|
|
12652
|
+
"anyOf": [
|
|
12653
|
+
{
|
|
12654
|
+
"$ref": "#/definitions/UseConsistentTypeDefinitionsConfiguration"
|
|
12655
|
+
},
|
|
12656
|
+
{ "type": "null" }
|
|
12657
|
+
]
|
|
12658
|
+
},
|
|
12617
12659
|
"useConst": {
|
|
12618
12660
|
"description": "Require const declarations for variables that are only assigned once.",
|
|
12619
12661
|
"anyOf": [
|
|
@@ -12768,6 +12810,13 @@
|
|
|
12768
12810
|
{ "type": "null" }
|
|
12769
12811
|
]
|
|
12770
12812
|
},
|
|
12813
|
+
"useReactFunctionComponents": {
|
|
12814
|
+
"description": "Enforce that components are defined as functions and never as classes.",
|
|
12815
|
+
"anyOf": [
|
|
12816
|
+
{ "$ref": "#/definitions/UseReactFunctionComponentsConfiguration" },
|
|
12817
|
+
{ "type": "null" }
|
|
12818
|
+
]
|
|
12819
|
+
},
|
|
12771
12820
|
"useReadonlyClassProperties": {
|
|
12772
12821
|
"description": "Enforce marking members as readonly if they are never modified outside the constructor.",
|
|
12773
12822
|
"anyOf": [
|
|
@@ -13281,6 +13330,15 @@
|
|
|
13281
13330
|
{ "type": "null" }
|
|
13282
13331
|
]
|
|
13283
13332
|
},
|
|
13333
|
+
"noNonNullAssertedOptionalChain": {
|
|
13334
|
+
"description": "Disallow non-null assertions after optional chaining expressions.",
|
|
13335
|
+
"anyOf": [
|
|
13336
|
+
{
|
|
13337
|
+
"$ref": "#/definitions/NoNonNullAssertedOptionalChainConfiguration"
|
|
13338
|
+
},
|
|
13339
|
+
{ "type": "null" }
|
|
13340
|
+
]
|
|
13341
|
+
},
|
|
13284
13342
|
"noOctalEscape": {
|
|
13285
13343
|
"description": "Disallow octal escape sequences in string literals",
|
|
13286
13344
|
"anyOf": [
|
|
@@ -13614,13 +13672,6 @@
|
|
|
13614
13672
|
"type": "object",
|
|
13615
13673
|
"additionalProperties": false
|
|
13616
13674
|
},
|
|
13617
|
-
"UseAnchorHrefConfiguration": {
|
|
13618
|
-
"anyOf": [
|
|
13619
|
-
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
13620
|
-
{ "$ref": "#/definitions/RuleWithUseAnchorHrefOptions" }
|
|
13621
|
-
]
|
|
13622
|
-
},
|
|
13623
|
-
"UseAnchorHrefOptions": { "type": "null" },
|
|
13624
13675
|
"UseAriaActivedescendantWithTabindexConfiguration": {
|
|
13625
13676
|
"anyOf": [
|
|
13626
13677
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -14950,6 +15001,24 @@
|
|
|
14950
15001
|
"type": "object",
|
|
14951
15002
|
"additionalProperties": false
|
|
14952
15003
|
},
|
|
15004
|
+
"UseVueDefineMacrosOrderConfiguration": {
|
|
15005
|
+
"anyOf": [
|
|
15006
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
15007
|
+
{ "$ref": "#/definitions/RuleWithUseVueDefineMacrosOrderOptions" }
|
|
15008
|
+
]
|
|
15009
|
+
},
|
|
15010
|
+
"UseVueDefineMacrosOrderOptions": {
|
|
15011
|
+
"type": "object",
|
|
15012
|
+
"properties": {
|
|
15013
|
+
"order": {
|
|
15014
|
+
"description": "The order of the Vue define macros.",
|
|
15015
|
+
"default": [],
|
|
15016
|
+
"type": "array",
|
|
15017
|
+
"items": { "type": "string" }
|
|
15018
|
+
}
|
|
15019
|
+
},
|
|
15020
|
+
"additionalProperties": false
|
|
15021
|
+
},
|
|
14953
15022
|
"UseVueMultiWordComponentNamesConfiguration": {
|
|
14954
15023
|
"anyOf": [
|
|
14955
15024
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"provenance": true
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@biomejs/cli-win32-x64": "2.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.3.1",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.3.1",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.3.1",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.3.1",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.3.1",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.3.1",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.3.1",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.3.1"
|
|
57
57
|
}
|
|
58
58
|
}
|