@biomejs/biome 2.4.12 → 2.4.13
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 +284 -1
- package/package.json +9 -9
|
@@ -4160,6 +4160,16 @@
|
|
|
4160
4160
|
"type": "object",
|
|
4161
4161
|
"additionalProperties": false
|
|
4162
4162
|
},
|
|
4163
|
+
"NoJsxLeakedDollarConfiguration": {
|
|
4164
|
+
"oneOf": [
|
|
4165
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4166
|
+
{ "$ref": "#/$defs/RuleWithNoJsxLeakedDollarOptions" }
|
|
4167
|
+
]
|
|
4168
|
+
},
|
|
4169
|
+
"NoJsxLeakedDollarOptions": {
|
|
4170
|
+
"type": "object",
|
|
4171
|
+
"additionalProperties": false
|
|
4172
|
+
},
|
|
4163
4173
|
"NoJsxLiteralsConfiguration": {
|
|
4164
4174
|
"oneOf": [
|
|
4165
4175
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4246,6 +4256,13 @@
|
|
|
4246
4256
|
]
|
|
4247
4257
|
},
|
|
4248
4258
|
"NoLeakedRenderOptions": { "type": "object" },
|
|
4259
|
+
"NoLoopFuncConfiguration": {
|
|
4260
|
+
"oneOf": [
|
|
4261
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4262
|
+
{ "$ref": "#/$defs/RuleWithNoLoopFuncOptions" }
|
|
4263
|
+
]
|
|
4264
|
+
},
|
|
4265
|
+
"NoLoopFuncOptions": { "type": "object", "additionalProperties": false },
|
|
4249
4266
|
"NoMagicNumbersConfiguration": {
|
|
4250
4267
|
"oneOf": [
|
|
4251
4268
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4740,6 +4757,43 @@
|
|
|
4740
4757
|
"type": "object",
|
|
4741
4758
|
"additionalProperties": false
|
|
4742
4759
|
},
|
|
4760
|
+
"NoReactNativeDeepImportsConfiguration": {
|
|
4761
|
+
"oneOf": [
|
|
4762
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4763
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeDeepImportsOptions" }
|
|
4764
|
+
]
|
|
4765
|
+
},
|
|
4766
|
+
"NoReactNativeDeepImportsOptions": {
|
|
4767
|
+
"type": "object",
|
|
4768
|
+
"additionalProperties": false
|
|
4769
|
+
},
|
|
4770
|
+
"NoReactNativeLiteralColorsConfiguration": {
|
|
4771
|
+
"oneOf": [
|
|
4772
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4773
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeLiteralColorsOptions" }
|
|
4774
|
+
]
|
|
4775
|
+
},
|
|
4776
|
+
"NoReactNativeLiteralColorsOptions": {
|
|
4777
|
+
"type": "object",
|
|
4778
|
+
"additionalProperties": false
|
|
4779
|
+
},
|
|
4780
|
+
"NoReactNativeRawTextConfiguration": {
|
|
4781
|
+
"oneOf": [
|
|
4782
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4783
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeRawTextOptions" }
|
|
4784
|
+
]
|
|
4785
|
+
},
|
|
4786
|
+
"NoReactNativeRawTextOptions": {
|
|
4787
|
+
"type": "object",
|
|
4788
|
+
"properties": {
|
|
4789
|
+
"skip": {
|
|
4790
|
+
"description": "Names of additional components that are allowed to contain raw text.",
|
|
4791
|
+
"type": ["array", "null"],
|
|
4792
|
+
"items": { "type": "string" }
|
|
4793
|
+
}
|
|
4794
|
+
},
|
|
4795
|
+
"additionalProperties": false
|
|
4796
|
+
},
|
|
4743
4797
|
"NoReactPropAssignmentsConfiguration": {
|
|
4744
4798
|
"oneOf": [
|
|
4745
4799
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5381,6 +5435,16 @@
|
|
|
5381
5435
|
"type": "object",
|
|
5382
5436
|
"additionalProperties": false
|
|
5383
5437
|
},
|
|
5438
|
+
"NoUnnecessaryTemplateExpressionConfiguration": {
|
|
5439
|
+
"oneOf": [
|
|
5440
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5441
|
+
{ "$ref": "#/$defs/RuleWithNoUnnecessaryTemplateExpressionOptions" }
|
|
5442
|
+
]
|
|
5443
|
+
},
|
|
5444
|
+
"NoUnnecessaryTemplateExpressionOptions": {
|
|
5445
|
+
"type": "object",
|
|
5446
|
+
"additionalProperties": false
|
|
5447
|
+
},
|
|
5384
5448
|
"NoUnreachableConfiguration": {
|
|
5385
5449
|
"oneOf": [
|
|
5386
5450
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -6194,6 +6258,13 @@
|
|
|
6194
6258
|
{ "type": "null" }
|
|
6195
6259
|
]
|
|
6196
6260
|
},
|
|
6261
|
+
"noJsxLeakedDollar": {
|
|
6262
|
+
"description": "Flags text nodes with a trailing $ before a JSX expression.\nSee https://biomejs.dev/linter/rules/no-jsx-leaked-dollar",
|
|
6263
|
+
"anyOf": [
|
|
6264
|
+
{ "$ref": "#/$defs/NoJsxLeakedDollarConfiguration" },
|
|
6265
|
+
{ "type": "null" }
|
|
6266
|
+
]
|
|
6267
|
+
},
|
|
6197
6268
|
"noJsxNamespace": {
|
|
6198
6269
|
"description": "Disallow JSX namespace syntax.\nSee https://biomejs.dev/linter/rules/no-jsx-namespace",
|
|
6199
6270
|
"anyOf": [
|
|
@@ -6215,6 +6286,13 @@
|
|
|
6215
6286
|
{ "type": "null" }
|
|
6216
6287
|
]
|
|
6217
6288
|
},
|
|
6289
|
+
"noLoopFunc": {
|
|
6290
|
+
"description": "Disallow functions declared inside loops that capture unsafe outer variables.\nSee https://biomejs.dev/linter/rules/no-loop-func",
|
|
6291
|
+
"anyOf": [
|
|
6292
|
+
{ "$ref": "#/$defs/NoLoopFuncConfiguration" },
|
|
6293
|
+
{ "type": "null" }
|
|
6294
|
+
]
|
|
6295
|
+
},
|
|
6218
6296
|
"noMisleadingReturnType": {
|
|
6219
6297
|
"description": "Detect return type annotations that are misleadingly wider than what the implementation actually returns.\nSee https://biomejs.dev/linter/rules/no-misleading-return-type",
|
|
6220
6298
|
"anyOf": [
|
|
@@ -6334,6 +6412,27 @@
|
|
|
6334
6412
|
{ "type": "null" }
|
|
6335
6413
|
]
|
|
6336
6414
|
},
|
|
6415
|
+
"noReactNativeDeepImports": {
|
|
6416
|
+
"description": "Disallow deep imports from the react-native package.\nSee https://biomejs.dev/linter/rules/no-react-native-deep-imports",
|
|
6417
|
+
"anyOf": [
|
|
6418
|
+
{ "$ref": "#/$defs/NoReactNativeDeepImportsConfiguration" },
|
|
6419
|
+
{ "type": "null" }
|
|
6420
|
+
]
|
|
6421
|
+
},
|
|
6422
|
+
"noReactNativeLiteralColors": {
|
|
6423
|
+
"description": "Disallow color literals in React Native styles.\nSee https://biomejs.dev/linter/rules/no-react-native-literal-colors",
|
|
6424
|
+
"anyOf": [
|
|
6425
|
+
{ "$ref": "#/$defs/NoReactNativeLiteralColorsConfiguration" },
|
|
6426
|
+
{ "type": "null" }
|
|
6427
|
+
]
|
|
6428
|
+
},
|
|
6429
|
+
"noReactNativeRawText": {
|
|
6430
|
+
"description": "Disallow raw text outside \\<Text> components in React Native.\nSee https://biomejs.dev/linter/rules/no-react-native-raw-text",
|
|
6431
|
+
"anyOf": [
|
|
6432
|
+
{ "$ref": "#/$defs/NoReactNativeRawTextConfiguration" },
|
|
6433
|
+
{ "type": "null" }
|
|
6434
|
+
]
|
|
6435
|
+
},
|
|
6337
6436
|
"noRedundantDefaultExport": {
|
|
6338
6437
|
"description": "Checks if a default export exports the same symbol as a named export.\nSee https://biomejs.dev/linter/rules/no-redundant-default-export",
|
|
6339
6438
|
"anyOf": [
|
|
@@ -6411,6 +6510,13 @@
|
|
|
6411
6510
|
{ "type": "null" }
|
|
6412
6511
|
]
|
|
6413
6512
|
},
|
|
6513
|
+
"noUnnecessaryTemplateExpression": {
|
|
6514
|
+
"description": "Disallow unnecessary template expressions.\nSee https://biomejs.dev/linter/rules/no-unnecessary-template-expression",
|
|
6515
|
+
"anyOf": [
|
|
6516
|
+
{ "$ref": "#/$defs/NoUnnecessaryTemplateExpressionConfiguration" },
|
|
6517
|
+
{ "type": "null" }
|
|
6518
|
+
]
|
|
6519
|
+
},
|
|
6414
6520
|
"noUnsafePlusOperands": {
|
|
6415
6521
|
"description": "Disallow + operations with operands that are known to be unsafe.\nSee https://biomejs.dev/linter/rules/no-unsafe-plus-operands",
|
|
6416
6522
|
"anyOf": [
|
|
@@ -6541,6 +6647,20 @@
|
|
|
6541
6647
|
{ "type": "null" }
|
|
6542
6648
|
]
|
|
6543
6649
|
},
|
|
6650
|
+
"useDomNodeTextContent": {
|
|
6651
|
+
"description": "Prefer .textContent over .innerText for DOM node text.\nSee https://biomejs.dev/linter/rules/use-dom-node-text-content",
|
|
6652
|
+
"anyOf": [
|
|
6653
|
+
{ "$ref": "#/$defs/UseDomNodeTextContentConfiguration" },
|
|
6654
|
+
{ "type": "null" }
|
|
6655
|
+
]
|
|
6656
|
+
},
|
|
6657
|
+
"useDomQuerySelector": {
|
|
6658
|
+
"description": "Prefer querySelector() and querySelectorAll() over older DOM query APIs.\nSee https://biomejs.dev/linter/rules/use-dom-query-selector",
|
|
6659
|
+
"anyOf": [
|
|
6660
|
+
{ "$ref": "#/$defs/UseDomQuerySelectorConfiguration" },
|
|
6661
|
+
{ "type": "null" }
|
|
6662
|
+
]
|
|
6663
|
+
},
|
|
6544
6664
|
"useErrorCause": {
|
|
6545
6665
|
"description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
|
|
6546
6666
|
"anyOf": [
|
|
@@ -6669,6 +6789,13 @@
|
|
|
6669
6789
|
{ "type": "null" }
|
|
6670
6790
|
]
|
|
6671
6791
|
},
|
|
6792
|
+
"useReactNativePlatformComponents": {
|
|
6793
|
+
"description": "Ensure that platform-specific React Native components are only imported in files named for that platform.\nSee https://biomejs.dev/linter/rules/use-react-native-platform-components",
|
|
6794
|
+
"anyOf": [
|
|
6795
|
+
{ "$ref": "#/$defs/UseReactNativePlatformComponentsConfiguration" },
|
|
6796
|
+
{ "type": "null" }
|
|
6797
|
+
]
|
|
6798
|
+
},
|
|
6672
6799
|
"useReduceTypeParameter": {
|
|
6673
6800
|
"description": "Enforce using a type parameter on Array#reduce instead of casting the initial value.\nSee https://biomejs.dev/linter/rules/use-reduce-type-parameter",
|
|
6674
6801
|
"anyOf": [
|
|
@@ -6683,6 +6810,13 @@
|
|
|
6683
6810
|
{ "type": "null" }
|
|
6684
6811
|
]
|
|
6685
6812
|
},
|
|
6813
|
+
"useRegexpTest": {
|
|
6814
|
+
"description": "Enforce the use of RegExp.prototype.test() over String.prototype.match() and RegExp.prototype.exec() in boolean contexts.\nSee https://biomejs.dev/linter/rules/use-regexp-test",
|
|
6815
|
+
"anyOf": [
|
|
6816
|
+
{ "$ref": "#/$defs/UseRegexpTestConfiguration" },
|
|
6817
|
+
{ "type": "null" }
|
|
6818
|
+
]
|
|
6819
|
+
},
|
|
6686
6820
|
"useRequiredScripts": {
|
|
6687
6821
|
"description": "Enforce the presence of required scripts in package.json.\nSee https://biomejs.dev/linter/rules/use-required-scripts",
|
|
6688
6822
|
"anyOf": [
|
|
@@ -7321,6 +7455,11 @@
|
|
|
7321
7455
|
"type": "string",
|
|
7322
7456
|
"const": "react"
|
|
7323
7457
|
},
|
|
7458
|
+
{
|
|
7459
|
+
"description": "React Native framework rules",
|
|
7460
|
+
"type": "string",
|
|
7461
|
+
"const": "reactNative"
|
|
7462
|
+
},
|
|
7324
7463
|
{ "description": "Testing rules", "type": "string", "const": "test" },
|
|
7325
7464
|
{
|
|
7326
7465
|
"description": "Solid.js framework rules",
|
|
@@ -8754,6 +8893,16 @@
|
|
|
8754
8893
|
"additionalProperties": false,
|
|
8755
8894
|
"required": ["level"]
|
|
8756
8895
|
},
|
|
8896
|
+
"RuleWithNoJsxLeakedDollarOptions": {
|
|
8897
|
+
"type": "object",
|
|
8898
|
+
"properties": {
|
|
8899
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8900
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8901
|
+
"options": { "$ref": "#/$defs/NoJsxLeakedDollarOptions" }
|
|
8902
|
+
},
|
|
8903
|
+
"additionalProperties": false,
|
|
8904
|
+
"required": ["level"]
|
|
8905
|
+
},
|
|
8757
8906
|
"RuleWithNoJsxLiteralsOptions": {
|
|
8758
8907
|
"type": "object",
|
|
8759
8908
|
"properties": {
|
|
@@ -8808,6 +8957,15 @@
|
|
|
8808
8957
|
"additionalProperties": false,
|
|
8809
8958
|
"required": ["level"]
|
|
8810
8959
|
},
|
|
8960
|
+
"RuleWithNoLoopFuncOptions": {
|
|
8961
|
+
"type": "object",
|
|
8962
|
+
"properties": {
|
|
8963
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8964
|
+
"options": { "$ref": "#/$defs/NoLoopFuncOptions" }
|
|
8965
|
+
},
|
|
8966
|
+
"additionalProperties": false,
|
|
8967
|
+
"required": ["level"]
|
|
8968
|
+
},
|
|
8811
8969
|
"RuleWithNoMagicNumbersOptions": {
|
|
8812
8970
|
"type": "object",
|
|
8813
8971
|
"properties": {
|
|
@@ -9272,6 +9430,33 @@
|
|
|
9272
9430
|
"additionalProperties": false,
|
|
9273
9431
|
"required": ["level"]
|
|
9274
9432
|
},
|
|
9433
|
+
"RuleWithNoReactNativeDeepImportsOptions": {
|
|
9434
|
+
"type": "object",
|
|
9435
|
+
"properties": {
|
|
9436
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9437
|
+
"options": { "$ref": "#/$defs/NoReactNativeDeepImportsOptions" }
|
|
9438
|
+
},
|
|
9439
|
+
"additionalProperties": false,
|
|
9440
|
+
"required": ["level"]
|
|
9441
|
+
},
|
|
9442
|
+
"RuleWithNoReactNativeLiteralColorsOptions": {
|
|
9443
|
+
"type": "object",
|
|
9444
|
+
"properties": {
|
|
9445
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9446
|
+
"options": { "$ref": "#/$defs/NoReactNativeLiteralColorsOptions" }
|
|
9447
|
+
},
|
|
9448
|
+
"additionalProperties": false,
|
|
9449
|
+
"required": ["level"]
|
|
9450
|
+
},
|
|
9451
|
+
"RuleWithNoReactNativeRawTextOptions": {
|
|
9452
|
+
"type": "object",
|
|
9453
|
+
"properties": {
|
|
9454
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9455
|
+
"options": { "$ref": "#/$defs/NoReactNativeRawTextOptions" }
|
|
9456
|
+
},
|
|
9457
|
+
"additionalProperties": false,
|
|
9458
|
+
"required": ["level"]
|
|
9459
|
+
},
|
|
9275
9460
|
"RuleWithNoReactPropAssignmentsOptions": {
|
|
9276
9461
|
"type": "object",
|
|
9277
9462
|
"properties": {
|
|
@@ -9779,6 +9964,16 @@
|
|
|
9779
9964
|
"additionalProperties": false,
|
|
9780
9965
|
"required": ["level"]
|
|
9781
9966
|
},
|
|
9967
|
+
"RuleWithNoUnnecessaryTemplateExpressionOptions": {
|
|
9968
|
+
"type": "object",
|
|
9969
|
+
"properties": {
|
|
9970
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
9971
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9972
|
+
"options": { "$ref": "#/$defs/NoUnnecessaryTemplateExpressionOptions" }
|
|
9973
|
+
},
|
|
9974
|
+
"additionalProperties": false,
|
|
9975
|
+
"required": ["level"]
|
|
9976
|
+
},
|
|
9782
9977
|
"RuleWithNoUnreachableOptions": {
|
|
9783
9978
|
"type": "object",
|
|
9784
9979
|
"properties": {
|
|
@@ -10711,6 +10906,26 @@
|
|
|
10711
10906
|
"additionalProperties": false,
|
|
10712
10907
|
"required": ["level"]
|
|
10713
10908
|
},
|
|
10909
|
+
"RuleWithUseDomNodeTextContentOptions": {
|
|
10910
|
+
"type": "object",
|
|
10911
|
+
"properties": {
|
|
10912
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10913
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10914
|
+
"options": { "$ref": "#/$defs/UseDomNodeTextContentOptions" }
|
|
10915
|
+
},
|
|
10916
|
+
"additionalProperties": false,
|
|
10917
|
+
"required": ["level"]
|
|
10918
|
+
},
|
|
10919
|
+
"RuleWithUseDomQuerySelectorOptions": {
|
|
10920
|
+
"type": "object",
|
|
10921
|
+
"properties": {
|
|
10922
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10923
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10924
|
+
"options": { "$ref": "#/$defs/UseDomQuerySelectorOptions" }
|
|
10925
|
+
},
|
|
10926
|
+
"additionalProperties": false,
|
|
10927
|
+
"required": ["level"]
|
|
10928
|
+
},
|
|
10714
10929
|
"RuleWithUseEnumInitializersOptions": {
|
|
10715
10930
|
"type": "object",
|
|
10716
10931
|
"properties": {
|
|
@@ -11391,6 +11606,15 @@
|
|
|
11391
11606
|
"additionalProperties": false,
|
|
11392
11607
|
"required": ["level"]
|
|
11393
11608
|
},
|
|
11609
|
+
"RuleWithUseReactNativePlatformComponentsOptions": {
|
|
11610
|
+
"type": "object",
|
|
11611
|
+
"properties": {
|
|
11612
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11613
|
+
"options": { "$ref": "#/$defs/UseReactNativePlatformComponentsOptions" }
|
|
11614
|
+
},
|
|
11615
|
+
"additionalProperties": false,
|
|
11616
|
+
"required": ["level"]
|
|
11617
|
+
},
|
|
11394
11618
|
"RuleWithUseReadonlyClassPropertiesOptions": {
|
|
11395
11619
|
"type": "object",
|
|
11396
11620
|
"properties": {
|
|
@@ -11430,6 +11654,16 @@
|
|
|
11430
11654
|
"additionalProperties": false,
|
|
11431
11655
|
"required": ["level"]
|
|
11432
11656
|
},
|
|
11657
|
+
"RuleWithUseRegexpTestOptions": {
|
|
11658
|
+
"type": "object",
|
|
11659
|
+
"properties": {
|
|
11660
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11661
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11662
|
+
"options": { "$ref": "#/$defs/UseRegexpTestOptions" }
|
|
11663
|
+
},
|
|
11664
|
+
"additionalProperties": false,
|
|
11665
|
+
"required": ["level"]
|
|
11666
|
+
},
|
|
11433
11667
|
"RuleWithUseRequiredScriptsOptions": {
|
|
11434
11668
|
"type": "object",
|
|
11435
11669
|
"properties": {
|
|
@@ -12149,7 +12383,7 @@
|
|
|
12149
12383
|
]
|
|
12150
12384
|
},
|
|
12151
12385
|
"organizeImports": {
|
|
12152
|
-
"description": "
|
|
12386
|
+
"description": "Sorts imports and exports in your JavaScript and TypeScript files.\nSee https://biomejs.dev/assist/actions/organize-imports",
|
|
12153
12387
|
"anyOf": [
|
|
12154
12388
|
{ "$ref": "#/$defs/OrganizeImportsConfiguration" },
|
|
12155
12389
|
{ "type": "null" }
|
|
@@ -14050,6 +14284,26 @@
|
|
|
14050
14284
|
"type": "object",
|
|
14051
14285
|
"additionalProperties": false
|
|
14052
14286
|
},
|
|
14287
|
+
"UseDomNodeTextContentConfiguration": {
|
|
14288
|
+
"oneOf": [
|
|
14289
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
14290
|
+
{ "$ref": "#/$defs/RuleWithUseDomNodeTextContentOptions" }
|
|
14291
|
+
]
|
|
14292
|
+
},
|
|
14293
|
+
"UseDomNodeTextContentOptions": {
|
|
14294
|
+
"type": "object",
|
|
14295
|
+
"additionalProperties": false
|
|
14296
|
+
},
|
|
14297
|
+
"UseDomQuerySelectorConfiguration": {
|
|
14298
|
+
"oneOf": [
|
|
14299
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
14300
|
+
{ "$ref": "#/$defs/RuleWithUseDomQuerySelectorOptions" }
|
|
14301
|
+
]
|
|
14302
|
+
},
|
|
14303
|
+
"UseDomQuerySelectorOptions": {
|
|
14304
|
+
"type": "object",
|
|
14305
|
+
"additionalProperties": false
|
|
14306
|
+
},
|
|
14053
14307
|
"UseEnumInitializersConfiguration": {
|
|
14054
14308
|
"oneOf": [
|
|
14055
14309
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14879,6 +15133,28 @@
|
|
|
14879
15133
|
"type": "object",
|
|
14880
15134
|
"additionalProperties": false
|
|
14881
15135
|
},
|
|
15136
|
+
"UseReactNativePlatformComponentsConfiguration": {
|
|
15137
|
+
"oneOf": [
|
|
15138
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15139
|
+
{ "$ref": "#/$defs/RuleWithUseReactNativePlatformComponentsOptions" }
|
|
15140
|
+
]
|
|
15141
|
+
},
|
|
15142
|
+
"UseReactNativePlatformComponentsOptions": {
|
|
15143
|
+
"type": "object",
|
|
15144
|
+
"properties": {
|
|
15145
|
+
"androidPathPatterns": {
|
|
15146
|
+
"description": "A list of glob patterns to identify Android-specific files.\nDefaults to `[\"**/*.android.{js,jsx,ts,tsx}\"]`.",
|
|
15147
|
+
"type": ["array", "null"],
|
|
15148
|
+
"items": { "$ref": "#/$defs/NormalizedGlob" }
|
|
15149
|
+
},
|
|
15150
|
+
"iosPathPatterns": {
|
|
15151
|
+
"description": "A list of glob patterns to identify iOS-specific files.\nDefaults to `[\"**/*.ios.{js,jsx,ts,tsx}\"]`.",
|
|
15152
|
+
"type": ["array", "null"],
|
|
15153
|
+
"items": { "$ref": "#/$defs/NormalizedGlob" }
|
|
15154
|
+
}
|
|
15155
|
+
},
|
|
15156
|
+
"additionalProperties": false
|
|
15157
|
+
},
|
|
14882
15158
|
"UseReadonlyClassPropertiesConfiguration": {
|
|
14883
15159
|
"oneOf": [
|
|
14884
15160
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14922,6 +15198,13 @@
|
|
|
14922
15198
|
]
|
|
14923
15199
|
},
|
|
14924
15200
|
"UseRegexpExecOptions": { "type": "object", "additionalProperties": false },
|
|
15201
|
+
"UseRegexpTestConfiguration": {
|
|
15202
|
+
"oneOf": [
|
|
15203
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15204
|
+
{ "$ref": "#/$defs/RuleWithUseRegexpTestOptions" }
|
|
15205
|
+
]
|
|
15206
|
+
},
|
|
15207
|
+
"UseRegexpTestOptions": { "type": "object", "additionalProperties": false },
|
|
14925
15208
|
"UseRequiredScriptsConfiguration": {
|
|
14926
15209
|
"oneOf": [
|
|
14927
15210
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
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.4.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.4.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.4.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.4.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.4.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.4.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.4.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.4.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.4.13",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.4.13",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.4.13",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.4.13",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.4.13",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.4.13",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.4.13",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.4.13"
|
|
57
57
|
}
|
|
58
58
|
}
|