@biomejs/biome 2.3.2 → 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
  },
@@ -4002,6 +4002,18 @@
4002
4002
  "type": "object",
4003
4003
  "additionalProperties": false
4004
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
+ },
4005
4017
  "NoPositiveTabindexConfiguration": {
4006
4018
  "anyOf": [
4007
4019
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4534,6 +4546,19 @@
4534
4546
  },
4535
4547
  "additionalProperties": false
4536
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
+ },
4537
4562
  "NoUnknownFunctionConfiguration": {
4538
4563
  "anyOf": [
4539
4564
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -5161,6 +5186,15 @@
5161
5186
  { "type": "null" }
5162
5187
  ]
5163
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
+ },
5164
5198
  "noReactForwardRef": {
5165
5199
  "description": "Replaces usages of forwardRef with passing ref as a prop.",
5166
5200
  "anyOf": [
@@ -5175,6 +5209,13 @@
5175
5209
  { "type": "null" }
5176
5210
  ]
5177
5211
  },
5212
+ "noUnknownAttribute": {
5213
+ "description": "Disallow unknown DOM properties.",
5214
+ "anyOf": [
5215
+ { "$ref": "#/definitions/NoUnknownAttributeConfiguration" },
5216
+ { "type": "null" }
5217
+ ]
5218
+ },
5178
5219
  "noUnnecessaryConditions": {
5179
5220
  "description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.",
5180
5221
  "anyOf": [
@@ -8247,6 +8288,27 @@
8247
8288
  },
8248
8289
  "additionalProperties": false
8249
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
+ },
8250
8312
  "RuleWithNoPositiveTabindexOptions": {
8251
8313
  "type": "object",
8252
8314
  "required": ["level"],
@@ -9026,6 +9088,21 @@
9026
9088
  },
9027
9089
  "additionalProperties": false
9028
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
+ },
9029
9106
  "RuleWithNoUnknownFunctionOptions": {
9030
9107
  "type": "object",
9031
9108
  "required": ["level"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.3.2",
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.2",
50
- "@biomejs/cli-win32-arm64": "2.3.2",
51
- "@biomejs/cli-darwin-x64": "2.3.2",
52
- "@biomejs/cli-darwin-arm64": "2.3.2",
53
- "@biomejs/cli-linux-x64": "2.3.2",
54
- "@biomejs/cli-linux-arm64": "2.3.2",
55
- "@biomejs/cli-linux-x64-musl": "2.3.2",
56
- "@biomejs/cli-linux-arm64-musl": "2.3.2"
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
  }