@biomejs/biome 2.2.2 → 2.2.4
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.
- package/README.fr.md +3 -0
- package/README.hi.md +3 -0
- package/README.ja.md +3 -0
- package/README.kr.md +3 -0
- package/README.md +3 -0
- package/README.pt-BR.md +3 -0
- package/README.ru.md +3 -0
- package/README.uk.md +3 -0
- package/README.zh-CN.md +3 -0
- package/README.zh-TW.md +3 -0
- package/bin/biome +0 -0
- package/configuration_schema.json +209 -11
- package/package.json +9 -9
package/README.fr.md
CHANGED
|
@@ -181,6 +181,9 @@ Nous utilisons [Polar.sh](https://polar.sh/biomejs) pour voter pour des fonction
|
|
|
181
181
|
<td align="center" valign="middle">
|
|
182
182
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
183
183
|
</td>
|
|
184
|
+
<td align="center" valign="middle">
|
|
185
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
186
|
+
</td>
|
|
184
187
|
</tr>
|
|
185
188
|
</tbody>
|
|
186
189
|
</table>
|
package/README.hi.md
CHANGED
|
@@ -187,6 +187,9 @@ Biome एक सरल प्रायोजन[^37] कार्यक्रम
|
|
|
187
187
|
<td align="center" valign="middle">
|
|
188
188
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
189
189
|
</td>
|
|
190
|
+
<td align="center" valign="middle">
|
|
191
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
192
|
+
</td>
|
|
190
193
|
</tr>
|
|
191
194
|
</tbody>
|
|
192
195
|
</table>
|
package/README.ja.md
CHANGED
|
@@ -164,6 +164,9 @@ Biome についてもっと知るために[ホームページ][biomejs]をチェ
|
|
|
164
164
|
<td align="center" valign="middle">
|
|
165
165
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
166
166
|
</td>
|
|
167
|
+
<td align="center" valign="middle">
|
|
168
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
169
|
+
</td>
|
|
167
170
|
</tr>
|
|
168
171
|
</tbody>
|
|
169
172
|
</table>
|
package/README.kr.md
CHANGED
|
@@ -176,6 +176,9 @@ Biome은 기업이 다양한 개발자들 사이에서 인지도를 얻을 수
|
|
|
176
176
|
<td align="center" valign="middle">
|
|
177
177
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
178
178
|
</td>
|
|
179
|
+
<td align="center" valign="middle">
|
|
180
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
181
|
+
</td>
|
|
179
182
|
</tr>
|
|
180
183
|
</tbody>
|
|
181
184
|
</table>
|
package/README.md
CHANGED
|
@@ -178,6 +178,9 @@ Biome offers [enterprise support](https://biomejs.dev/enterprise), where Core Co
|
|
|
178
178
|
<td align="center" valign="middle">
|
|
179
179
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
180
180
|
</td>
|
|
181
|
+
<td align="center" valign="middle">
|
|
182
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
183
|
+
</td>
|
|
181
184
|
</tr>
|
|
182
185
|
</tbody>
|
|
183
186
|
</table>
|
package/README.pt-BR.md
CHANGED
|
@@ -167,6 +167,9 @@ Leia mais sobre nossa [filosofia de projeto][biome-philosophy].
|
|
|
167
167
|
<td align="center" valign="middle">
|
|
168
168
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
169
169
|
</td>
|
|
170
|
+
<td align="center" valign="middle">
|
|
171
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
172
|
+
</td>
|
|
170
173
|
</tr>
|
|
171
174
|
</tbody>
|
|
172
175
|
</table>
|
package/README.ru.md
CHANGED
|
@@ -179,6 +179,9 @@ Biome предлагает простую спонсорскую програм
|
|
|
179
179
|
<td align="center" valign="middle">
|
|
180
180
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
181
181
|
</td>
|
|
182
|
+
<td align="center" valign="middle">
|
|
183
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
184
|
+
</td>
|
|
182
185
|
</tr>
|
|
183
186
|
</tbody>
|
|
184
187
|
</table>
|
package/README.uk.md
CHANGED
|
@@ -176,6 +176,9 @@ Biome пропонує просту програму спонсорства, я
|
|
|
176
176
|
<td align="center" valign="middle">
|
|
177
177
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
178
178
|
</td>
|
|
179
|
+
<td align="center" valign="middle">
|
|
180
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
181
|
+
</td>
|
|
179
182
|
</tr>
|
|
180
183
|
</tbody>
|
|
181
184
|
</table>
|
package/README.zh-CN.md
CHANGED
|
@@ -161,6 +161,9 @@ npx @biomejs/biome ci ./src
|
|
|
161
161
|
<td align="center" valign="middle">
|
|
162
162
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
163
163
|
</td>
|
|
164
|
+
<td align="center" valign="middle">
|
|
165
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
166
|
+
</td>
|
|
164
167
|
</tr>
|
|
165
168
|
</tbody>
|
|
166
169
|
</table>
|
package/README.zh-TW.md
CHANGED
|
@@ -174,6 +174,9 @@ Biome 提供了一個簡單的贊助計劃,允許公司在各種開發者中
|
|
|
174
174
|
<td align="center" valign="middle">
|
|
175
175
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
176
176
|
</td>
|
|
177
|
+
<td align="center" valign="middle">
|
|
178
|
+
<a href="https://www.egstock.co.jp/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://images.opencollective.com/egstock/b18c836/logo/256.png?height=256" width="80" alt="EGSTOCK, Inc. logo"></a>
|
|
179
|
+
</td>
|
|
177
180
|
</tr>
|
|
178
181
|
</tbody>
|
|
179
182
|
</table>
|
package/bin/biome
CHANGED
|
File without changes
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
]
|
|
227
227
|
},
|
|
228
228
|
"recommended": {
|
|
229
|
-
"description": "
|
|
229
|
+
"description": "Enables the recommended rules for this group",
|
|
230
230
|
"type": ["boolean", "null"]
|
|
231
231
|
},
|
|
232
232
|
"useAltText": {
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
]
|
|
667
667
|
},
|
|
668
668
|
"recommended": {
|
|
669
|
-
"description": "
|
|
669
|
+
"description": "Enables the recommended rules for this group",
|
|
670
670
|
"type": ["boolean", "null"]
|
|
671
671
|
},
|
|
672
672
|
"useArrowFunction": {
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
]
|
|
1181
1181
|
},
|
|
1182
1182
|
"recommended": {
|
|
1183
|
-
"description": "
|
|
1183
|
+
"description": "Enables the recommended rules for this group",
|
|
1184
1184
|
"type": ["boolean", "null"]
|
|
1185
1185
|
},
|
|
1186
1186
|
"useExhaustiveDependencies": {
|
|
@@ -2957,6 +2957,16 @@
|
|
|
2957
2957
|
"type": "object",
|
|
2958
2958
|
"additionalProperties": false
|
|
2959
2959
|
},
|
|
2960
|
+
"NoDuplicateDependenciesConfiguration": {
|
|
2961
|
+
"anyOf": [
|
|
2962
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
2963
|
+
{ "$ref": "#/definitions/RuleWithNoDuplicateDependenciesOptions" }
|
|
2964
|
+
]
|
|
2965
|
+
},
|
|
2966
|
+
"NoDuplicateDependenciesOptions": {
|
|
2967
|
+
"type": "object",
|
|
2968
|
+
"additionalProperties": false
|
|
2969
|
+
},
|
|
2960
2970
|
"NoDuplicateElseIfConfiguration": {
|
|
2961
2971
|
"anyOf": [
|
|
2962
2972
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -3576,6 +3586,34 @@
|
|
|
3576
3586
|
"type": "object",
|
|
3577
3587
|
"additionalProperties": false
|
|
3578
3588
|
},
|
|
3589
|
+
"NoJsxLiteralsConfiguration": {
|
|
3590
|
+
"anyOf": [
|
|
3591
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3592
|
+
{ "$ref": "#/definitions/RuleWithNoJsxLiteralsOptions" }
|
|
3593
|
+
]
|
|
3594
|
+
},
|
|
3595
|
+
"NoJsxLiteralsOptions": {
|
|
3596
|
+
"type": "object",
|
|
3597
|
+
"properties": {
|
|
3598
|
+
"allowedStrings": {
|
|
3599
|
+
"description": "An array of strings that won't trigger the rule. Whitespaces are taken into consideration",
|
|
3600
|
+
"default": [],
|
|
3601
|
+
"type": "array",
|
|
3602
|
+
"items": { "type": "string" }
|
|
3603
|
+
},
|
|
3604
|
+
"ignoreProps": {
|
|
3605
|
+
"description": "When enabled, strings inside props are always ignored",
|
|
3606
|
+
"default": false,
|
|
3607
|
+
"type": "boolean"
|
|
3608
|
+
},
|
|
3609
|
+
"noStrings": {
|
|
3610
|
+
"description": "When enabled, also flag string literals inside JSX expressions and attributes",
|
|
3611
|
+
"default": false,
|
|
3612
|
+
"type": "boolean"
|
|
3613
|
+
}
|
|
3614
|
+
},
|
|
3615
|
+
"additionalProperties": false
|
|
3616
|
+
},
|
|
3579
3617
|
"NoLabelVarConfiguration": {
|
|
3580
3618
|
"anyOf": [
|
|
3581
3619
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -4605,6 +4643,17 @@
|
|
|
4605
4643
|
"type": "object",
|
|
4606
4644
|
"additionalProperties": false
|
|
4607
4645
|
},
|
|
4646
|
+
"NoUselessCatchBindingConfiguration": {
|
|
4647
|
+
"anyOf": [
|
|
4648
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
4649
|
+
{ "$ref": "#/definitions/RuleWithNoUselessCatchBindingOptions" }
|
|
4650
|
+
]
|
|
4651
|
+
},
|
|
4652
|
+
"NoUselessCatchBindingOptions": {
|
|
4653
|
+
"description": "Options for the `noUselessCatchBinding` rule. Currently empty; reserved for future extensions (e.g. allowlist of names).",
|
|
4654
|
+
"type": "object",
|
|
4655
|
+
"additionalProperties": false
|
|
4656
|
+
},
|
|
4608
4657
|
"NoUselessCatchConfiguration": {
|
|
4609
4658
|
"anyOf": [
|
|
4610
4659
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -4900,6 +4949,13 @@
|
|
|
4900
4949
|
"description": "A list of rules that belong to this group",
|
|
4901
4950
|
"type": "object",
|
|
4902
4951
|
"properties": {
|
|
4952
|
+
"noDuplicateDependencies": {
|
|
4953
|
+
"description": "Disallow any dependency from being specified more than once (e.g. in dependencies and devDependencies)",
|
|
4954
|
+
"anyOf": [
|
|
4955
|
+
{ "$ref": "#/definitions/NoDuplicateDependenciesConfiguration" },
|
|
4956
|
+
{ "type": "null" }
|
|
4957
|
+
]
|
|
4958
|
+
},
|
|
4903
4959
|
"noFloatingPromises": {
|
|
4904
4960
|
"description": "Require Promise-like statements to be handled appropriately.",
|
|
4905
4961
|
"anyOf": [
|
|
@@ -4914,6 +4970,13 @@
|
|
|
4914
4970
|
{ "type": "null" }
|
|
4915
4971
|
]
|
|
4916
4972
|
},
|
|
4973
|
+
"noJsxLiterals": {
|
|
4974
|
+
"description": "Disallow string literals inside JSX elements.",
|
|
4975
|
+
"anyOf": [
|
|
4976
|
+
{ "$ref": "#/definitions/NoJsxLiteralsConfiguration" },
|
|
4977
|
+
{ "type": "null" }
|
|
4978
|
+
]
|
|
4979
|
+
},
|
|
4917
4980
|
"noMisusedPromises": {
|
|
4918
4981
|
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.",
|
|
4919
4982
|
"anyOf": [
|
|
@@ -4972,6 +5035,13 @@
|
|
|
4972
5035
|
{ "type": "null" }
|
|
4973
5036
|
]
|
|
4974
5037
|
},
|
|
5038
|
+
"noUselessCatchBinding": {
|
|
5039
|
+
"description": "Disallow unused catch bindings.",
|
|
5040
|
+
"anyOf": [
|
|
5041
|
+
{ "$ref": "#/definitions/NoUselessCatchBindingConfiguration" },
|
|
5042
|
+
{ "type": "null" }
|
|
5043
|
+
]
|
|
5044
|
+
},
|
|
4975
5045
|
"noUselessUndefined": {
|
|
4976
5046
|
"description": "Disallow the use of useless undefined.",
|
|
4977
5047
|
"anyOf": [
|
|
@@ -5001,7 +5071,7 @@
|
|
|
5001
5071
|
]
|
|
5002
5072
|
},
|
|
5003
5073
|
"recommended": {
|
|
5004
|
-
"description": "
|
|
5074
|
+
"description": "Enables the recommended rules for this group",
|
|
5005
5075
|
"type": ["boolean", "null"]
|
|
5006
5076
|
},
|
|
5007
5077
|
"useAnchorHref": {
|
|
@@ -5011,6 +5081,13 @@
|
|
|
5011
5081
|
{ "type": "null" }
|
|
5012
5082
|
]
|
|
5013
5083
|
},
|
|
5084
|
+
"useConsistentArrowReturn": {
|
|
5085
|
+
"description": "Enforce consistent arrow function bodies.",
|
|
5086
|
+
"anyOf": [
|
|
5087
|
+
{ "$ref": "#/definitions/UseConsistentArrowReturnConfiguration" },
|
|
5088
|
+
{ "type": "null" }
|
|
5089
|
+
]
|
|
5090
|
+
},
|
|
5014
5091
|
"useConsistentTypeDefinitions": {
|
|
5015
5092
|
"description": "Enforce type definitions to consistently use either interface or type.",
|
|
5016
5093
|
"anyOf": [
|
|
@@ -5068,6 +5145,15 @@
|
|
|
5068
5145
|
{ "$ref": "#/definitions/UseSortedClassesConfiguration" },
|
|
5069
5146
|
{ "type": "null" }
|
|
5070
5147
|
]
|
|
5148
|
+
},
|
|
5149
|
+
"useVueMultiWordComponentNames": {
|
|
5150
|
+
"description": "Enforce multi-word component names in Vue components.",
|
|
5151
|
+
"anyOf": [
|
|
5152
|
+
{
|
|
5153
|
+
"$ref": "#/definitions/UseVueMultiWordComponentNamesConfiguration"
|
|
5154
|
+
},
|
|
5155
|
+
{ "type": "null" }
|
|
5156
|
+
]
|
|
5071
5157
|
}
|
|
5072
5158
|
},
|
|
5073
5159
|
"additionalProperties": false
|
|
@@ -5434,7 +5520,7 @@
|
|
|
5434
5520
|
]
|
|
5435
5521
|
},
|
|
5436
5522
|
"recommended": {
|
|
5437
|
-
"description": "
|
|
5523
|
+
"description": "Enables the recommended rules for this group",
|
|
5438
5524
|
"type": ["boolean", "null"]
|
|
5439
5525
|
},
|
|
5440
5526
|
"useGoogleFontPreconnect": {
|
|
@@ -5635,7 +5721,7 @@
|
|
|
5635
5721
|
"enum": ["none"]
|
|
5636
5722
|
},
|
|
5637
5723
|
{
|
|
5638
|
-
"description": "
|
|
5724
|
+
"description": "Enables only the recommended rules for this domain",
|
|
5639
5725
|
"type": "string",
|
|
5640
5726
|
"enum": ["recommended"]
|
|
5641
5727
|
}
|
|
@@ -6519,6 +6605,21 @@
|
|
|
6519
6605
|
},
|
|
6520
6606
|
"additionalProperties": false
|
|
6521
6607
|
},
|
|
6608
|
+
"RuleWithNoDuplicateDependenciesOptions": {
|
|
6609
|
+
"type": "object",
|
|
6610
|
+
"required": ["level"],
|
|
6611
|
+
"properties": {
|
|
6612
|
+
"level": {
|
|
6613
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
6614
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
6615
|
+
},
|
|
6616
|
+
"options": {
|
|
6617
|
+
"description": "Rule's options",
|
|
6618
|
+
"allOf": [{ "$ref": "#/definitions/NoDuplicateDependenciesOptions" }]
|
|
6619
|
+
}
|
|
6620
|
+
},
|
|
6621
|
+
"additionalProperties": false
|
|
6622
|
+
},
|
|
6522
6623
|
"RuleWithNoDuplicateElseIfOptions": {
|
|
6523
6624
|
"type": "object",
|
|
6524
6625
|
"required": ["level"],
|
|
@@ -7498,6 +7599,21 @@
|
|
|
7498
7599
|
},
|
|
7499
7600
|
"additionalProperties": false
|
|
7500
7601
|
},
|
|
7602
|
+
"RuleWithNoJsxLiteralsOptions": {
|
|
7603
|
+
"type": "object",
|
|
7604
|
+
"required": ["level"],
|
|
7605
|
+
"properties": {
|
|
7606
|
+
"level": {
|
|
7607
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
7608
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
7609
|
+
},
|
|
7610
|
+
"options": {
|
|
7611
|
+
"description": "Rule's options",
|
|
7612
|
+
"allOf": [{ "$ref": "#/definitions/NoJsxLiteralsOptions" }]
|
|
7613
|
+
}
|
|
7614
|
+
},
|
|
7615
|
+
"additionalProperties": false
|
|
7616
|
+
},
|
|
7501
7617
|
"RuleWithNoLabelVarOptions": {
|
|
7502
7618
|
"type": "object",
|
|
7503
7619
|
"required": ["level"],
|
|
@@ -9068,6 +9184,25 @@
|
|
|
9068
9184
|
},
|
|
9069
9185
|
"additionalProperties": false
|
|
9070
9186
|
},
|
|
9187
|
+
"RuleWithNoUselessCatchBindingOptions": {
|
|
9188
|
+
"type": "object",
|
|
9189
|
+
"required": ["level"],
|
|
9190
|
+
"properties": {
|
|
9191
|
+
"fix": {
|
|
9192
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
9193
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
9194
|
+
},
|
|
9195
|
+
"level": {
|
|
9196
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
9197
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
9198
|
+
},
|
|
9199
|
+
"options": {
|
|
9200
|
+
"description": "Rule's options",
|
|
9201
|
+
"allOf": [{ "$ref": "#/definitions/NoUselessCatchBindingOptions" }]
|
|
9202
|
+
}
|
|
9203
|
+
},
|
|
9204
|
+
"additionalProperties": false
|
|
9205
|
+
},
|
|
9071
9206
|
"RuleWithNoUselessCatchOptions": {
|
|
9072
9207
|
"type": "object",
|
|
9073
9208
|
"required": ["level"],
|
|
@@ -9953,6 +10088,25 @@
|
|
|
9953
10088
|
},
|
|
9954
10089
|
"additionalProperties": false
|
|
9955
10090
|
},
|
|
10091
|
+
"RuleWithUseConsistentArrowReturnOptions": {
|
|
10092
|
+
"type": "object",
|
|
10093
|
+
"required": ["level"],
|
|
10094
|
+
"properties": {
|
|
10095
|
+
"fix": {
|
|
10096
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
10097
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
10098
|
+
},
|
|
10099
|
+
"level": {
|
|
10100
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
10101
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
10102
|
+
},
|
|
10103
|
+
"options": {
|
|
10104
|
+
"description": "Rule's options",
|
|
10105
|
+
"allOf": [{ "$ref": "#/definitions/UseConsistentArrowReturnOptions" }]
|
|
10106
|
+
}
|
|
10107
|
+
},
|
|
10108
|
+
"additionalProperties": false
|
|
10109
|
+
},
|
|
9956
10110
|
"RuleWithUseConsistentBuiltinInstantiationOptions": {
|
|
9957
10111
|
"type": "object",
|
|
9958
10112
|
"required": ["level"],
|
|
@@ -11622,6 +11776,23 @@
|
|
|
11622
11776
|
},
|
|
11623
11777
|
"additionalProperties": false
|
|
11624
11778
|
},
|
|
11779
|
+
"RuleWithUseVueMultiWordComponentNamesOptions": {
|
|
11780
|
+
"type": "object",
|
|
11781
|
+
"required": ["level"],
|
|
11782
|
+
"properties": {
|
|
11783
|
+
"level": {
|
|
11784
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
11785
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
11786
|
+
},
|
|
11787
|
+
"options": {
|
|
11788
|
+
"description": "Rule's options",
|
|
11789
|
+
"allOf": [
|
|
11790
|
+
{ "$ref": "#/definitions/UseVueMultiWordComponentNamesOptions" }
|
|
11791
|
+
]
|
|
11792
|
+
}
|
|
11793
|
+
},
|
|
11794
|
+
"additionalProperties": false
|
|
11795
|
+
},
|
|
11625
11796
|
"RuleWithUseWhileOptions": {
|
|
11626
11797
|
"type": "object",
|
|
11627
11798
|
"required": ["level"],
|
|
@@ -11751,7 +11922,7 @@
|
|
|
11751
11922
|
]
|
|
11752
11923
|
},
|
|
11753
11924
|
"recommended": {
|
|
11754
|
-
"description": "
|
|
11925
|
+
"description": "Enables the recommended rules for this group",
|
|
11755
11926
|
"type": ["boolean", "null"]
|
|
11756
11927
|
}
|
|
11757
11928
|
},
|
|
@@ -11854,7 +12025,7 @@
|
|
|
11854
12025
|
]
|
|
11855
12026
|
},
|
|
11856
12027
|
"recommended": {
|
|
11857
|
-
"description": "
|
|
12028
|
+
"description": "Enables the recommended rules for this group",
|
|
11858
12029
|
"type": ["boolean", "null"]
|
|
11859
12030
|
},
|
|
11860
12031
|
"useSortedAttributes": {
|
|
@@ -11867,7 +12038,7 @@
|
|
|
11867
12038
|
]
|
|
11868
12039
|
},
|
|
11869
12040
|
"useSortedKeys": {
|
|
11870
|
-
"description": "
|
|
12041
|
+
"description": "Sort the keys of a JSON object in natural order.",
|
|
11871
12042
|
"anyOf": [
|
|
11872
12043
|
{
|
|
11873
12044
|
"$ref": "#/definitions/RuleAssistConfiguration_for_UseSortedKeysOptions"
|
|
@@ -12111,7 +12282,7 @@
|
|
|
12111
12282
|
]
|
|
12112
12283
|
},
|
|
12113
12284
|
"recommended": {
|
|
12114
|
-
"description": "
|
|
12285
|
+
"description": "Enables the recommended rules for this group",
|
|
12115
12286
|
"type": ["boolean", "null"]
|
|
12116
12287
|
},
|
|
12117
12288
|
"useArrayLiterals": {
|
|
@@ -13037,7 +13208,7 @@
|
|
|
13037
13208
|
]
|
|
13038
13209
|
},
|
|
13039
13210
|
"recommended": {
|
|
13040
|
-
"description": "
|
|
13211
|
+
"description": "Enables the recommended rules for this group",
|
|
13041
13212
|
"type": ["boolean", "null"]
|
|
13042
13213
|
},
|
|
13043
13214
|
"useAdjacentOverloadSignatures": {
|
|
@@ -13374,6 +13545,16 @@
|
|
|
13374
13545
|
},
|
|
13375
13546
|
"additionalProperties": false
|
|
13376
13547
|
},
|
|
13548
|
+
"UseConsistentArrowReturnConfiguration": {
|
|
13549
|
+
"anyOf": [
|
|
13550
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
13551
|
+
{ "$ref": "#/definitions/RuleWithUseConsistentArrowReturnOptions" }
|
|
13552
|
+
]
|
|
13553
|
+
},
|
|
13554
|
+
"UseConsistentArrowReturnOptions": {
|
|
13555
|
+
"type": "object",
|
|
13556
|
+
"additionalProperties": false
|
|
13557
|
+
},
|
|
13377
13558
|
"UseConsistentBuiltinInstantiationConfiguration": {
|
|
13378
13559
|
"anyOf": [
|
|
13379
13560
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
@@ -14467,6 +14648,23 @@
|
|
|
14467
14648
|
"type": "object",
|
|
14468
14649
|
"additionalProperties": false
|
|
14469
14650
|
},
|
|
14651
|
+
"UseVueMultiWordComponentNamesConfiguration": {
|
|
14652
|
+
"anyOf": [
|
|
14653
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
14654
|
+
{ "$ref": "#/definitions/RuleWithUseVueMultiWordComponentNamesOptions" }
|
|
14655
|
+
]
|
|
14656
|
+
},
|
|
14657
|
+
"UseVueMultiWordComponentNamesOptions": {
|
|
14658
|
+
"type": "object",
|
|
14659
|
+
"properties": {
|
|
14660
|
+
"ignores": {
|
|
14661
|
+
"description": "Component names to ignore (allowed to be single-word).",
|
|
14662
|
+
"type": "array",
|
|
14663
|
+
"items": { "type": "string" }
|
|
14664
|
+
}
|
|
14665
|
+
},
|
|
14666
|
+
"additionalProperties": false
|
|
14667
|
+
},
|
|
14470
14668
|
"UseWhileConfiguration": {
|
|
14471
14669
|
"anyOf": [
|
|
14472
14670
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
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.2.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.2.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.2.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.2.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.2.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.2.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.2.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.2.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.2.4",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.2.4",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.2.4",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.2.4",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.2.4",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.2.4",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.2.4",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.2.4"
|
|
57
57
|
}
|
|
58
58
|
}
|