@biomejs/biome 2.4.9 → 2.4.11

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/README.es.md CHANGED
@@ -127,9 +127,6 @@ Biome ofrece [soporte empresarial](https://biomejs.dev/enterprise), donde colabo
127
127
  <table>
128
128
  <tbody>
129
129
  <tr>
130
- <td align="center" valign="middle">
131
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
132
- </td>
133
130
  <td align="center" valign="middle">
134
131
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
135
132
  </td>
package/README.fr.md CHANGED
@@ -131,9 +131,6 @@ Nous utilisons [Polar.sh](https://polar.sh/biomejs) pour voter pour des fonction
131
131
  <table>
132
132
  <tbody>
133
133
  <tr>
134
- <td align="center" valign="middle">
135
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
136
- </td>
137
134
  <td align="center" valign="middle">
138
135
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
139
136
  </td>
package/README.hi.md CHANGED
@@ -137,9 +137,6 @@ Biome एक सरल प्रायोजन[^37] कार्यक्रम
137
137
  <table>
138
138
  <tbody>
139
139
  <tr>
140
- <td align="center" valign="middle">
141
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
142
- </td>
143
140
  <td align="center" valign="middle">
144
141
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
145
142
  </td>
package/README.ja.md CHANGED
@@ -113,9 +113,6 @@ Biome についてもっと知るために[ホームページ][biomejs]をチェ
113
113
  <table>
114
114
  <tbody>
115
115
  <tr>
116
- <td align="center" valign="middle">
117
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
118
- </td>
119
116
  <td align="center" valign="middle">
120
117
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
121
118
  </td>
package/README.kr.md CHANGED
@@ -126,9 +126,6 @@ Biome은 기업이 다양한 개발자들 사이에서 인지도를 얻을 수
126
126
  <table>
127
127
  <tbody>
128
128
  <tr>
129
- <td align="center" valign="middle">
130
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
131
- </td>
132
129
  <td align="center" valign="middle">
133
130
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
134
131
  </td>
package/README.md CHANGED
@@ -128,9 +128,6 @@ Biome offers [enterprise support](https://biomejs.dev/enterprise), where Core Co
128
128
  <table>
129
129
  <tbody>
130
130
  <tr>
131
- <td align="center" valign="middle">
132
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
133
- </td>
134
131
  <td align="center" valign="middle">
135
132
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
136
133
  </td>
package/README.pl.md CHANGED
@@ -128,9 +128,6 @@ Biome oferuje [wsparcie enterprise](https://biomejs.dev/enterprise), gdzie Core
128
128
  <table>
129
129
  <tbody>
130
130
  <tr>
131
- <td align="center" valign="middle">
132
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
133
- </td>
134
131
  <td align="center" valign="middle">
135
132
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
136
133
  </td>
package/README.pt-BR.md CHANGED
@@ -117,9 +117,6 @@ Leia mais sobre nossa [filosofia de projeto][biome-philosophy].
117
117
  <table>
118
118
  <tbody>
119
119
  <tr>
120
- <td align="center" valign="middle">
121
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
122
- </td>
123
120
  <td align="center" valign="middle">
124
121
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
125
122
  </td>
package/README.ru.md CHANGED
@@ -129,9 +129,6 @@ Biome предлагает простую спонсорскую програм
129
129
  <table>
130
130
  <tbody>
131
131
  <tr>
132
- <td align="center" valign="middle">
133
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
134
- </td>
135
132
  <td align="center" valign="middle">
136
133
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
137
134
  </td>
package/README.uk.md CHANGED
@@ -127,9 +127,6 @@ Biome пропонує просту програму спонсорства, я
127
127
  <table>
128
128
  <tbody>
129
129
  <tr>
130
- <td align="center" valign="middle">
131
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
132
- </td>
133
130
  <td align="center" valign="middle">
134
131
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
135
132
  </td>
package/README.zh-CN.md CHANGED
@@ -111,9 +111,6 @@ npx @biomejs/biome ci ./src
111
111
  <table>
112
112
  <tbody>
113
113
  <tr>
114
- <td align="center" valign="middle">
115
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
116
- </td>
117
114
  <td align="center" valign="middle">
118
115
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
119
116
  </td>
package/README.zh-TW.md CHANGED
@@ -124,9 +124,6 @@ Biome 提供了一個簡單的贊助計劃,允許公司在各種開發者中
124
124
  <table>
125
125
  <tbody>
126
126
  <tr>
127
- <td align="center" valign="middle">
128
- <a href="https://l2beat.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100" alt="L2BEAT logo"></a>
129
- </td>
130
127
  <td align="center" valign="middle">
131
128
  <a href="https://lokalise.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/14294501?s=200&v=4" height="100" alt="Lokalise logo"></a>
132
129
  </td>
@@ -3940,6 +3940,13 @@
3940
3940
  "type": "object",
3941
3941
  "additionalProperties": false
3942
3942
  },
3943
+ "NoImpliedEvalConfiguration": {
3944
+ "oneOf": [
3945
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3946
+ { "$ref": "#/$defs/RuleWithNoImpliedEvalOptions" }
3947
+ ]
3948
+ },
3949
+ "NoImpliedEvalOptions": { "type": "object", "additionalProperties": false },
3943
3950
  "NoImportAssignConfiguration": {
3944
3951
  "oneOf": [
3945
3952
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4220,6 +4227,16 @@
4220
4227
  "type": "object",
4221
4228
  "additionalProperties": false
4222
4229
  },
4230
+ "NoMisleadingReturnTypeConfiguration": {
4231
+ "oneOf": [
4232
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4233
+ { "$ref": "#/$defs/RuleWithNoMisleadingReturnTypeOptions" }
4234
+ ]
4235
+ },
4236
+ "NoMisleadingReturnTypeOptions": {
4237
+ "type": "object",
4238
+ "additionalProperties": false
4239
+ },
4223
4240
  "NoMisplacedAssertionConfiguration": {
4224
4241
  "oneOf": [
4225
4242
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5382,6 +5399,16 @@
5382
5399
  "type": "object",
5383
5400
  "additionalProperties": false
5384
5401
  },
5402
+ "NoUnsafePlusOperandsConfiguration": {
5403
+ "oneOf": [
5404
+ { "$ref": "#/$defs/RulePlainConfiguration" },
5405
+ { "$ref": "#/$defs/RuleWithNoUnsafePlusOperandsOptions" }
5406
+ ]
5407
+ },
5408
+ "NoUnsafePlusOperandsOptions": {
5409
+ "type": "object",
5410
+ "additionalProperties": false
5411
+ },
5385
5412
  "NoUntrustedLicensesConfiguration": {
5386
5413
  "oneOf": [
5387
5414
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5706,6 +5733,16 @@
5706
5733
  "type": "object",
5707
5734
  "additionalProperties": false
5708
5735
  },
5736
+ "NoUselessTypeConversionConfiguration": {
5737
+ "oneOf": [
5738
+ { "$ref": "#/$defs/RulePlainConfiguration" },
5739
+ { "$ref": "#/$defs/RuleWithNoUselessTypeConversionOptions" }
5740
+ ]
5741
+ },
5742
+ "NoUselessTypeConversionOptions": {
5743
+ "type": "object",
5744
+ "additionalProperties": false
5745
+ },
5709
5746
  "NoUselessUndefinedConfiguration": {
5710
5747
  "oneOf": [
5711
5748
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -6066,6 +6103,13 @@
6066
6103
  { "type": "null" }
6067
6104
  ]
6068
6105
  },
6106
+ "noImpliedEval": {
6107
+ "description": "Disallow the use of eval()-like methods.\nSee https://biomejs.dev/linter/rules/no-implied-eval",
6108
+ "anyOf": [
6109
+ { "$ref": "#/$defs/NoImpliedEvalConfiguration" },
6110
+ { "type": "null" }
6111
+ ]
6112
+ },
6069
6113
  "noIncrementDecrement": {
6070
6114
  "description": "Disallows the usage of the unary operators ++ and --.\nSee https://biomejs.dev/linter/rules/no-increment-decrement",
6071
6115
  "anyOf": [
@@ -6094,6 +6138,13 @@
6094
6138
  { "type": "null" }
6095
6139
  ]
6096
6140
  },
6141
+ "noMisleadingReturnType": {
6142
+ "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",
6143
+ "anyOf": [
6144
+ { "$ref": "#/$defs/NoMisleadingReturnTypeConfiguration" },
6145
+ { "type": "null" }
6146
+ ]
6147
+ },
6097
6148
  "noMisusedPromises": {
6098
6149
  "description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee https://biomejs.dev/linter/rules/no-misused-promises",
6099
6150
  "anyOf": [
@@ -6283,6 +6334,13 @@
6283
6334
  { "type": "null" }
6284
6335
  ]
6285
6336
  },
6337
+ "noUnsafePlusOperands": {
6338
+ "description": "Disallow + operations with operands that are known to be unsafe.\nSee https://biomejs.dev/linter/rules/no-unsafe-plus-operands",
6339
+ "anyOf": [
6340
+ { "$ref": "#/$defs/NoUnsafePlusOperandsConfiguration" },
6341
+ { "type": "null" }
6342
+ ]
6343
+ },
6286
6344
  "noUntrustedLicenses": {
6287
6345
  "description": "Disallow dependencies with untrusted licenses.\nSee https://biomejs.dev/linter/rules/no-untrusted-licenses",
6288
6346
  "anyOf": [
@@ -6297,6 +6355,13 @@
6297
6355
  { "type": "null" }
6298
6356
  ]
6299
6357
  },
6358
+ "noUselessTypeConversion": {
6359
+ "description": "Disallow type conversions that do not change the type of an expression.\nSee https://biomejs.dev/linter/rules/no-useless-type-conversion",
6360
+ "anyOf": [
6361
+ { "$ref": "#/$defs/NoUselessTypeConversionConfiguration" },
6362
+ { "type": "null" }
6363
+ ]
6364
+ },
6300
6365
  "noVueArrowFuncInWatch": {
6301
6366
  "description": "Disallows using arrow functions when defining a watcher.\nSee https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch",
6302
6367
  "anyOf": [
@@ -6378,6 +6443,13 @@
6378
6443
  { "type": "null" }
6379
6444
  ]
6380
6445
  },
6446
+ "useConsistentTestIt": {
6447
+ "description": "Enforce consistent use of it or test for test functions.\nSee https://biomejs.dev/linter/rules/use-consistent-test-it",
6448
+ "anyOf": [
6449
+ { "$ref": "#/$defs/UseConsistentTestItConfiguration" },
6450
+ { "type": "null" }
6451
+ ]
6452
+ },
6381
6453
  "useDestructuring": {
6382
6454
  "description": "Require destructuring from arrays and/or objects.\nSee https://biomejs.dev/linter/rules/use-destructuring",
6383
6455
  "anyOf": [
@@ -6385,6 +6457,13 @@
6385
6457
  { "type": "null" }
6386
6458
  ]
6387
6459
  },
6460
+ "useDisposables": {
6461
+ "description": "Detects a disposable object assigned to a variable without using or await using syntax.\nSee https://biomejs.dev/linter/rules/use-disposables",
6462
+ "anyOf": [
6463
+ { "$ref": "#/$defs/UseDisposablesConfiguration" },
6464
+ { "type": "null" }
6465
+ ]
6466
+ },
6388
6467
  "useErrorCause": {
6389
6468
  "description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
6390
6469
  "anyOf": [
@@ -6406,6 +6485,13 @@
6406
6485
  { "type": "null" }
6407
6486
  ]
6408
6487
  },
6488
+ "useExplicitReturnType": {
6489
+ "description": "Require explicit return types on functions and class methods.\nSee https://biomejs.dev/linter/rules/use-explicit-return-type",
6490
+ "anyOf": [
6491
+ { "$ref": "#/$defs/UseExplicitReturnTypeConfiguration" },
6492
+ { "type": "null" }
6493
+ ]
6494
+ },
6409
6495
  "useExplicitType": {
6410
6496
  "description": "Enforce types in functions, methods, variables, and parameters.\nSee https://biomejs.dev/linter/rules/use-explicit-type",
6411
6497
  "anyOf": [
@@ -6485,6 +6571,13 @@
6485
6571
  { "type": "null" }
6486
6572
  ]
6487
6573
  },
6574
+ "useQwikLoaderLocation": {
6575
+ "description": "Enforce that Qwik loader functions are declared in the correct location.\nSee https://biomejs.dev/linter/rules/use-qwik-loader-location",
6576
+ "anyOf": [
6577
+ { "$ref": "#/$defs/UseQwikLoaderLocationConfiguration" },
6578
+ { "type": "null" }
6579
+ ]
6580
+ },
6488
6581
  "useRegexpExec": {
6489
6582
  "description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee https://biomejs.dev/linter/rules/use-regexp-exec",
6490
6583
  "anyOf": [
@@ -6586,7 +6679,7 @@
6586
6679
  ]
6587
6680
  },
6588
6681
  "useVueValidVBind": {
6589
- "description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-bind",
6682
+ "description": "Forbids v-bind directives with missing values or invalid modifiers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-bind",
6590
6683
  "anyOf": [
6591
6684
  { "$ref": "#/$defs/UseVueValidVBindConfiguration" },
6592
6685
  { "type": "null" }
@@ -8360,6 +8453,15 @@
8360
8453
  "additionalProperties": false,
8361
8454
  "required": ["level"]
8362
8455
  },
8456
+ "RuleWithNoImpliedEvalOptions": {
8457
+ "type": "object",
8458
+ "properties": {
8459
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
8460
+ "options": { "$ref": "#/$defs/NoImpliedEvalOptions" }
8461
+ },
8462
+ "additionalProperties": false,
8463
+ "required": ["level"]
8464
+ },
8363
8465
  "RuleWithNoImportAssignOptions": {
8364
8466
  "type": "object",
8365
8467
  "properties": {
@@ -8586,6 +8688,15 @@
8586
8688
  "additionalProperties": false,
8587
8689
  "required": ["level"]
8588
8690
  },
8691
+ "RuleWithNoMisleadingReturnTypeOptions": {
8692
+ "type": "object",
8693
+ "properties": {
8694
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
8695
+ "options": { "$ref": "#/$defs/NoMisleadingReturnTypeOptions" }
8696
+ },
8697
+ "additionalProperties": false,
8698
+ "required": ["level"]
8699
+ },
8589
8700
  "RuleWithNoMisplacedAssertionOptions": {
8590
8701
  "type": "object",
8591
8702
  "properties": {
@@ -9584,6 +9695,15 @@
9584
9695
  "additionalProperties": false,
9585
9696
  "required": ["level"]
9586
9697
  },
9698
+ "RuleWithNoUnsafePlusOperandsOptions": {
9699
+ "type": "object",
9700
+ "properties": {
9701
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9702
+ "options": { "$ref": "#/$defs/NoUnsafePlusOperandsOptions" }
9703
+ },
9704
+ "additionalProperties": false,
9705
+ "required": ["level"]
9706
+ },
9587
9707
  "RuleWithNoUntrustedLicensesOptions": {
9588
9708
  "type": "object",
9589
9709
  "properties": {
@@ -9869,6 +9989,15 @@
9869
9989
  "additionalProperties": false,
9870
9990
  "required": ["level"]
9871
9991
  },
9992
+ "RuleWithNoUselessTypeConversionOptions": {
9993
+ "type": "object",
9994
+ "properties": {
9995
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9996
+ "options": { "$ref": "#/$defs/NoUselessTypeConversionOptions" }
9997
+ },
9998
+ "additionalProperties": false,
9999
+ "required": ["level"]
10000
+ },
9872
10001
  "RuleWithNoUselessUndefinedInitializationOptions": {
9873
10002
  "type": "object",
9874
10003
  "properties": {
@@ -10329,6 +10458,16 @@
10329
10458
  "additionalProperties": false,
10330
10459
  "required": ["level"]
10331
10460
  },
10461
+ "RuleWithUseConsistentTestItOptions": {
10462
+ "type": "object",
10463
+ "properties": {
10464
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
10465
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
10466
+ "options": { "$ref": "#/$defs/UseConsistentTestItOptions" }
10467
+ },
10468
+ "additionalProperties": false,
10469
+ "required": ["level"]
10470
+ },
10332
10471
  "RuleWithUseConsistentTypeDefinitionsOptions": {
10333
10472
  "type": "object",
10334
10473
  "properties": {
@@ -10414,6 +10553,16 @@
10414
10553
  "additionalProperties": false,
10415
10554
  "required": ["level"]
10416
10555
  },
10556
+ "RuleWithUseDisposablesOptions": {
10557
+ "type": "object",
10558
+ "properties": {
10559
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
10560
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
10561
+ "options": { "$ref": "#/$defs/UseDisposablesOptions" }
10562
+ },
10563
+ "additionalProperties": false,
10564
+ "required": ["level"]
10565
+ },
10417
10566
  "RuleWithUseEnumInitializersOptions": {
10418
10567
  "type": "object",
10419
10568
  "properties": {
@@ -10481,6 +10630,15 @@
10481
10630
  "additionalProperties": false,
10482
10631
  "required": ["level"]
10483
10632
  },
10633
+ "RuleWithUseExplicitReturnTypeOptions": {
10634
+ "type": "object",
10635
+ "properties": {
10636
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
10637
+ "options": { "$ref": "#/$defs/UseExplicitReturnTypeOptions" }
10638
+ },
10639
+ "additionalProperties": false,
10640
+ "required": ["level"]
10641
+ },
10484
10642
  "RuleWithUseExplicitTypeOptions": {
10485
10643
  "type": "object",
10486
10644
  "properties": {
@@ -11030,6 +11188,15 @@
11030
11188
  "additionalProperties": false,
11031
11189
  "required": ["level"]
11032
11190
  },
11191
+ "RuleWithUseQwikLoaderLocationOptions": {
11192
+ "type": "object",
11193
+ "properties": {
11194
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
11195
+ "options": { "$ref": "#/$defs/UseQwikLoaderLocationOptions" }
11196
+ },
11197
+ "additionalProperties": false,
11198
+ "required": ["level"]
11199
+ },
11033
11200
  "RuleWithUseQwikMethodUsageOptions": {
11034
11201
  "type": "object",
11035
11202
  "properties": {
@@ -13129,6 +13296,21 @@
13129
13296
  },
13130
13297
  "additionalProperties": false
13131
13298
  },
13299
+ "TestFunctionKind": {
13300
+ "description": "The function to use for tests",
13301
+ "oneOf": [
13302
+ {
13303
+ "description": "Use `it()` for tests",
13304
+ "type": "string",
13305
+ "const": "it"
13306
+ },
13307
+ {
13308
+ "description": "Use `test()` for tests",
13309
+ "type": "string",
13310
+ "const": "test"
13311
+ }
13312
+ ]
13313
+ },
13132
13314
  "TrailingNewline": { "type": "boolean" },
13133
13315
  "UseAdjacentOverloadSignaturesConfiguration": {
13134
13316
  "oneOf": [
@@ -13548,6 +13730,27 @@
13548
13730
  },
13549
13731
  "additionalProperties": false
13550
13732
  },
13733
+ "UseConsistentTestItConfiguration": {
13734
+ "oneOf": [
13735
+ { "$ref": "#/$defs/RulePlainConfiguration" },
13736
+ { "$ref": "#/$defs/RuleWithUseConsistentTestItOptions" }
13737
+ ]
13738
+ },
13739
+ "UseConsistentTestItOptions": {
13740
+ "description": "Options for the `useConsistentTestIt` rule",
13741
+ "type": "object",
13742
+ "properties": {
13743
+ "function": {
13744
+ "description": "The function to use for top-level tests (outside describe blocks).\nDefault: `\"it\"`",
13745
+ "anyOf": [{ "$ref": "#/$defs/TestFunctionKind" }, { "type": "null" }]
13746
+ },
13747
+ "withinDescribe": {
13748
+ "description": "The function to use for tests inside describe blocks.\nDefault: `\"it\"`",
13749
+ "anyOf": [{ "$ref": "#/$defs/TestFunctionKind" }, { "type": "null" }]
13750
+ }
13751
+ },
13752
+ "additionalProperties": false
13753
+ },
13551
13754
  "UseConsistentTypeDefinitionsConfiguration": {
13552
13755
  "oneOf": [
13553
13756
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -13641,6 +13844,16 @@
13641
13844
  "type": "object",
13642
13845
  "additionalProperties": false
13643
13846
  },
13847
+ "UseDisposablesConfiguration": {
13848
+ "oneOf": [
13849
+ { "$ref": "#/$defs/RulePlainConfiguration" },
13850
+ { "$ref": "#/$defs/RuleWithUseDisposablesOptions" }
13851
+ ]
13852
+ },
13853
+ "UseDisposablesOptions": {
13854
+ "type": "object",
13855
+ "additionalProperties": false
13856
+ },
13644
13857
  "UseEnumInitializersConfiguration": {
13645
13858
  "oneOf": [
13646
13859
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -13731,6 +13944,32 @@
13731
13944
  "type": "object",
13732
13945
  "additionalProperties": false
13733
13946
  },
13947
+ "UseExplicitReturnTypeConfiguration": {
13948
+ "oneOf": [
13949
+ { "$ref": "#/$defs/RulePlainConfiguration" },
13950
+ { "$ref": "#/$defs/RuleWithUseExplicitReturnTypeOptions" }
13951
+ ]
13952
+ },
13953
+ "UseExplicitReturnTypeOptions": {
13954
+ "description": "Options for the `useExplicitReturnType` rule.",
13955
+ "type": "object",
13956
+ "properties": {
13957
+ "allowExpressions": {
13958
+ "description": "Whether to ignore function expressions (functions that are not part of a declaration).\nWhen `true`, only declarations (function statements and class methods) are checked.",
13959
+ "type": ["boolean", "null"]
13960
+ },
13961
+ "allowIifes": {
13962
+ "description": "Whether to allow IIFEs (Immediately Invoked Function Expressions) without explicit return types.",
13963
+ "type": ["boolean", "null"]
13964
+ },
13965
+ "allowedNames": {
13966
+ "description": "A list of function names that are allowed to not have explicit return types.",
13967
+ "type": ["array", "null"],
13968
+ "items": { "type": "string" }
13969
+ }
13970
+ },
13971
+ "additionalProperties": false
13972
+ },
13734
13973
  "UseExplicitTypeConfiguration": {
13735
13974
  "oneOf": [
13736
13975
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -14285,6 +14524,11 @@
14285
14524
  "description": "Whether to ignore `||` expressions in conditional test positions\n(if/while/for/do-while/ternary conditions).\n\nWhen `true` (the default), the rule will not report `||` expressions\nthat appear in places where the falsy-checking behavior may be intentional.\n\nDefault: `true`",
14286
14525
  "type": ["boolean", "null"],
14287
14526
  "default": null
14527
+ },
14528
+ "ignoreTernaryTests": {
14529
+ "description": "Whether to ignore ternary expressions that could be simplified\nusing the nullish coalescing operator.\n\nDefault: `false`",
14530
+ "type": ["boolean", "null"],
14531
+ "default": null
14288
14532
  }
14289
14533
  },
14290
14534
  "additionalProperties": false
@@ -14379,6 +14623,16 @@
14379
14623
  "type": "object",
14380
14624
  "additionalProperties": false
14381
14625
  },
14626
+ "UseQwikLoaderLocationConfiguration": {
14627
+ "oneOf": [
14628
+ { "$ref": "#/$defs/RulePlainConfiguration" },
14629
+ { "$ref": "#/$defs/RuleWithUseQwikLoaderLocationOptions" }
14630
+ ]
14631
+ },
14632
+ "UseQwikLoaderLocationOptions": {
14633
+ "type": "object",
14634
+ "additionalProperties": false
14635
+ },
14382
14636
  "UseQwikMethodUsageConfiguration": {
14383
14637
  "oneOf": [
14384
14638
  { "$ref": "#/$defs/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.4.9",
3
+ "version": "2.4.11",
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.9",
50
- "@biomejs/cli-win32-arm64": "2.4.9",
51
- "@biomejs/cli-darwin-x64": "2.4.9",
52
- "@biomejs/cli-darwin-arm64": "2.4.9",
53
- "@biomejs/cli-linux-x64": "2.4.9",
54
- "@biomejs/cli-linux-arm64": "2.4.9",
55
- "@biomejs/cli-linux-x64-musl": "2.4.9",
56
- "@biomejs/cli-linux-arm64-musl": "2.4.9"
49
+ "@biomejs/cli-win32-x64": "2.4.11",
50
+ "@biomejs/cli-win32-arm64": "2.4.11",
51
+ "@biomejs/cli-darwin-x64": "2.4.11",
52
+ "@biomejs/cli-darwin-arm64": "2.4.11",
53
+ "@biomejs/cli-linux-x64": "2.4.11",
54
+ "@biomejs/cli-linux-arm64": "2.4.11",
55
+ "@biomejs/cli-linux-x64-musl": "2.4.11",
56
+ "@biomejs/cli-linux-arm64-musl": "2.4.11"
57
57
  }
58
58
  }