@biomejs/biome 2.3.4 → 2.3.5

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.
@@ -5287,6 +5287,13 @@
5287
5287
  "description": "Enables the recommended rules for this group",
5288
5288
  "type": ["boolean", "null"]
5289
5289
  },
5290
+ "useArraySortCompare": {
5291
+ "description": "Require Array#sort and Array#toSorted calls to always provide a compareFunction.",
5292
+ "anyOf": [
5293
+ { "$ref": "#/definitions/UseArraySortCompareConfiguration" },
5294
+ { "type": "null" }
5295
+ ]
5296
+ },
5290
5297
  "useConsistentArrowReturn": {
5291
5298
  "description": "Enforce consistent arrow function bodies.",
5292
5299
  "anyOf": [
@@ -10224,6 +10231,21 @@
10224
10231
  },
10225
10232
  "additionalProperties": false
10226
10233
  },
10234
+ "RuleWithUseArraySortCompareOptions": {
10235
+ "type": "object",
10236
+ "required": ["level"],
10237
+ "properties": {
10238
+ "level": {
10239
+ "description": "The severity of the emitted diagnostics by the rule",
10240
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
10241
+ },
10242
+ "options": {
10243
+ "description": "Rule's options",
10244
+ "allOf": [{ "$ref": "#/definitions/UseArraySortCompareOptions" }]
10245
+ }
10246
+ },
10247
+ "additionalProperties": false
10248
+ },
10227
10249
  "RuleWithUseArrowFunctionOptions": {
10228
10250
  "type": "object",
10229
10251
  "required": ["level"],
@@ -13850,6 +13872,16 @@
13850
13872
  "type": "object",
13851
13873
  "additionalProperties": false
13852
13874
  },
13875
+ "UseArraySortCompareConfiguration": {
13876
+ "anyOf": [
13877
+ { "$ref": "#/definitions/RulePlainConfiguration" },
13878
+ { "$ref": "#/definitions/RuleWithUseArraySortCompareOptions" }
13879
+ ]
13880
+ },
13881
+ "UseArraySortCompareOptions": {
13882
+ "type": "object",
13883
+ "additionalProperties": false
13884
+ },
13853
13885
  "UseArrowFunctionConfiguration": {
13854
13886
  "anyOf": [
13855
13887
  { "$ref": "#/definitions/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
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.4",
50
- "@biomejs/cli-win32-arm64": "2.3.4",
51
- "@biomejs/cli-darwin-x64": "2.3.4",
52
- "@biomejs/cli-darwin-arm64": "2.3.4",
53
- "@biomejs/cli-linux-x64": "2.3.4",
54
- "@biomejs/cli-linux-arm64": "2.3.4",
55
- "@biomejs/cli-linux-x64-musl": "2.3.4",
56
- "@biomejs/cli-linux-arm64-musl": "2.3.4"
49
+ "@biomejs/cli-win32-x64": "2.3.5",
50
+ "@biomejs/cli-win32-arm64": "2.3.5",
51
+ "@biomejs/cli-darwin-x64": "2.3.5",
52
+ "@biomejs/cli-darwin-arm64": "2.3.5",
53
+ "@biomejs/cli-linux-x64": "2.3.5",
54
+ "@biomejs/cli-linux-arm64": "2.3.5",
55
+ "@biomejs/cli-linux-x64-musl": "2.3.5",
56
+ "@biomejs/cli-linux-arm64-musl": "2.3.5"
57
57
  }
58
58
  }