@biomejs/biome 2.4.12 → 2.4.14

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.
@@ -3687,6 +3687,25 @@
3687
3687
  },
3688
3688
  "additionalProperties": false
3689
3689
  },
3690
+ "NoExcessiveNestedCallbacksConfiguration": {
3691
+ "oneOf": [
3692
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3693
+ { "$ref": "#/$defs/RuleWithNoExcessiveNestedCallbacksOptions" }
3694
+ ]
3695
+ },
3696
+ "NoExcessiveNestedCallbacksOptions": {
3697
+ "type": "object",
3698
+ "properties": {
3699
+ "max": {
3700
+ "description": "Maximum callback nesting depth allowed (default: 5)",
3701
+ "type": ["integer", "null"],
3702
+ "format": "uint8",
3703
+ "maximum": 255,
3704
+ "minimum": 0
3705
+ }
3706
+ },
3707
+ "additionalProperties": false
3708
+ },
3690
3709
  "NoExcessiveNestedTestSuitesConfiguration": {
3691
3710
  "oneOf": [
3692
3711
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4160,6 +4179,16 @@
4160
4179
  "type": "object",
4161
4180
  "additionalProperties": false
4162
4181
  },
4182
+ "NoJsxLeakedDollarConfiguration": {
4183
+ "oneOf": [
4184
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4185
+ { "$ref": "#/$defs/RuleWithNoJsxLeakedDollarOptions" }
4186
+ ]
4187
+ },
4188
+ "NoJsxLeakedDollarOptions": {
4189
+ "type": "object",
4190
+ "additionalProperties": false
4191
+ },
4163
4192
  "NoJsxLiteralsConfiguration": {
4164
4193
  "oneOf": [
4165
4194
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4246,6 +4275,13 @@
4246
4275
  ]
4247
4276
  },
4248
4277
  "NoLeakedRenderOptions": { "type": "object" },
4278
+ "NoLoopFuncConfiguration": {
4279
+ "oneOf": [
4280
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4281
+ { "$ref": "#/$defs/RuleWithNoLoopFuncOptions" }
4282
+ ]
4283
+ },
4284
+ "NoLoopFuncOptions": { "type": "object", "additionalProperties": false },
4249
4285
  "NoMagicNumbersConfiguration": {
4250
4286
  "oneOf": [
4251
4287
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4740,6 +4776,43 @@
4740
4776
  "type": "object",
4741
4777
  "additionalProperties": false
4742
4778
  },
4779
+ "NoReactNativeDeepImportsConfiguration": {
4780
+ "oneOf": [
4781
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4782
+ { "$ref": "#/$defs/RuleWithNoReactNativeDeepImportsOptions" }
4783
+ ]
4784
+ },
4785
+ "NoReactNativeDeepImportsOptions": {
4786
+ "type": "object",
4787
+ "additionalProperties": false
4788
+ },
4789
+ "NoReactNativeLiteralColorsConfiguration": {
4790
+ "oneOf": [
4791
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4792
+ { "$ref": "#/$defs/RuleWithNoReactNativeLiteralColorsOptions" }
4793
+ ]
4794
+ },
4795
+ "NoReactNativeLiteralColorsOptions": {
4796
+ "type": "object",
4797
+ "additionalProperties": false
4798
+ },
4799
+ "NoReactNativeRawTextConfiguration": {
4800
+ "oneOf": [
4801
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4802
+ { "$ref": "#/$defs/RuleWithNoReactNativeRawTextOptions" }
4803
+ ]
4804
+ },
4805
+ "NoReactNativeRawTextOptions": {
4806
+ "type": "object",
4807
+ "properties": {
4808
+ "skip": {
4809
+ "description": "Names of additional components that are allowed to contain raw text.",
4810
+ "type": ["array", "null"],
4811
+ "items": { "type": "string" }
4812
+ }
4813
+ },
4814
+ "additionalProperties": false
4815
+ },
4743
4816
  "NoReactPropAssignmentsConfiguration": {
4744
4817
  "oneOf": [
4745
4818
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4760,6 +4833,16 @@
4760
4833
  "type": "object",
4761
4834
  "additionalProperties": false
4762
4835
  },
4836
+ "NoReactStringRefsConfiguration": {
4837
+ "oneOf": [
4838
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4839
+ { "$ref": "#/$defs/RuleWithNoReactStringRefsOptions" }
4840
+ ]
4841
+ },
4842
+ "NoReactStringRefsOptions": {
4843
+ "type": "object",
4844
+ "additionalProperties": false
4845
+ },
4763
4846
  "NoRedeclareConfiguration": {
4764
4847
  "oneOf": [
4765
4848
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4974,7 +5057,20 @@
4974
5057
  { "$ref": "#/$defs/RuleWithNoShadowOptions" }
4975
5058
  ]
4976
5059
  },
4977
- "NoShadowOptions": { "type": "object", "additionalProperties": false },
5060
+ "NoShadowOptions": {
5061
+ "type": "object",
5062
+ "properties": {
5063
+ "ignoreFunctionTypeParameterNameValueShadow": {
5064
+ "description": "Ignore parameter names in function type annotations.\n\nFunction type parameters (e.g. `(x: string) => void`) only create\nbindings within the type scope and rarely cause confusion.\n\nDefaults to `true`.",
5065
+ "type": ["boolean", "null"]
5066
+ },
5067
+ "ignoreTypeValueShadow": {
5068
+ "description": "Ignore cases where a type and a value share the same name.\n\nTypes and values live in separate namespaces in TypeScript, so a\nvariable named `Foo` and a `type Foo` cannot collide at runtime.\n\nDefaults to `true`.",
5069
+ "type": ["boolean", "null"]
5070
+ }
5071
+ },
5072
+ "additionalProperties": false
5073
+ },
4978
5074
  "NoShadowRestrictedNamesConfiguration": {
4979
5075
  "oneOf": [
4980
5076
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5381,6 +5477,16 @@
5381
5477
  "type": "object",
5382
5478
  "additionalProperties": false
5383
5479
  },
5480
+ "NoUnnecessaryTemplateExpressionConfiguration": {
5481
+ "oneOf": [
5482
+ { "$ref": "#/$defs/RulePlainConfiguration" },
5483
+ { "$ref": "#/$defs/RuleWithNoUnnecessaryTemplateExpressionOptions" }
5484
+ ]
5485
+ },
5486
+ "NoUnnecessaryTemplateExpressionOptions": {
5487
+ "type": "object",
5488
+ "additionalProperties": false
5489
+ },
5384
5490
  "NoUnreachableConfiguration": {
5385
5491
  "oneOf": [
5386
5492
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -6131,6 +6237,13 @@
6131
6237
  { "type": "null" }
6132
6238
  ]
6133
6239
  },
6240
+ "noExcessiveNestedCallbacks": {
6241
+ "description": "Enforce a maximum depth that callbacks can be nested.\nSee https://biomejs.dev/linter/rules/no-excessive-nested-callbacks",
6242
+ "anyOf": [
6243
+ { "$ref": "#/$defs/NoExcessiveNestedCallbacksConfiguration" },
6244
+ { "type": "null" }
6245
+ ]
6246
+ },
6134
6247
  "noExcessiveSelectorClasses": {
6135
6248
  "description": "Limit the number of classes in a selector.\nSee https://biomejs.dev/linter/rules/no-excessive-selector-classes",
6136
6249
  "anyOf": [
@@ -6194,6 +6307,13 @@
6194
6307
  { "type": "null" }
6195
6308
  ]
6196
6309
  },
6310
+ "noJsxLeakedDollar": {
6311
+ "description": "Flags text nodes with a trailing $ before a JSX expression.\nSee https://biomejs.dev/linter/rules/no-jsx-leaked-dollar",
6312
+ "anyOf": [
6313
+ { "$ref": "#/$defs/NoJsxLeakedDollarConfiguration" },
6314
+ { "type": "null" }
6315
+ ]
6316
+ },
6197
6317
  "noJsxNamespace": {
6198
6318
  "description": "Disallow JSX namespace syntax.\nSee https://biomejs.dev/linter/rules/no-jsx-namespace",
6199
6319
  "anyOf": [
@@ -6215,6 +6335,13 @@
6215
6335
  { "type": "null" }
6216
6336
  ]
6217
6337
  },
6338
+ "noLoopFunc": {
6339
+ "description": "Disallow functions declared inside loops that capture unsafe outer variables.\nSee https://biomejs.dev/linter/rules/no-loop-func",
6340
+ "anyOf": [
6341
+ { "$ref": "#/$defs/NoLoopFuncConfiguration" },
6342
+ { "type": "null" }
6343
+ ]
6344
+ },
6218
6345
  "noMisleadingReturnType": {
6219
6346
  "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
6347
  "anyOf": [
@@ -6334,6 +6461,34 @@
6334
6461
  { "type": "null" }
6335
6462
  ]
6336
6463
  },
6464
+ "noReactNativeDeepImports": {
6465
+ "description": "Disallow deep imports from the react-native package.\nSee https://biomejs.dev/linter/rules/no-react-native-deep-imports",
6466
+ "anyOf": [
6467
+ { "$ref": "#/$defs/NoReactNativeDeepImportsConfiguration" },
6468
+ { "type": "null" }
6469
+ ]
6470
+ },
6471
+ "noReactNativeLiteralColors": {
6472
+ "description": "Disallow color literals in React Native styles.\nSee https://biomejs.dev/linter/rules/no-react-native-literal-colors",
6473
+ "anyOf": [
6474
+ { "$ref": "#/$defs/NoReactNativeLiteralColorsConfiguration" },
6475
+ { "type": "null" }
6476
+ ]
6477
+ },
6478
+ "noReactNativeRawText": {
6479
+ "description": "Disallow raw text outside \\<Text> components in React Native.\nSee https://biomejs.dev/linter/rules/no-react-native-raw-text",
6480
+ "anyOf": [
6481
+ { "$ref": "#/$defs/NoReactNativeRawTextConfiguration" },
6482
+ { "type": "null" }
6483
+ ]
6484
+ },
6485
+ "noReactStringRefs": {
6486
+ "description": "Disallow string refs in React components.\nSee https://biomejs.dev/linter/rules/no-react-string-refs",
6487
+ "anyOf": [
6488
+ { "$ref": "#/$defs/NoReactStringRefsConfiguration" },
6489
+ { "type": "null" }
6490
+ ]
6491
+ },
6337
6492
  "noRedundantDefaultExport": {
6338
6493
  "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
6494
  "anyOf": [
@@ -6411,6 +6566,13 @@
6411
6566
  { "type": "null" }
6412
6567
  ]
6413
6568
  },
6569
+ "noUnnecessaryTemplateExpression": {
6570
+ "description": "Disallow unnecessary template expressions.\nSee https://biomejs.dev/linter/rules/no-unnecessary-template-expression",
6571
+ "anyOf": [
6572
+ { "$ref": "#/$defs/NoUnnecessaryTemplateExpressionConfiguration" },
6573
+ { "type": "null" }
6574
+ ]
6575
+ },
6414
6576
  "noUnsafePlusOperands": {
6415
6577
  "description": "Disallow + operations with operands that are known to be unsafe.\nSee https://biomejs.dev/linter/rules/no-unsafe-plus-operands",
6416
6578
  "anyOf": [
@@ -6541,6 +6703,20 @@
6541
6703
  { "type": "null" }
6542
6704
  ]
6543
6705
  },
6706
+ "useDomNodeTextContent": {
6707
+ "description": "Prefer .textContent over .innerText for DOM node text.\nSee https://biomejs.dev/linter/rules/use-dom-node-text-content",
6708
+ "anyOf": [
6709
+ { "$ref": "#/$defs/UseDomNodeTextContentConfiguration" },
6710
+ { "type": "null" }
6711
+ ]
6712
+ },
6713
+ "useDomQuerySelector": {
6714
+ "description": "Prefer querySelector() and querySelectorAll() over older DOM query APIs.\nSee https://biomejs.dev/linter/rules/use-dom-query-selector",
6715
+ "anyOf": [
6716
+ { "$ref": "#/$defs/UseDomQuerySelectorConfiguration" },
6717
+ { "type": "null" }
6718
+ ]
6719
+ },
6544
6720
  "useErrorCause": {
6545
6721
  "description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
6546
6722
  "anyOf": [
@@ -6632,6 +6808,13 @@
6632
6808
  { "type": "null" }
6633
6809
  ]
6634
6810
  },
6811
+ "useMathMinMax": {
6812
+ "description": "Prefer Math.min() and Math.max() over ternaries for simple comparisons.\nSee https://biomejs.dev/linter/rules/use-math-min-max",
6813
+ "anyOf": [
6814
+ { "$ref": "#/$defs/UseMathMinMaxConfiguration" },
6815
+ { "type": "null" }
6816
+ ]
6817
+ },
6635
6818
  "useNamedCaptureGroup": {
6636
6819
  "description": "Enforce using named capture groups in regular expression.\nSee https://biomejs.dev/linter/rules/use-named-capture-group",
6637
6820
  "anyOf": [
@@ -6669,6 +6852,13 @@
6669
6852
  { "type": "null" }
6670
6853
  ]
6671
6854
  },
6855
+ "useReactNativePlatformComponents": {
6856
+ "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",
6857
+ "anyOf": [
6858
+ { "$ref": "#/$defs/UseReactNativePlatformComponentsConfiguration" },
6859
+ { "type": "null" }
6860
+ ]
6861
+ },
6672
6862
  "useReduceTypeParameter": {
6673
6863
  "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
6864
  "anyOf": [
@@ -6683,6 +6873,13 @@
6683
6873
  { "type": "null" }
6684
6874
  ]
6685
6875
  },
6876
+ "useRegexpTest": {
6877
+ "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",
6878
+ "anyOf": [
6879
+ { "$ref": "#/$defs/UseRegexpTestConfiguration" },
6880
+ { "type": "null" }
6881
+ ]
6882
+ },
6686
6883
  "useRequiredScripts": {
6687
6884
  "description": "Enforce the presence of required scripts in package.json.\nSee https://biomejs.dev/linter/rules/use-required-scripts",
6688
6885
  "anyOf": [
@@ -6718,6 +6915,13 @@
6718
6915
  { "type": "null" }
6719
6916
  ]
6720
6917
  },
6918
+ "useTestHooksOnTop": {
6919
+ "description": "Enforce that lifecycle hooks appear before any test cases in the same block.\nSee https://biomejs.dev/linter/rules/use-test-hooks-on-top",
6920
+ "anyOf": [
6921
+ { "$ref": "#/$defs/UseTestHooksOnTopConfiguration" },
6922
+ { "type": "null" }
6923
+ ]
6924
+ },
6721
6925
  "useUnicodeRegex": {
6722
6926
  "description": "Enforce the use of the u or v flag for regular expressions.\nSee https://biomejs.dev/linter/rules/use-unicode-regex",
6723
6927
  "anyOf": [
@@ -7321,6 +7525,11 @@
7321
7525
  "type": "string",
7322
7526
  "const": "react"
7323
7527
  },
7528
+ {
7529
+ "description": "React Native framework rules",
7530
+ "type": "string",
7531
+ "const": "reactNative"
7532
+ },
7324
7533
  { "description": "Testing rules", "type": "string", "const": "test" },
7325
7534
  {
7326
7535
  "description": "Solid.js framework rules",
@@ -8311,6 +8520,15 @@
8311
8520
  "additionalProperties": false,
8312
8521
  "required": ["level"]
8313
8522
  },
8523
+ "RuleWithNoExcessiveNestedCallbacksOptions": {
8524
+ "type": "object",
8525
+ "properties": {
8526
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
8527
+ "options": { "$ref": "#/$defs/NoExcessiveNestedCallbacksOptions" }
8528
+ },
8529
+ "additionalProperties": false,
8530
+ "required": ["level"]
8531
+ },
8314
8532
  "RuleWithNoExcessiveNestedTestSuitesOptions": {
8315
8533
  "type": "object",
8316
8534
  "properties": {
@@ -8754,6 +8972,16 @@
8754
8972
  "additionalProperties": false,
8755
8973
  "required": ["level"]
8756
8974
  },
8975
+ "RuleWithNoJsxLeakedDollarOptions": {
8976
+ "type": "object",
8977
+ "properties": {
8978
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
8979
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
8980
+ "options": { "$ref": "#/$defs/NoJsxLeakedDollarOptions" }
8981
+ },
8982
+ "additionalProperties": false,
8983
+ "required": ["level"]
8984
+ },
8757
8985
  "RuleWithNoJsxLiteralsOptions": {
8758
8986
  "type": "object",
8759
8987
  "properties": {
@@ -8808,6 +9036,15 @@
8808
9036
  "additionalProperties": false,
8809
9037
  "required": ["level"]
8810
9038
  },
9039
+ "RuleWithNoLoopFuncOptions": {
9040
+ "type": "object",
9041
+ "properties": {
9042
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9043
+ "options": { "$ref": "#/$defs/NoLoopFuncOptions" }
9044
+ },
9045
+ "additionalProperties": false,
9046
+ "required": ["level"]
9047
+ },
8811
9048
  "RuleWithNoMagicNumbersOptions": {
8812
9049
  "type": "object",
8813
9050
  "properties": {
@@ -9272,6 +9509,33 @@
9272
9509
  "additionalProperties": false,
9273
9510
  "required": ["level"]
9274
9511
  },
9512
+ "RuleWithNoReactNativeDeepImportsOptions": {
9513
+ "type": "object",
9514
+ "properties": {
9515
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9516
+ "options": { "$ref": "#/$defs/NoReactNativeDeepImportsOptions" }
9517
+ },
9518
+ "additionalProperties": false,
9519
+ "required": ["level"]
9520
+ },
9521
+ "RuleWithNoReactNativeLiteralColorsOptions": {
9522
+ "type": "object",
9523
+ "properties": {
9524
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9525
+ "options": { "$ref": "#/$defs/NoReactNativeLiteralColorsOptions" }
9526
+ },
9527
+ "additionalProperties": false,
9528
+ "required": ["level"]
9529
+ },
9530
+ "RuleWithNoReactNativeRawTextOptions": {
9531
+ "type": "object",
9532
+ "properties": {
9533
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9534
+ "options": { "$ref": "#/$defs/NoReactNativeRawTextOptions" }
9535
+ },
9536
+ "additionalProperties": false,
9537
+ "required": ["level"]
9538
+ },
9275
9539
  "RuleWithNoReactPropAssignmentsOptions": {
9276
9540
  "type": "object",
9277
9541
  "properties": {
@@ -9291,6 +9555,15 @@
9291
9555
  "additionalProperties": false,
9292
9556
  "required": ["level"]
9293
9557
  },
9558
+ "RuleWithNoReactStringRefsOptions": {
9559
+ "type": "object",
9560
+ "properties": {
9561
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9562
+ "options": { "$ref": "#/$defs/NoReactStringRefsOptions" }
9563
+ },
9564
+ "additionalProperties": false,
9565
+ "required": ["level"]
9566
+ },
9294
9567
  "RuleWithNoRedeclareOptions": {
9295
9568
  "type": "object",
9296
9569
  "properties": {
@@ -9779,6 +10052,16 @@
9779
10052
  "additionalProperties": false,
9780
10053
  "required": ["level"]
9781
10054
  },
10055
+ "RuleWithNoUnnecessaryTemplateExpressionOptions": {
10056
+ "type": "object",
10057
+ "properties": {
10058
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
10059
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
10060
+ "options": { "$ref": "#/$defs/NoUnnecessaryTemplateExpressionOptions" }
10061
+ },
10062
+ "additionalProperties": false,
10063
+ "required": ["level"]
10064
+ },
9782
10065
  "RuleWithNoUnreachableOptions": {
9783
10066
  "type": "object",
9784
10067
  "properties": {
@@ -10711,6 +10994,26 @@
10711
10994
  "additionalProperties": false,
10712
10995
  "required": ["level"]
10713
10996
  },
10997
+ "RuleWithUseDomNodeTextContentOptions": {
10998
+ "type": "object",
10999
+ "properties": {
11000
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
11001
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11002
+ "options": { "$ref": "#/$defs/UseDomNodeTextContentOptions" }
11003
+ },
11004
+ "additionalProperties": false,
11005
+ "required": ["level"]
11006
+ },
11007
+ "RuleWithUseDomQuerySelectorOptions": {
11008
+ "type": "object",
11009
+ "properties": {
11010
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
11011
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11012
+ "options": { "$ref": "#/$defs/UseDomQuerySelectorOptions" }
11013
+ },
11014
+ "additionalProperties": false,
11015
+ "required": ["level"]
11016
+ },
10714
11017
  "RuleWithUseEnumInitializersOptions": {
10715
11018
  "type": "object",
10716
11019
  "properties": {
@@ -11178,6 +11481,16 @@
11178
11481
  "additionalProperties": false,
11179
11482
  "required": ["level"]
11180
11483
  },
11484
+ "RuleWithUseMathMinMaxOptions": {
11485
+ "type": "object",
11486
+ "properties": {
11487
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
11488
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11489
+ "options": { "$ref": "#/$defs/UseMathMinMaxOptions" }
11490
+ },
11491
+ "additionalProperties": false,
11492
+ "required": ["level"]
11493
+ },
11181
11494
  "RuleWithUseMaxParamsOptions": {
11182
11495
  "type": "object",
11183
11496
  "properties": {
@@ -11391,6 +11704,15 @@
11391
11704
  "additionalProperties": false,
11392
11705
  "required": ["level"]
11393
11706
  },
11707
+ "RuleWithUseReactNativePlatformComponentsOptions": {
11708
+ "type": "object",
11709
+ "properties": {
11710
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11711
+ "options": { "$ref": "#/$defs/UseReactNativePlatformComponentsOptions" }
11712
+ },
11713
+ "additionalProperties": false,
11714
+ "required": ["level"]
11715
+ },
11394
11716
  "RuleWithUseReadonlyClassPropertiesOptions": {
11395
11717
  "type": "object",
11396
11718
  "properties": {
@@ -11430,6 +11752,16 @@
11430
11752
  "additionalProperties": false,
11431
11753
  "required": ["level"]
11432
11754
  },
11755
+ "RuleWithUseRegexpTestOptions": {
11756
+ "type": "object",
11757
+ "properties": {
11758
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
11759
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11760
+ "options": { "$ref": "#/$defs/UseRegexpTestOptions" }
11761
+ },
11762
+ "additionalProperties": false,
11763
+ "required": ["level"]
11764
+ },
11433
11765
  "RuleWithUseRequiredScriptsOptions": {
11434
11766
  "type": "object",
11435
11767
  "properties": {
@@ -11606,6 +11938,15 @@
11606
11938
  "additionalProperties": false,
11607
11939
  "required": ["level"]
11608
11940
  },
11941
+ "RuleWithUseTestHooksOnTopOptions": {
11942
+ "type": "object",
11943
+ "properties": {
11944
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11945
+ "options": { "$ref": "#/$defs/UseTestHooksOnTopOptions" }
11946
+ },
11947
+ "additionalProperties": false,
11948
+ "required": ["level"]
11949
+ },
11609
11950
  "RuleWithUseThrowNewErrorOptions": {
11610
11951
  "type": "object",
11611
11952
  "properties": {
@@ -12149,7 +12490,7 @@
12149
12490
  ]
12150
12491
  },
12151
12492
  "organizeImports": {
12152
- "description": "Provides a code action to sort the imports and exports in the file using a built-in or custom order.\nSee https://biomejs.dev/assist/actions/organize-imports",
12493
+ "description": "Sorts imports and exports in your JavaScript and TypeScript files.\nSee https://biomejs.dev/assist/actions/organize-imports",
12153
12494
  "anyOf": [
12154
12495
  { "$ref": "#/$defs/OrganizeImportsConfiguration" },
12155
12496
  { "type": "null" }
@@ -14050,6 +14391,26 @@
14050
14391
  "type": "object",
14051
14392
  "additionalProperties": false
14052
14393
  },
14394
+ "UseDomNodeTextContentConfiguration": {
14395
+ "oneOf": [
14396
+ { "$ref": "#/$defs/RulePlainConfiguration" },
14397
+ { "$ref": "#/$defs/RuleWithUseDomNodeTextContentOptions" }
14398
+ ]
14399
+ },
14400
+ "UseDomNodeTextContentOptions": {
14401
+ "type": "object",
14402
+ "additionalProperties": false
14403
+ },
14404
+ "UseDomQuerySelectorConfiguration": {
14405
+ "oneOf": [
14406
+ { "$ref": "#/$defs/RulePlainConfiguration" },
14407
+ { "$ref": "#/$defs/RuleWithUseDomQuerySelectorOptions" }
14408
+ ]
14409
+ },
14410
+ "UseDomQuerySelectorOptions": {
14411
+ "type": "object",
14412
+ "additionalProperties": false
14413
+ },
14053
14414
  "UseEnumInitializersConfiguration": {
14054
14415
  "oneOf": [
14055
14416
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -14622,6 +14983,13 @@
14622
14983
  "type": "object",
14623
14984
  "additionalProperties": false
14624
14985
  },
14986
+ "UseMathMinMaxConfiguration": {
14987
+ "oneOf": [
14988
+ { "$ref": "#/$defs/RulePlainConfiguration" },
14989
+ { "$ref": "#/$defs/RuleWithUseMathMinMaxOptions" }
14990
+ ]
14991
+ },
14992
+ "UseMathMinMaxOptions": { "type": "object", "additionalProperties": false },
14625
14993
  "UseMaxParamsConfiguration": {
14626
14994
  "oneOf": [
14627
14995
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -14879,6 +15247,28 @@
14879
15247
  "type": "object",
14880
15248
  "additionalProperties": false
14881
15249
  },
15250
+ "UseReactNativePlatformComponentsConfiguration": {
15251
+ "oneOf": [
15252
+ { "$ref": "#/$defs/RulePlainConfiguration" },
15253
+ { "$ref": "#/$defs/RuleWithUseReactNativePlatformComponentsOptions" }
15254
+ ]
15255
+ },
15256
+ "UseReactNativePlatformComponentsOptions": {
15257
+ "type": "object",
15258
+ "properties": {
15259
+ "androidPathPatterns": {
15260
+ "description": "A list of glob patterns to identify Android-specific files.\nDefaults to `[\"**/*.android.{js,jsx,ts,tsx}\"]`.",
15261
+ "type": ["array", "null"],
15262
+ "items": { "$ref": "#/$defs/NormalizedGlob" }
15263
+ },
15264
+ "iosPathPatterns": {
15265
+ "description": "A list of glob patterns to identify iOS-specific files.\nDefaults to `[\"**/*.ios.{js,jsx,ts,tsx}\"]`.",
15266
+ "type": ["array", "null"],
15267
+ "items": { "$ref": "#/$defs/NormalizedGlob" }
15268
+ }
15269
+ },
15270
+ "additionalProperties": false
15271
+ },
14882
15272
  "UseReadonlyClassPropertiesConfiguration": {
14883
15273
  "oneOf": [
14884
15274
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -14922,6 +15312,13 @@
14922
15312
  ]
14923
15313
  },
14924
15314
  "UseRegexpExecOptions": { "type": "object", "additionalProperties": false },
15315
+ "UseRegexpTestConfiguration": {
15316
+ "oneOf": [
15317
+ { "$ref": "#/$defs/RulePlainConfiguration" },
15318
+ { "$ref": "#/$defs/RuleWithUseRegexpTestOptions" }
15319
+ ]
15320
+ },
15321
+ "UseRegexpTestOptions": { "type": "object", "additionalProperties": false },
14925
15322
  "UseRequiredScriptsConfiguration": {
14926
15323
  "oneOf": [
14927
15324
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -15168,6 +15565,16 @@
15168
15565
  ]
15169
15566
  },
15170
15567
  "UseTemplateOptions": { "type": "object", "additionalProperties": false },
15568
+ "UseTestHooksOnTopConfiguration": {
15569
+ "oneOf": [
15570
+ { "$ref": "#/$defs/RulePlainConfiguration" },
15571
+ { "$ref": "#/$defs/RuleWithUseTestHooksOnTopOptions" }
15572
+ ]
15573
+ },
15574
+ "UseTestHooksOnTopOptions": {
15575
+ "type": "object",
15576
+ "additionalProperties": false
15577
+ },
15171
15578
  "UseThrowNewErrorConfiguration": {
15172
15579
  "oneOf": [
15173
15580
  { "$ref": "#/$defs/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.4.12",
3
+ "version": "2.4.14",
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.12",
50
- "@biomejs/cli-win32-arm64": "2.4.12",
51
- "@biomejs/cli-darwin-x64": "2.4.12",
52
- "@biomejs/cli-darwin-arm64": "2.4.12",
53
- "@biomejs/cli-linux-x64": "2.4.12",
54
- "@biomejs/cli-linux-arm64": "2.4.12",
55
- "@biomejs/cli-linux-x64-musl": "2.4.12",
56
- "@biomejs/cli-linux-arm64-musl": "2.4.12"
49
+ "@biomejs/cli-win32-x64": "2.4.14",
50
+ "@biomejs/cli-win32-arm64": "2.4.14",
51
+ "@biomejs/cli-darwin-x64": "2.4.14",
52
+ "@biomejs/cli-darwin-arm64": "2.4.14",
53
+ "@biomejs/cli-linux-x64": "2.4.14",
54
+ "@biomejs/cli-linux-arm64": "2.4.14",
55
+ "@biomejs/cli-linux-x64-musl": "2.4.14",
56
+ "@biomejs/cli-linux-arm64-musl": "2.4.14"
57
57
  }
58
58
  }