@biomejs/biome 2.3.7 → 2.3.8

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.
@@ -3051,6 +3051,16 @@
3051
3051
  "type": "object",
3052
3052
  "additionalProperties": false
3053
3053
  },
3054
+ "NoDuplicatedSpreadPropsConfiguration": {
3055
+ "oneOf": [
3056
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3057
+ { "$ref": "#/$defs/RuleWithNoDuplicatedSpreadPropsOptions" }
3058
+ ]
3059
+ },
3060
+ "NoDuplicatedSpreadPropsOptions": {
3061
+ "type": "object",
3062
+ "additionalProperties": false
3063
+ },
3054
3064
  "NoDynamicNamespaceImportAccessConfiguration": {
3055
3065
  "oneOf": [
3056
3066
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -3141,6 +3151,16 @@
3141
3151
  ]
3142
3152
  },
3143
3153
  "NoEnumOptions": { "type": "object", "additionalProperties": false },
3154
+ "NoEqualsToNullConfiguration": {
3155
+ "oneOf": [
3156
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3157
+ { "$ref": "#/$defs/RuleWithNoEqualsToNullOptions" }
3158
+ ]
3159
+ },
3160
+ "NoEqualsToNullOptions": {
3161
+ "type": "object",
3162
+ "additionalProperties": false
3163
+ },
3144
3164
  "NoEvolvingTypesConfiguration": {
3145
3165
  "oneOf": [
3146
3166
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -3666,6 +3686,13 @@
3666
3686
  },
3667
3687
  "additionalProperties": false
3668
3688
  },
3689
+ "NoLeakedRenderConfiguration": {
3690
+ "oneOf": [
3691
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3692
+ { "$ref": "#/$defs/RuleWithNoLeakedRenderOptions" }
3693
+ ]
3694
+ },
3695
+ "NoLeakedRenderOptions": { "type": "object" },
3669
3696
  "NoMagicNumbersConfiguration": {
3670
3697
  "oneOf": [
3671
3698
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -3736,6 +3763,13 @@
3736
3763
  "type": "object",
3737
3764
  "additionalProperties": false
3738
3765
  },
3766
+ "NoMultiStrConfiguration": {
3767
+ "oneOf": [
3768
+ { "$ref": "#/$defs/RulePlainConfiguration" },
3769
+ { "$ref": "#/$defs/RuleWithNoMultiStrOptions" }
3770
+ ]
3771
+ },
3772
+ "NoMultiStrOptions": { "type": "object", "additionalProperties": false },
3739
3773
  "NoNamespaceConfiguration": {
3740
3774
  "oneOf": [
3741
3775
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -3964,6 +3998,13 @@
3964
3998
  "type": "object",
3965
3999
  "additionalProperties": false
3966
4000
  },
4001
+ "NoProtoConfiguration": {
4002
+ "oneOf": [
4003
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4004
+ { "$ref": "#/$defs/RuleWithNoProtoOptions" }
4005
+ ]
4006
+ },
4007
+ "NoProtoOptions": { "type": "object", "additionalProperties": false },
3967
4008
  "NoPrototypeBuiltinsConfiguration": {
3968
4009
  "oneOf": [
3969
4010
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -4351,6 +4392,13 @@
4351
4392
  "type": "object",
4352
4393
  "additionalProperties": false
4353
4394
  },
4395
+ "NoTernaryConfiguration": {
4396
+ "oneOf": [
4397
+ { "$ref": "#/$defs/RulePlainConfiguration" },
4398
+ { "$ref": "#/$defs/RuleWithNoTernaryOptions" }
4399
+ ]
4400
+ },
4401
+ "NoTernaryOptions": { "type": "object", "additionalProperties": false },
4354
4402
  "NoThenPropertyConfiguration": {
4355
4403
  "oneOf": [
4356
4404
  { "$ref": "#/$defs/RulePlainConfiguration" },
@@ -5058,6 +5106,13 @@
5058
5106
  { "type": "null" }
5059
5107
  ]
5060
5108
  },
5109
+ "noDuplicatedSpreadProps": {
5110
+ "description": "Disallow JSX prop spreading the same identifier multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicated-spread-props",
5111
+ "anyOf": [
5112
+ { "$ref": "#/$defs/NoDuplicatedSpreadPropsConfiguration" },
5113
+ { "type": "null" }
5114
+ ]
5115
+ },
5061
5116
  "noEmptySource": {
5062
5117
  "description": "Disallow empty sources.\nSee https://biomejs.dev/linter/rules/no-empty-source",
5063
5118
  "anyOf": [
@@ -5065,6 +5120,13 @@
5065
5120
  { "type": "null" }
5066
5121
  ]
5067
5122
  },
5123
+ "noEqualsToNull": {
5124
+ "description": "Require the use of === or !== for comparison with null.\nSee https://biomejs.dev/linter/rules/no-equals-to-null",
5125
+ "anyOf": [
5126
+ { "$ref": "#/$defs/NoEqualsToNullConfiguration" },
5127
+ { "type": "null" }
5128
+ ]
5129
+ },
5068
5130
  "noFloatingPromises": {
5069
5131
  "description": "Require Promise-like statements to be handled appropriately.\nSee https://biomejs.dev/linter/rules/no-floating-promises",
5070
5132
  "anyOf": [
@@ -5100,6 +5162,13 @@
5100
5162
  { "type": "null" }
5101
5163
  ]
5102
5164
  },
5165
+ "noLeakedRender": {
5166
+ "description": "Prevent problematic leaked values from being rendered.\nSee https://biomejs.dev/linter/rules/no-leaked-render",
5167
+ "anyOf": [
5168
+ { "$ref": "#/$defs/NoLeakedRenderConfiguration" },
5169
+ { "type": "null" }
5170
+ ]
5171
+ },
5103
5172
  "noMisusedPromises": {
5104
5173
  "description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee https://biomejs.dev/linter/rules/no-misused-promises",
5105
5174
  "anyOf": [
@@ -5107,6 +5176,13 @@
5107
5176
  { "type": "null" }
5108
5177
  ]
5109
5178
  },
5179
+ "noMultiStr": {
5180
+ "description": "Disallow creating multiline strings by escaping newlines.\nSee https://biomejs.dev/linter/rules/no-multi-str",
5181
+ "anyOf": [
5182
+ { "$ref": "#/$defs/NoMultiStrConfiguration" },
5183
+ { "type": "null" }
5184
+ ]
5185
+ },
5110
5186
  "noNextAsyncClientComponent": {
5111
5187
  "description": "Prevent client components from being async functions.\nSee https://biomejs.dev/linter/rules/no-next-async-client-component",
5112
5188
  "anyOf": [
@@ -5121,6 +5197,13 @@
5121
5197
  { "type": "null" }
5122
5198
  ]
5123
5199
  },
5200
+ "noProto": {
5201
+ "description": "Disallow the use of the __proto__ property.\nSee https://biomejs.dev/linter/rules/no-proto",
5202
+ "anyOf": [
5203
+ { "$ref": "#/$defs/NoProtoConfiguration" },
5204
+ { "type": "null" }
5205
+ ]
5206
+ },
5124
5207
  "noReactForwardRef": {
5125
5208
  "description": "Replaces usages of forwardRef with passing ref as a prop.\nSee https://biomejs.dev/linter/rules/no-react-forward-ref",
5126
5209
  "anyOf": [
@@ -5142,6 +5225,13 @@
5142
5225
  { "type": "null" }
5143
5226
  ]
5144
5227
  },
5228
+ "noTernary": {
5229
+ "description": "Disallow ternary operators.\nSee https://biomejs.dev/linter/rules/no-ternary",
5230
+ "anyOf": [
5231
+ { "$ref": "#/$defs/NoTernaryConfiguration" },
5232
+ { "type": "null" }
5233
+ ]
5234
+ },
5145
5235
  "noUnknownAttribute": {
5146
5236
  "description": "Disallow unknown DOM properties.\nSee https://biomejs.dev/linter/rules/no-unknown-attribute",
5147
5237
  "anyOf": [
@@ -6477,6 +6567,15 @@
6477
6567
  "additionalProperties": false,
6478
6568
  "required": ["level"]
6479
6569
  },
6570
+ "RuleWithNoDuplicatedSpreadPropsOptions": {
6571
+ "type": "object",
6572
+ "properties": {
6573
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
6574
+ "options": { "$ref": "#/$defs/NoDuplicatedSpreadPropsOptions" }
6575
+ },
6576
+ "additionalProperties": false,
6577
+ "required": ["level"]
6578
+ },
6480
6579
  "RuleWithNoDynamicNamespaceImportAccessOptions": {
6481
6580
  "type": "object",
6482
6581
  "properties": {
@@ -6559,6 +6658,16 @@
6559
6658
  "additionalProperties": false,
6560
6659
  "required": ["level"]
6561
6660
  },
6661
+ "RuleWithNoEqualsToNullOptions": {
6662
+ "type": "object",
6663
+ "properties": {
6664
+ "fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
6665
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
6666
+ "options": { "$ref": "#/$defs/NoEqualsToNullOptions" }
6667
+ },
6668
+ "additionalProperties": false,
6669
+ "required": ["level"]
6670
+ },
6562
6671
  "RuleWithNoEvolvingTypesOptions": {
6563
6672
  "type": "object",
6564
6673
  "properties": {
@@ -7001,6 +7110,15 @@
7001
7110
  "additionalProperties": false,
7002
7111
  "required": ["level"]
7003
7112
  },
7113
+ "RuleWithNoLeakedRenderOptions": {
7114
+ "type": "object",
7115
+ "properties": {
7116
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
7117
+ "options": { "$ref": "#/$defs/NoLeakedRenderOptions" }
7118
+ },
7119
+ "additionalProperties": false,
7120
+ "required": ["level"]
7121
+ },
7004
7122
  "RuleWithNoMagicNumbersOptions": {
7005
7123
  "type": "object",
7006
7124
  "properties": {
@@ -7067,6 +7185,15 @@
7067
7185
  "additionalProperties": false,
7068
7186
  "required": ["level"]
7069
7187
  },
7188
+ "RuleWithNoMultiStrOptions": {
7189
+ "type": "object",
7190
+ "properties": {
7191
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
7192
+ "options": { "$ref": "#/$defs/NoMultiStrOptions" }
7193
+ },
7194
+ "additionalProperties": false,
7195
+ "required": ["level"]
7196
+ },
7070
7197
  "RuleWithNoNamespaceImportOptions": {
7071
7198
  "type": "object",
7072
7199
  "properties": {
@@ -7278,6 +7405,15 @@
7278
7405
  "additionalProperties": false,
7279
7406
  "required": ["level"]
7280
7407
  },
7408
+ "RuleWithNoProtoOptions": {
7409
+ "type": "object",
7410
+ "properties": {
7411
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
7412
+ "options": { "$ref": "#/$defs/NoProtoOptions" }
7413
+ },
7414
+ "additionalProperties": false,
7415
+ "required": ["level"]
7416
+ },
7281
7417
  "RuleWithNoPrototypeBuiltinsOptions": {
7282
7418
  "type": "object",
7283
7419
  "properties": {
@@ -7615,6 +7751,15 @@
7615
7751
  "additionalProperties": false,
7616
7752
  "required": ["level"]
7617
7753
  },
7754
+ "RuleWithNoTernaryOptions": {
7755
+ "type": "object",
7756
+ "properties": {
7757
+ "level": { "$ref": "#/$defs/RulePlainConfiguration" },
7758
+ "options": { "$ref": "#/$defs/NoTernaryOptions" }
7759
+ },
7760
+ "additionalProperties": false,
7761
+ "required": ["level"]
7762
+ },
7618
7763
  "RuleWithNoThenPropertyOptions": {
7619
7764
  "type": "object",
7620
7765
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
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.7",
50
- "@biomejs/cli-win32-arm64": "2.3.7",
51
- "@biomejs/cli-darwin-x64": "2.3.7",
52
- "@biomejs/cli-darwin-arm64": "2.3.7",
53
- "@biomejs/cli-linux-x64": "2.3.7",
54
- "@biomejs/cli-linux-arm64": "2.3.7",
55
- "@biomejs/cli-linux-x64-musl": "2.3.7",
56
- "@biomejs/cli-linux-arm64-musl": "2.3.7"
49
+ "@biomejs/cli-win32-x64": "2.3.8",
50
+ "@biomejs/cli-win32-arm64": "2.3.8",
51
+ "@biomejs/cli-darwin-x64": "2.3.8",
52
+ "@biomejs/cli-darwin-arm64": "2.3.8",
53
+ "@biomejs/cli-linux-x64": "2.3.8",
54
+ "@biomejs/cli-linux-arm64": "2.3.8",
55
+ "@biomejs/cli-linux-x64-musl": "2.3.8",
56
+ "@biomejs/cli-linux-arm64-musl": "2.3.8"
57
57
  }
58
58
  }