@biomejs/biome 2.3.1 → 2.3.3

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.
@@ -1510,7 +1510,7 @@
1510
1510
  "type": "object",
1511
1511
  "properties": {
1512
1512
  "experimentalScannerIgnores": {
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.",
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.",
1514
1514
  "type": ["array", "null"],
1515
1515
  "items": { "type": "string" }
1516
1516
  },
@@ -3577,6 +3577,23 @@
3577
3577
  "type": "object",
3578
3578
  "additionalProperties": false
3579
3579
  },
3580
+ "NoIncrementDecrementConfiguration": {
3581
+ "anyOf": [
3582
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3583
+ { "$ref": "#/definitions/RuleWithNoIncrementDecrementOptions" }
3584
+ ]
3585
+ },
3586
+ "NoIncrementDecrementOptions": {
3587
+ "type": "object",
3588
+ "properties": {
3589
+ "allowForLoopAfterthoughts": {
3590
+ "description": "Allows unary operators ++ and -- in the afterthought (final expression) of a for loop.",
3591
+ "default": false,
3592
+ "type": "boolean"
3593
+ }
3594
+ },
3595
+ "additionalProperties": false
3596
+ },
3580
3597
  "NoInferrableTypesConfiguration": {
3581
3598
  "anyOf": [
3582
3599
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -3985,6 +4002,18 @@
3985
4002
  "type": "object",
3986
4003
  "additionalProperties": false
3987
4004
  },
4005
+ "NoParametersOnlyUsedInRecursionConfiguration": {
4006
+ "anyOf": [
4007
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4008
+ {
4009
+ "$ref": "#/definitions/RuleWithNoParametersOnlyUsedInRecursionOptions"
4010
+ }
4011
+ ]
4012
+ },
4013
+ "NoParametersOnlyUsedInRecursionOptions": {
4014
+ "type": "object",
4015
+ "additionalProperties": false
4016
+ },
3988
4017
  "NoPositiveTabindexConfiguration": {
3989
4018
  "anyOf": [
3990
4019
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4517,6 +4546,19 @@
4517
4546
  },
4518
4547
  "additionalProperties": false
4519
4548
  },
4549
+ "NoUnknownAttributeConfiguration": {
4550
+ "anyOf": [
4551
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4552
+ { "$ref": "#/definitions/RuleWithNoUnknownAttributeOptions" }
4553
+ ]
4554
+ },
4555
+ "NoUnknownAttributeOptions": {
4556
+ "type": "object",
4557
+ "properties": {
4558
+ "ignore": { "type": "array", "items": { "type": "string" } }
4559
+ },
4560
+ "additionalProperties": false
4561
+ },
4520
4562
  "NoUnknownFunctionConfiguration": {
4521
4563
  "anyOf": [
4522
4564
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -5116,6 +5158,13 @@
5116
5158
  { "type": "null" }
5117
5159
  ]
5118
5160
  },
5161
+ "noIncrementDecrement": {
5162
+ "description": "Disallows the usage of the unary operators ++ and --.",
5163
+ "anyOf": [
5164
+ { "$ref": "#/definitions/NoIncrementDecrementConfiguration" },
5165
+ { "type": "null" }
5166
+ ]
5167
+ },
5119
5168
  "noJsxLiterals": {
5120
5169
  "description": "Disallow string literals inside JSX elements.",
5121
5170
  "anyOf": [
@@ -5137,6 +5186,15 @@
5137
5186
  { "type": "null" }
5138
5187
  ]
5139
5188
  },
5189
+ "noParametersOnlyUsedInRecursion": {
5190
+ "description": "Disallow function parameters that are only used in recursive calls.",
5191
+ "anyOf": [
5192
+ {
5193
+ "$ref": "#/definitions/NoParametersOnlyUsedInRecursionConfiguration"
5194
+ },
5195
+ { "type": "null" }
5196
+ ]
5197
+ },
5140
5198
  "noReactForwardRef": {
5141
5199
  "description": "Replaces usages of forwardRef with passing ref as a prop.",
5142
5200
  "anyOf": [
@@ -5151,6 +5209,13 @@
5151
5209
  { "type": "null" }
5152
5210
  ]
5153
5211
  },
5212
+ "noUnknownAttribute": {
5213
+ "description": "Disallow unknown DOM properties.",
5214
+ "anyOf": [
5215
+ { "$ref": "#/definitions/NoUnknownAttributeConfiguration" },
5216
+ { "type": "null" }
5217
+ ]
5218
+ },
5154
5219
  "noUnnecessaryConditions": {
5155
5220
  "description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.",
5156
5221
  "anyOf": [
@@ -7586,6 +7651,21 @@
7586
7651
  },
7587
7652
  "additionalProperties": false
7588
7653
  },
7654
+ "RuleWithNoIncrementDecrementOptions": {
7655
+ "type": "object",
7656
+ "required": ["level"],
7657
+ "properties": {
7658
+ "level": {
7659
+ "description": "The severity of the emitted diagnostics by the rule",
7660
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
7661
+ },
7662
+ "options": {
7663
+ "description": "Rule's options",
7664
+ "allOf": [{ "$ref": "#/definitions/NoIncrementDecrementOptions" }]
7665
+ }
7666
+ },
7667
+ "additionalProperties": false
7668
+ },
7589
7669
  "RuleWithNoInferrableTypesOptions": {
7590
7670
  "type": "object",
7591
7671
  "required": ["level"],
@@ -8208,6 +8288,27 @@
8208
8288
  },
8209
8289
  "additionalProperties": false
8210
8290
  },
8291
+ "RuleWithNoParametersOnlyUsedInRecursionOptions": {
8292
+ "type": "object",
8293
+ "required": ["level"],
8294
+ "properties": {
8295
+ "fix": {
8296
+ "description": "The kind of the code actions emitted by the rule",
8297
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
8298
+ },
8299
+ "level": {
8300
+ "description": "The severity of the emitted diagnostics by the rule",
8301
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
8302
+ },
8303
+ "options": {
8304
+ "description": "Rule's options",
8305
+ "allOf": [
8306
+ { "$ref": "#/definitions/NoParametersOnlyUsedInRecursionOptions" }
8307
+ ]
8308
+ }
8309
+ },
8310
+ "additionalProperties": false
8311
+ },
8211
8312
  "RuleWithNoPositiveTabindexOptions": {
8212
8313
  "type": "object",
8213
8314
  "required": ["level"],
@@ -8987,6 +9088,21 @@
8987
9088
  },
8988
9089
  "additionalProperties": false
8989
9090
  },
9091
+ "RuleWithNoUnknownAttributeOptions": {
9092
+ "type": "object",
9093
+ "required": ["level"],
9094
+ "properties": {
9095
+ "level": {
9096
+ "description": "The severity of the emitted diagnostics by the rule",
9097
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
9098
+ },
9099
+ "options": {
9100
+ "description": "Rule's options",
9101
+ "allOf": [{ "$ref": "#/definitions/NoUnknownAttributeOptions" }]
9102
+ }
9103
+ },
9104
+ "additionalProperties": false
9105
+ },
8990
9106
  "RuleWithNoUnknownFunctionOptions": {
8991
9107
  "type": "object",
8992
9108
  "required": ["level"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
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.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"
49
+ "@biomejs/cli-win32-x64": "2.3.3",
50
+ "@biomejs/cli-win32-arm64": "2.3.3",
51
+ "@biomejs/cli-darwin-x64": "2.3.3",
52
+ "@biomejs/cli-darwin-arm64": "2.3.3",
53
+ "@biomejs/cli-linux-x64": "2.3.3",
54
+ "@biomejs/cli-linux-arm64": "2.3.3",
55
+ "@biomejs/cli-linux-x64-musl": "2.3.3",
56
+ "@biomejs/cli-linux-arm64-musl": "2.3.3"
57
57
  }
58
58
  }