@biomejs/biome 2.3.14 → 2.3.15

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.
@@ -1584,7 +1584,7 @@
1584
1584
  "anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
1585
1585
  },
1586
1586
  "useEditorconfig": {
1587
- "description": "Use any `.editorconfig` files to configure the formatter. Configuration\nin `biome.json` will override `.editorconfig` configuration.\n\nDefault: `true`.",
1587
+ "description": "Use any `.editorconfig` files to configure the formatter. Configuration\nin `biome.json` will override `.editorconfig` configuration.\n\nDefault: `false`.",
1588
1588
  "anyOf": [{ "$ref": "#/$defs/Bool" }, { "type": "null" }]
1589
1589
  }
1590
1590
  },
@@ -4068,6 +4068,16 @@
4068
4068
  "type": "object",
4069
4069
  "additionalProperties": false
4070
4070
  },
4071
+ "NoNestedPromisesConfiguration": {
4072
+ "oneOf": [
4073
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4074
+ { "$ref": "#/$defs/RuleWithNoNestedPromisesOptions" }
4075
+ ]
4076
+ },
4077
+ "NoNestedPromisesOptions": {
4078
+ "type": "object",
4079
+ "additionalProperties": false
4080
+ },
4071
4081
  "NoNestedTernaryConfiguration": {
4072
4082
  "oneOf": [
4073
4083
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5211,6 +5221,16 @@
5211
5221
  "type": "object",
5212
5222
  "additionalProperties": false
5213
5223
  },
5224
+ "NoUselessReturnConfiguration": {
5225
+ "oneOf": [
5226
+ { "$ref": "#/$defs/RulePlainConfiguration" },
5227
+ { "$ref": "#/$defs/RuleWithNoUselessReturnOptions" }
5228
+ ]
5229
+ },
5230
+ "NoUselessReturnOptions": {
5231
+ "type": "object",
5232
+ "additionalProperties": false
5233
+ },
5214
5234
  "NoUselessStringConcatConfiguration": {
5215
5235
  "oneOf": [
5216
5236
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5663,6 +5683,13 @@
5663
5683
  { "type": "null" }
5664
5684
  ]
5665
5685
  },
5686
+ "noNestedPromises": {
5687
+ "description": "Disallow nested .then() or .catch() promise calls.\nSee https://biomejs.dev/linter/rules/no-nested-promises",
5688
+ "anyOf": [
5689
+ { "$ref": "#/$defs/NoNestedPromisesConfiguration" },
5690
+ { "type": "null" }
5691
+ ]
5692
+ },
5666
5693
  "noNextAsyncClientComponent": {
5667
5694
  "description": "Prevent client components from being async functions.\nSee https://biomejs.dev/linter/rules/no-next-async-client-component",
5668
5695
  "anyOf": [
@@ -5782,6 +5809,13 @@
5782
5809
  { "type": "null" }
5783
5810
  ]
5784
5811
  },
5812
+ "noUselessReturn": {
5813
+ "description": "Disallow redundant return statements.\nSee https://biomejs.dev/linter/rules/no-useless-return",
5814
+ "anyOf": [
5815
+ { "$ref": "#/$defs/NoUselessReturnConfiguration" },
5816
+ { "type": "null" }
5817
+ ]
5818
+ },
5785
5819
  "noUselessUndefined": {
5786
5820
  "description": "Disallow the use of useless undefined.\nSee https://biomejs.dev/linter/rules/no-useless-undefined",
5787
5821
  "anyOf": [
@@ -8079,6 +8113,15 @@
8079
8113
  "additionalProperties": false,
8080
8114
  "required": ["level"]
8081
8115
  },
8116
+ "RuleWithNoNestedPromisesOptions": {
8117
+ "type": "object",
8118
+ "properties": {
8119
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
8120
+ "options": { "$ref": "#/$defs/NoNestedPromisesOptions" }
8121
+ },
8122
+ "additionalProperties": false,
8123
+ "required": ["level"]
8124
+ },
8082
8125
  "RuleWithNoNestedTernaryOptions": {
8083
8126
  "type": "object",
8084
8127
  "properties": {
@@ -9079,6 +9122,16 @@
9079
9122
  "additionalProperties": false,
9080
9123
  "required": ["level"]
9081
9124
  },
9125
+ "RuleWithNoUselessReturnOptions": {
9126
+ "type": "object",
9127
+ "properties": {
9128
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
9129
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
9130
+ "options": { "$ref": "#/$defs/NoUselessReturnOptions" }
9131
+ },
9132
+ "additionalProperties": false,
9133
+ "required": ["level"]
9134
+ },
9082
9135
  "RuleWithNoUselessStringConcatOptions": {
9083
9136
  "type": "object",
9084
9137
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.3.14",
3
+ "version": "2.3.15",
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.14",
50
- "@biomejs/cli-win32-arm64": "2.3.14",
51
- "@biomejs/cli-darwin-x64": "2.3.14",
52
- "@biomejs/cli-darwin-arm64": "2.3.14",
53
- "@biomejs/cli-linux-x64": "2.3.14",
54
- "@biomejs/cli-linux-arm64": "2.3.14",
55
- "@biomejs/cli-linux-x64-musl": "2.3.14",
56
- "@biomejs/cli-linux-arm64-musl": "2.3.14"
49
+ "@biomejs/cli-win32-x64": "2.3.15",
50
+ "@biomejs/cli-win32-arm64": "2.3.15",
51
+ "@biomejs/cli-darwin-x64": "2.3.15",
52
+ "@biomejs/cli-darwin-arm64": "2.3.15",
53
+ "@biomejs/cli-linux-x64": "2.3.15",
54
+ "@biomejs/cli-linux-arm64": "2.3.15",
55
+ "@biomejs/cli-linux-x64-musl": "2.3.15",
56
+ "@biomejs/cli-linux-arm64-musl": "2.3.15"
57
57
  }
58
58
  }