@biomejs/biome 2.3.10 → 2.3.11
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/configuration_schema.json +494 -0
- package/package.json +9 -9
|
@@ -1381,6 +1381,20 @@
|
|
|
1381
1381
|
},
|
|
1382
1382
|
"additionalProperties": false
|
|
1383
1383
|
},
|
|
1384
|
+
"DeclarationStyle": {
|
|
1385
|
+
"oneOf": [
|
|
1386
|
+
{
|
|
1387
|
+
"description": "defineProps<{...}>()",
|
|
1388
|
+
"type": "string",
|
|
1389
|
+
"const": "type"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"description": "defineProps({...})",
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"const": "runtime"
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
},
|
|
1384
1398
|
"DependencyAvailability": {
|
|
1385
1399
|
"oneOf": [
|
|
1386
1400
|
{
|
|
@@ -2590,6 +2604,18 @@
|
|
|
2590
2604
|
]
|
|
2591
2605
|
},
|
|
2592
2606
|
"NoBarrelFileOptions": { "type": "object", "additionalProperties": false },
|
|
2607
|
+
"NoBeforeInteractiveScriptOutsideDocumentConfiguration": {
|
|
2608
|
+
"oneOf": [
|
|
2609
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2610
|
+
{
|
|
2611
|
+
"$ref": "#/$defs/RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions"
|
|
2612
|
+
}
|
|
2613
|
+
]
|
|
2614
|
+
},
|
|
2615
|
+
"NoBeforeInteractiveScriptOutsideDocumentOptions": {
|
|
2616
|
+
"type": "object",
|
|
2617
|
+
"additionalProperties": false
|
|
2618
|
+
},
|
|
2593
2619
|
"NoBiomeFirstExceptionConfiguration": {
|
|
2594
2620
|
"oneOf": [
|
|
2595
2621
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3674,6 +3700,16 @@
|
|
|
3674
3700
|
},
|
|
3675
3701
|
"additionalProperties": false
|
|
3676
3702
|
},
|
|
3703
|
+
"NoJsxPropsBindConfiguration": {
|
|
3704
|
+
"oneOf": [
|
|
3705
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3706
|
+
{ "$ref": "#/$defs/RuleWithNoJsxPropsBindOptions" }
|
|
3707
|
+
]
|
|
3708
|
+
},
|
|
3709
|
+
"NoJsxPropsBindOptions": {
|
|
3710
|
+
"type": "object",
|
|
3711
|
+
"additionalProperties": false
|
|
3712
|
+
},
|
|
3677
3713
|
"NoLabelVarConfiguration": {
|
|
3678
3714
|
"oneOf": [
|
|
3679
3715
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3785,6 +3821,13 @@
|
|
|
3785
3821
|
"type": "object",
|
|
3786
3822
|
"additionalProperties": false
|
|
3787
3823
|
},
|
|
3824
|
+
"NoMultiAssignConfiguration": {
|
|
3825
|
+
"oneOf": [
|
|
3826
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3827
|
+
{ "$ref": "#/$defs/RuleWithNoMultiAssignOptions" }
|
|
3828
|
+
]
|
|
3829
|
+
},
|
|
3830
|
+
"NoMultiAssignOptions": { "type": "object", "additionalProperties": false },
|
|
3788
3831
|
"NoMultiStrConfiguration": {
|
|
3789
3832
|
"oneOf": [
|
|
3790
3833
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4223,6 +4266,16 @@
|
|
|
4223
4266
|
},
|
|
4224
4267
|
"additionalProperties": false
|
|
4225
4268
|
},
|
|
4269
|
+
"NoReturnAssignConfiguration": {
|
|
4270
|
+
"oneOf": [
|
|
4271
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4272
|
+
{ "$ref": "#/$defs/RuleWithNoReturnAssignOptions" }
|
|
4273
|
+
]
|
|
4274
|
+
},
|
|
4275
|
+
"NoReturnAssignOptions": {
|
|
4276
|
+
"type": "object",
|
|
4277
|
+
"additionalProperties": false
|
|
4278
|
+
},
|
|
4226
4279
|
"NoScriptUrlConfiguration": {
|
|
4227
4280
|
"oneOf": [
|
|
4228
4281
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5148,6 +5201,15 @@
|
|
|
5148
5201
|
{ "type": "null" }
|
|
5149
5202
|
]
|
|
5150
5203
|
},
|
|
5204
|
+
"noBeforeInteractiveScriptOutsideDocument": {
|
|
5205
|
+
"description": "Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.\nSee <https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document>",
|
|
5206
|
+
"anyOf": [
|
|
5207
|
+
{
|
|
5208
|
+
"$ref": "#/$defs/NoBeforeInteractiveScriptOutsideDocumentConfiguration"
|
|
5209
|
+
},
|
|
5210
|
+
{ "type": "null" }
|
|
5211
|
+
]
|
|
5212
|
+
},
|
|
5151
5213
|
"noContinue": {
|
|
5152
5214
|
"description": "Disallow continue statements.\nSee <https://biomejs.dev/linter/rules/no-continue>",
|
|
5153
5215
|
"anyOf": [
|
|
@@ -5225,6 +5287,13 @@
|
|
|
5225
5287
|
{ "type": "null" }
|
|
5226
5288
|
]
|
|
5227
5289
|
},
|
|
5290
|
+
"noJsxPropsBind": {
|
|
5291
|
+
"description": "Disallow .bind(), arrow functions, or function expressions in JSX props.\nSee <https://biomejs.dev/linter/rules/no-jsx-props-bind>",
|
|
5292
|
+
"anyOf": [
|
|
5293
|
+
{ "$ref": "#/$defs/NoJsxPropsBindConfiguration" },
|
|
5294
|
+
{ "type": "null" }
|
|
5295
|
+
]
|
|
5296
|
+
},
|
|
5228
5297
|
"noLeakedRender": {
|
|
5229
5298
|
"description": "Prevent problematic leaked values from being rendered.\nSee <https://biomejs.dev/linter/rules/no-leaked-render>",
|
|
5230
5299
|
"anyOf": [
|
|
@@ -5239,6 +5308,13 @@
|
|
|
5239
5308
|
{ "type": "null" }
|
|
5240
5309
|
]
|
|
5241
5310
|
},
|
|
5311
|
+
"noMultiAssign": {
|
|
5312
|
+
"description": "Disallow use of chained assignment expressions.\nSee <https://biomejs.dev/linter/rules/no-multi-assign>",
|
|
5313
|
+
"anyOf": [
|
|
5314
|
+
{ "$ref": "#/$defs/NoMultiAssignConfiguration" },
|
|
5315
|
+
{ "type": "null" }
|
|
5316
|
+
]
|
|
5317
|
+
},
|
|
5242
5318
|
"noMultiStr": {
|
|
5243
5319
|
"description": "Disallow creating multiline strings by escaping newlines.\nSee <https://biomejs.dev/linter/rules/no-multi-str>",
|
|
5244
5320
|
"anyOf": [
|
|
@@ -5274,6 +5350,13 @@
|
|
|
5274
5350
|
{ "type": "null" }
|
|
5275
5351
|
]
|
|
5276
5352
|
},
|
|
5353
|
+
"noReturnAssign": {
|
|
5354
|
+
"description": "Disallow assignments in return statements.\nSee <https://biomejs.dev/linter/rules/no-return-assign>",
|
|
5355
|
+
"anyOf": [
|
|
5356
|
+
{ "$ref": "#/$defs/NoReturnAssignConfiguration" },
|
|
5357
|
+
{ "type": "null" }
|
|
5358
|
+
]
|
|
5359
|
+
},
|
|
5277
5360
|
"noScriptUrl": {
|
|
5278
5361
|
"description": "Disallow javascript: URLs in HTML.\nSee <https://biomejs.dev/linter/rules/no-script-url>",
|
|
5279
5362
|
"anyOf": [
|
|
@@ -5509,6 +5592,20 @@
|
|
|
5509
5592
|
{ "type": "null" }
|
|
5510
5593
|
]
|
|
5511
5594
|
},
|
|
5595
|
+
"useUniqueArgumentNames": {
|
|
5596
|
+
"description": "Require all argument names for fields & directives to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-argument-names>",
|
|
5597
|
+
"anyOf": [
|
|
5598
|
+
{ "$ref": "#/$defs/UseUniqueArgumentNamesConfiguration" },
|
|
5599
|
+
{ "type": "null" }
|
|
5600
|
+
]
|
|
5601
|
+
},
|
|
5602
|
+
"useUniqueFieldDefinitionNames": {
|
|
5603
|
+
"description": "Require all fields of a type to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-field-definition-names>",
|
|
5604
|
+
"anyOf": [
|
|
5605
|
+
{ "$ref": "#/$defs/UseUniqueFieldDefinitionNamesConfiguration" },
|
|
5606
|
+
{ "type": "null" }
|
|
5607
|
+
]
|
|
5608
|
+
},
|
|
5512
5609
|
"useUniqueGraphqlOperationName": {
|
|
5513
5610
|
"description": "Enforce unique operation names across a GraphQL document.\nSee <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>",
|
|
5514
5611
|
"anyOf": [
|
|
@@ -5516,6 +5613,43 @@
|
|
|
5516
5613
|
{ "type": "null" }
|
|
5517
5614
|
]
|
|
5518
5615
|
},
|
|
5616
|
+
"useUniqueInputFieldNames": {
|
|
5617
|
+
"description": "Require fields within an input object to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-input-field-names>",
|
|
5618
|
+
"anyOf": [
|
|
5619
|
+
{ "$ref": "#/$defs/UseUniqueInputFieldNamesConfiguration" },
|
|
5620
|
+
{ "type": "null" }
|
|
5621
|
+
]
|
|
5622
|
+
},
|
|
5623
|
+
"useUniqueVariableNames": {
|
|
5624
|
+
"description": "Require all variable definitions to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-variable-names>",
|
|
5625
|
+
"anyOf": [
|
|
5626
|
+
{ "$ref": "#/$defs/UseUniqueVariableNamesConfiguration" },
|
|
5627
|
+
{ "type": "null" }
|
|
5628
|
+
]
|
|
5629
|
+
},
|
|
5630
|
+
"useVueConsistentDefinePropsDeclaration": {
|
|
5631
|
+
"description": "Enforce consistent defineProps declaration style.\nSee <https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration>",
|
|
5632
|
+
"anyOf": [
|
|
5633
|
+
{
|
|
5634
|
+
"$ref": "#/$defs/UseVueConsistentDefinePropsDeclarationConfiguration"
|
|
5635
|
+
},
|
|
5636
|
+
{ "type": "null" }
|
|
5637
|
+
]
|
|
5638
|
+
},
|
|
5639
|
+
"useVueConsistentVBindStyle": {
|
|
5640
|
+
"description": "Enforce a consistent style for v-bind in Vue templates.\nSee <https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style>",
|
|
5641
|
+
"anyOf": [
|
|
5642
|
+
{ "$ref": "#/$defs/UseVueConsistentVBindStyleConfiguration" },
|
|
5643
|
+
{ "type": "null" }
|
|
5644
|
+
]
|
|
5645
|
+
},
|
|
5646
|
+
"useVueConsistentVOnStyle": {
|
|
5647
|
+
"description": "Enforce a consistent style for v-on in Vue templates.\nSee <https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style>",
|
|
5648
|
+
"anyOf": [
|
|
5649
|
+
{ "$ref": "#/$defs/UseVueConsistentVOnStyleConfiguration" },
|
|
5650
|
+
{ "type": "null" }
|
|
5651
|
+
]
|
|
5652
|
+
},
|
|
5519
5653
|
"useVueDefineMacrosOrder": {
|
|
5520
5654
|
"description": "Enforce specific order of Vue compiler macros.\nSee <https://biomejs.dev/linter/rules/use-vue-define-macros-order>",
|
|
5521
5655
|
"anyOf": [
|
|
@@ -5537,6 +5671,20 @@
|
|
|
5537
5671
|
{ "type": "null" }
|
|
5538
5672
|
]
|
|
5539
5673
|
},
|
|
5674
|
+
"useVueVForKey": {
|
|
5675
|
+
"description": "Enforce that elements using v-for also specify a unique key.\nSee <https://biomejs.dev/linter/rules/use-vue-v-for-key>",
|
|
5676
|
+
"anyOf": [
|
|
5677
|
+
{ "$ref": "#/$defs/UseVueVForKeyConfiguration" },
|
|
5678
|
+
{ "type": "null" }
|
|
5679
|
+
]
|
|
5680
|
+
},
|
|
5681
|
+
"useVueValidTemplateRoot": {
|
|
5682
|
+
"description": "Enforce valid Vue \\<template> root usage.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-template-root>",
|
|
5683
|
+
"anyOf": [
|
|
5684
|
+
{ "$ref": "#/$defs/UseVueValidTemplateRootConfiguration" },
|
|
5685
|
+
{ "type": "null" }
|
|
5686
|
+
]
|
|
5687
|
+
},
|
|
5540
5688
|
"useVueValidVBind": {
|
|
5541
5689
|
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>",
|
|
5542
5690
|
"anyOf": [
|
|
@@ -5544,6 +5692,13 @@
|
|
|
5544
5692
|
{ "type": "null" }
|
|
5545
5693
|
]
|
|
5546
5694
|
},
|
|
5695
|
+
"useVueValidVCloak": {
|
|
5696
|
+
"description": "Enforce valid v-cloak Vue directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-cloak>",
|
|
5697
|
+
"anyOf": [
|
|
5698
|
+
{ "$ref": "#/$defs/UseVueValidVCloakConfiguration" },
|
|
5699
|
+
{ "type": "null" }
|
|
5700
|
+
]
|
|
5701
|
+
},
|
|
5547
5702
|
"useVueValidVElse": {
|
|
5548
5703
|
"description": "Enforce valid usage of v-else.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-else>",
|
|
5549
5704
|
"anyOf": [
|
|
@@ -5579,12 +5734,33 @@
|
|
|
5579
5734
|
{ "type": "null" }
|
|
5580
5735
|
]
|
|
5581
5736
|
},
|
|
5737
|
+
"useVueValidVOnce": {
|
|
5738
|
+
"description": "Enforce valid v-once Vue directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-once>",
|
|
5739
|
+
"anyOf": [
|
|
5740
|
+
{ "$ref": "#/$defs/UseVueValidVOnceConfiguration" },
|
|
5741
|
+
{ "type": "null" }
|
|
5742
|
+
]
|
|
5743
|
+
},
|
|
5744
|
+
"useVueValidVPre": {
|
|
5745
|
+
"description": "Enforce valid v-pre Vue directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-pre>",
|
|
5746
|
+
"anyOf": [
|
|
5747
|
+
{ "$ref": "#/$defs/UseVueValidVPreConfiguration" },
|
|
5748
|
+
{ "type": "null" }
|
|
5749
|
+
]
|
|
5750
|
+
},
|
|
5582
5751
|
"useVueValidVText": {
|
|
5583
5752
|
"description": "Enforce valid v-text Vue directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-text>",
|
|
5584
5753
|
"anyOf": [
|
|
5585
5754
|
{ "$ref": "#/$defs/UseVueValidVTextConfiguration" },
|
|
5586
5755
|
{ "type": "null" }
|
|
5587
5756
|
]
|
|
5757
|
+
},
|
|
5758
|
+
"useVueVapor": {
|
|
5759
|
+
"description": "Enforce opting in to Vue Vapor mode in \\<script setup> blocks.\nSee <https://biomejs.dev/linter/rules/use-vue-vapor>",
|
|
5760
|
+
"anyOf": [
|
|
5761
|
+
{ "$ref": "#/$defs/UseVueVaporConfiguration" },
|
|
5762
|
+
{ "type": "null" }
|
|
5763
|
+
]
|
|
5588
5764
|
}
|
|
5589
5765
|
},
|
|
5590
5766
|
"additionalProperties": false
|
|
@@ -6253,6 +6429,17 @@
|
|
|
6253
6429
|
"additionalProperties": false,
|
|
6254
6430
|
"required": ["level"]
|
|
6255
6431
|
},
|
|
6432
|
+
"RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions": {
|
|
6433
|
+
"type": "object",
|
|
6434
|
+
"properties": {
|
|
6435
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6436
|
+
"options": {
|
|
6437
|
+
"$ref": "#/$defs/NoBeforeInteractiveScriptOutsideDocumentOptions"
|
|
6438
|
+
}
|
|
6439
|
+
},
|
|
6440
|
+
"additionalProperties": false,
|
|
6441
|
+
"required": ["level"]
|
|
6442
|
+
},
|
|
6256
6443
|
"RuleWithNoBiomeFirstExceptionOptions": {
|
|
6257
6444
|
"type": "object",
|
|
6258
6445
|
"properties": {
|
|
@@ -7218,6 +7405,15 @@
|
|
|
7218
7405
|
"additionalProperties": false,
|
|
7219
7406
|
"required": ["level"]
|
|
7220
7407
|
},
|
|
7408
|
+
"RuleWithNoJsxPropsBindOptions": {
|
|
7409
|
+
"type": "object",
|
|
7410
|
+
"properties": {
|
|
7411
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7412
|
+
"options": { "$ref": "#/$defs/NoJsxPropsBindOptions" }
|
|
7413
|
+
},
|
|
7414
|
+
"additionalProperties": false,
|
|
7415
|
+
"required": ["level"]
|
|
7416
|
+
},
|
|
7221
7417
|
"RuleWithNoLabelVarOptions": {
|
|
7222
7418
|
"type": "object",
|
|
7223
7419
|
"properties": {
|
|
@@ -7311,6 +7507,15 @@
|
|
|
7311
7507
|
"additionalProperties": false,
|
|
7312
7508
|
"required": ["level"]
|
|
7313
7509
|
},
|
|
7510
|
+
"RuleWithNoMultiAssignOptions": {
|
|
7511
|
+
"type": "object",
|
|
7512
|
+
"properties": {
|
|
7513
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7514
|
+
"options": { "$ref": "#/$defs/NoMultiAssignOptions" }
|
|
7515
|
+
},
|
|
7516
|
+
"additionalProperties": false,
|
|
7517
|
+
"required": ["level"]
|
|
7518
|
+
},
|
|
7314
7519
|
"RuleWithNoMultiStrOptions": {
|
|
7315
7520
|
"type": "object",
|
|
7316
7521
|
"properties": {
|
|
@@ -7691,6 +7896,15 @@
|
|
|
7691
7896
|
"additionalProperties": false,
|
|
7692
7897
|
"required": ["level"]
|
|
7693
7898
|
},
|
|
7899
|
+
"RuleWithNoReturnAssignOptions": {
|
|
7900
|
+
"type": "object",
|
|
7901
|
+
"properties": {
|
|
7902
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7903
|
+
"options": { "$ref": "#/$defs/NoReturnAssignOptions" }
|
|
7904
|
+
},
|
|
7905
|
+
"additionalProperties": false,
|
|
7906
|
+
"required": ["level"]
|
|
7907
|
+
},
|
|
7694
7908
|
"RuleWithNoScriptUrlOptions": {
|
|
7695
7909
|
"type": "object",
|
|
7696
7910
|
"properties": {
|
|
@@ -9642,6 +9856,15 @@
|
|
|
9642
9856
|
"additionalProperties": false,
|
|
9643
9857
|
"required": ["level"]
|
|
9644
9858
|
},
|
|
9859
|
+
"RuleWithUseUniqueArgumentNamesOptions": {
|
|
9860
|
+
"type": "object",
|
|
9861
|
+
"properties": {
|
|
9862
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9863
|
+
"options": { "$ref": "#/$defs/UseUniqueArgumentNamesOptions" }
|
|
9864
|
+
},
|
|
9865
|
+
"additionalProperties": false,
|
|
9866
|
+
"required": ["level"]
|
|
9867
|
+
},
|
|
9645
9868
|
"RuleWithUseUniqueElementIdsOptions": {
|
|
9646
9869
|
"type": "object",
|
|
9647
9870
|
"properties": {
|
|
@@ -9651,6 +9874,15 @@
|
|
|
9651
9874
|
"additionalProperties": false,
|
|
9652
9875
|
"required": ["level"]
|
|
9653
9876
|
},
|
|
9877
|
+
"RuleWithUseUniqueFieldDefinitionNamesOptions": {
|
|
9878
|
+
"type": "object",
|
|
9879
|
+
"properties": {
|
|
9880
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9881
|
+
"options": { "$ref": "#/$defs/UseUniqueFieldDefinitionNamesOptions" }
|
|
9882
|
+
},
|
|
9883
|
+
"additionalProperties": false,
|
|
9884
|
+
"required": ["level"]
|
|
9885
|
+
},
|
|
9654
9886
|
"RuleWithUseUniqueGraphqlOperationNameOptions": {
|
|
9655
9887
|
"type": "object",
|
|
9656
9888
|
"properties": {
|
|
@@ -9660,6 +9892,24 @@
|
|
|
9660
9892
|
"additionalProperties": false,
|
|
9661
9893
|
"required": ["level"]
|
|
9662
9894
|
},
|
|
9895
|
+
"RuleWithUseUniqueInputFieldNamesOptions": {
|
|
9896
|
+
"type": "object",
|
|
9897
|
+
"properties": {
|
|
9898
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9899
|
+
"options": { "$ref": "#/$defs/UseUniqueInputFieldNamesOptions" }
|
|
9900
|
+
},
|
|
9901
|
+
"additionalProperties": false,
|
|
9902
|
+
"required": ["level"]
|
|
9903
|
+
},
|
|
9904
|
+
"RuleWithUseUniqueVariableNamesOptions": {
|
|
9905
|
+
"type": "object",
|
|
9906
|
+
"properties": {
|
|
9907
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9908
|
+
"options": { "$ref": "#/$defs/UseUniqueVariableNamesOptions" }
|
|
9909
|
+
},
|
|
9910
|
+
"additionalProperties": false,
|
|
9911
|
+
"required": ["level"]
|
|
9912
|
+
},
|
|
9663
9913
|
"RuleWithUseValidAnchorOptions": {
|
|
9664
9914
|
"type": "object",
|
|
9665
9915
|
"properties": {
|
|
@@ -9735,6 +9985,37 @@
|
|
|
9735
9985
|
"additionalProperties": false,
|
|
9736
9986
|
"required": ["level"]
|
|
9737
9987
|
},
|
|
9988
|
+
"RuleWithUseVueConsistentDefinePropsDeclarationOptions": {
|
|
9989
|
+
"type": "object",
|
|
9990
|
+
"properties": {
|
|
9991
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9992
|
+
"options": {
|
|
9993
|
+
"$ref": "#/$defs/UseVueConsistentDefinePropsDeclarationOptions"
|
|
9994
|
+
}
|
|
9995
|
+
},
|
|
9996
|
+
"additionalProperties": false,
|
|
9997
|
+
"required": ["level"]
|
|
9998
|
+
},
|
|
9999
|
+
"RuleWithUseVueConsistentVBindStyleOptions": {
|
|
10000
|
+
"type": "object",
|
|
10001
|
+
"properties": {
|
|
10002
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10003
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10004
|
+
"options": { "$ref": "#/$defs/UseVueConsistentVBindStyleOptions" }
|
|
10005
|
+
},
|
|
10006
|
+
"additionalProperties": false,
|
|
10007
|
+
"required": ["level"]
|
|
10008
|
+
},
|
|
10009
|
+
"RuleWithUseVueConsistentVOnStyleOptions": {
|
|
10010
|
+
"type": "object",
|
|
10011
|
+
"properties": {
|
|
10012
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10013
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10014
|
+
"options": { "$ref": "#/$defs/UseVueConsistentVOnStyleOptions" }
|
|
10015
|
+
},
|
|
10016
|
+
"additionalProperties": false,
|
|
10017
|
+
"required": ["level"]
|
|
10018
|
+
},
|
|
9738
10019
|
"RuleWithUseVueDefineMacrosOrderOptions": {
|
|
9739
10020
|
"type": "object",
|
|
9740
10021
|
"properties": {
|
|
@@ -9764,6 +10045,25 @@
|
|
|
9764
10045
|
"additionalProperties": false,
|
|
9765
10046
|
"required": ["level"]
|
|
9766
10047
|
},
|
|
10048
|
+
"RuleWithUseVueVForKeyOptions": {
|
|
10049
|
+
"type": "object",
|
|
10050
|
+
"properties": {
|
|
10051
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10052
|
+
"options": { "$ref": "#/$defs/UseVueVForKeyOptions" }
|
|
10053
|
+
},
|
|
10054
|
+
"additionalProperties": false,
|
|
10055
|
+
"required": ["level"]
|
|
10056
|
+
},
|
|
10057
|
+
"RuleWithUseVueValidTemplateRootOptions": {
|
|
10058
|
+
"type": "object",
|
|
10059
|
+
"properties": {
|
|
10060
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10061
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10062
|
+
"options": { "$ref": "#/$defs/UseVueValidTemplateRootOptions" }
|
|
10063
|
+
},
|
|
10064
|
+
"additionalProperties": false,
|
|
10065
|
+
"required": ["level"]
|
|
10066
|
+
},
|
|
9767
10067
|
"RuleWithUseVueValidVBindOptions": {
|
|
9768
10068
|
"type": "object",
|
|
9769
10069
|
"properties": {
|
|
@@ -9773,6 +10073,16 @@
|
|
|
9773
10073
|
"additionalProperties": false,
|
|
9774
10074
|
"required": ["level"]
|
|
9775
10075
|
},
|
|
10076
|
+
"RuleWithUseVueValidVCloakOptions": {
|
|
10077
|
+
"type": "object",
|
|
10078
|
+
"properties": {
|
|
10079
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10080
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10081
|
+
"options": { "$ref": "#/$defs/UseVueValidVCloakOptions" }
|
|
10082
|
+
},
|
|
10083
|
+
"additionalProperties": false,
|
|
10084
|
+
"required": ["level"]
|
|
10085
|
+
},
|
|
9776
10086
|
"RuleWithUseVueValidVElseIfOptions": {
|
|
9777
10087
|
"type": "object",
|
|
9778
10088
|
"properties": {
|
|
@@ -9818,6 +10128,26 @@
|
|
|
9818
10128
|
"additionalProperties": false,
|
|
9819
10129
|
"required": ["level"]
|
|
9820
10130
|
},
|
|
10131
|
+
"RuleWithUseVueValidVOnceOptions": {
|
|
10132
|
+
"type": "object",
|
|
10133
|
+
"properties": {
|
|
10134
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10135
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10136
|
+
"options": { "$ref": "#/$defs/UseVueValidVOnceOptions" }
|
|
10137
|
+
},
|
|
10138
|
+
"additionalProperties": false,
|
|
10139
|
+
"required": ["level"]
|
|
10140
|
+
},
|
|
10141
|
+
"RuleWithUseVueValidVPreOptions": {
|
|
10142
|
+
"type": "object",
|
|
10143
|
+
"properties": {
|
|
10144
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10145
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10146
|
+
"options": { "$ref": "#/$defs/UseVueValidVPreOptions" }
|
|
10147
|
+
},
|
|
10148
|
+
"additionalProperties": false,
|
|
10149
|
+
"required": ["level"]
|
|
10150
|
+
},
|
|
9821
10151
|
"RuleWithUseVueValidVTextOptions": {
|
|
9822
10152
|
"type": "object",
|
|
9823
10153
|
"properties": {
|
|
@@ -9827,6 +10157,16 @@
|
|
|
9827
10157
|
"additionalProperties": false,
|
|
9828
10158
|
"required": ["level"]
|
|
9829
10159
|
},
|
|
10160
|
+
"RuleWithUseVueVaporOptions": {
|
|
10161
|
+
"type": "object",
|
|
10162
|
+
"properties": {
|
|
10163
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10164
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10165
|
+
"options": { "$ref": "#/$defs/UseVueVaporOptions" }
|
|
10166
|
+
},
|
|
10167
|
+
"additionalProperties": false,
|
|
10168
|
+
"required": ["level"]
|
|
10169
|
+
},
|
|
9830
10170
|
"RuleWithUseWhileOptions": {
|
|
9831
10171
|
"type": "object",
|
|
9832
10172
|
"properties": {
|
|
@@ -12646,6 +12986,16 @@
|
|
|
12646
12986
|
"type": "object",
|
|
12647
12987
|
"additionalProperties": false
|
|
12648
12988
|
},
|
|
12989
|
+
"UseUniqueArgumentNamesConfiguration": {
|
|
12990
|
+
"oneOf": [
|
|
12991
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12992
|
+
{ "$ref": "#/$defs/RuleWithUseUniqueArgumentNamesOptions" }
|
|
12993
|
+
]
|
|
12994
|
+
},
|
|
12995
|
+
"UseUniqueArgumentNamesOptions": {
|
|
12996
|
+
"type": "object",
|
|
12997
|
+
"additionalProperties": false
|
|
12998
|
+
},
|
|
12649
12999
|
"UseUniqueElementIdsConfiguration": {
|
|
12650
13000
|
"oneOf": [
|
|
12651
13001
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12664,6 +13014,16 @@
|
|
|
12664
13014
|
},
|
|
12665
13015
|
"additionalProperties": false
|
|
12666
13016
|
},
|
|
13017
|
+
"UseUniqueFieldDefinitionNamesConfiguration": {
|
|
13018
|
+
"oneOf": [
|
|
13019
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13020
|
+
{ "$ref": "#/$defs/RuleWithUseUniqueFieldDefinitionNamesOptions" }
|
|
13021
|
+
]
|
|
13022
|
+
},
|
|
13023
|
+
"UseUniqueFieldDefinitionNamesOptions": {
|
|
13024
|
+
"type": "object",
|
|
13025
|
+
"additionalProperties": false
|
|
13026
|
+
},
|
|
12667
13027
|
"UseUniqueGraphqlOperationNameConfiguration": {
|
|
12668
13028
|
"oneOf": [
|
|
12669
13029
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12674,6 +13034,26 @@
|
|
|
12674
13034
|
"type": "object",
|
|
12675
13035
|
"additionalProperties": false
|
|
12676
13036
|
},
|
|
13037
|
+
"UseUniqueInputFieldNamesConfiguration": {
|
|
13038
|
+
"oneOf": [
|
|
13039
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13040
|
+
{ "$ref": "#/$defs/RuleWithUseUniqueInputFieldNamesOptions" }
|
|
13041
|
+
]
|
|
13042
|
+
},
|
|
13043
|
+
"UseUniqueInputFieldNamesOptions": {
|
|
13044
|
+
"type": "object",
|
|
13045
|
+
"additionalProperties": false
|
|
13046
|
+
},
|
|
13047
|
+
"UseUniqueVariableNamesConfiguration": {
|
|
13048
|
+
"oneOf": [
|
|
13049
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13050
|
+
{ "$ref": "#/$defs/RuleWithUseUniqueVariableNamesOptions" }
|
|
13051
|
+
]
|
|
13052
|
+
},
|
|
13053
|
+
"UseUniqueVariableNamesOptions": {
|
|
13054
|
+
"type": "object",
|
|
13055
|
+
"additionalProperties": false
|
|
13056
|
+
},
|
|
12677
13057
|
"UseValidAnchorConfiguration": {
|
|
12678
13058
|
"oneOf": [
|
|
12679
13059
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12769,6 +13149,58 @@
|
|
|
12769
13149
|
"type": "object",
|
|
12770
13150
|
"additionalProperties": false
|
|
12771
13151
|
},
|
|
13152
|
+
"UseVueConsistentDefinePropsDeclarationConfiguration": {
|
|
13153
|
+
"oneOf": [
|
|
13154
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13155
|
+
{
|
|
13156
|
+
"$ref": "#/$defs/RuleWithUseVueConsistentDefinePropsDeclarationOptions"
|
|
13157
|
+
}
|
|
13158
|
+
]
|
|
13159
|
+
},
|
|
13160
|
+
"UseVueConsistentDefinePropsDeclarationOptions": {
|
|
13161
|
+
"type": "object",
|
|
13162
|
+
"properties": {
|
|
13163
|
+
"style": {
|
|
13164
|
+
"anyOf": [{ "$ref": "#/$defs/DeclarationStyle" }, { "type": "null" }]
|
|
13165
|
+
}
|
|
13166
|
+
},
|
|
13167
|
+
"additionalProperties": false
|
|
13168
|
+
},
|
|
13169
|
+
"UseVueConsistentVBindStyleConfiguration": {
|
|
13170
|
+
"oneOf": [
|
|
13171
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13172
|
+
{ "$ref": "#/$defs/RuleWithUseVueConsistentVBindStyleOptions" }
|
|
13173
|
+
]
|
|
13174
|
+
},
|
|
13175
|
+
"UseVueConsistentVBindStyleOptions": {
|
|
13176
|
+
"type": "object",
|
|
13177
|
+
"properties": {
|
|
13178
|
+
"style": {
|
|
13179
|
+
"description": "Preferred style for `v-bind` usage: \"shorthand\" or \"longhand\".\nIf omitted, shorthand is preferred.",
|
|
13180
|
+
"anyOf": [{ "$ref": "#/$defs/VueDirectiveStyle" }, { "type": "null" }]
|
|
13181
|
+
}
|
|
13182
|
+
},
|
|
13183
|
+
"additionalProperties": false
|
|
13184
|
+
},
|
|
13185
|
+
"UseVueConsistentVOnStyleConfiguration": {
|
|
13186
|
+
"oneOf": [
|
|
13187
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13188
|
+
{ "$ref": "#/$defs/RuleWithUseVueConsistentVOnStyleOptions" }
|
|
13189
|
+
]
|
|
13190
|
+
},
|
|
13191
|
+
"UseVueConsistentVOnStyleOptions": {
|
|
13192
|
+
"type": "object",
|
|
13193
|
+
"properties": {
|
|
13194
|
+
"style": {
|
|
13195
|
+
"description": "Preferred style for `v-on` usage: \"shorthand\" or \"longhand\".\nIf omitted, shorthand is preferred.",
|
|
13196
|
+
"anyOf": [
|
|
13197
|
+
{ "$ref": "#/$defs/VueDirectiveStyle2" },
|
|
13198
|
+
{ "type": "null" }
|
|
13199
|
+
]
|
|
13200
|
+
}
|
|
13201
|
+
},
|
|
13202
|
+
"additionalProperties": false
|
|
13203
|
+
},
|
|
12772
13204
|
"UseVueDefineMacrosOrderConfiguration": {
|
|
12773
13205
|
"oneOf": [
|
|
12774
13206
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12829,6 +13261,23 @@
|
|
|
12829
13261
|
},
|
|
12830
13262
|
"additionalProperties": false
|
|
12831
13263
|
},
|
|
13264
|
+
"UseVueVForKeyConfiguration": {
|
|
13265
|
+
"oneOf": [
|
|
13266
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13267
|
+
{ "$ref": "#/$defs/RuleWithUseVueVForKeyOptions" }
|
|
13268
|
+
]
|
|
13269
|
+
},
|
|
13270
|
+
"UseVueVForKeyOptions": { "type": "object", "additionalProperties": false },
|
|
13271
|
+
"UseVueValidTemplateRootConfiguration": {
|
|
13272
|
+
"oneOf": [
|
|
13273
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13274
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidTemplateRootOptions" }
|
|
13275
|
+
]
|
|
13276
|
+
},
|
|
13277
|
+
"UseVueValidTemplateRootOptions": {
|
|
13278
|
+
"type": "object",
|
|
13279
|
+
"additionalProperties": false
|
|
13280
|
+
},
|
|
12832
13281
|
"UseVueValidVBindConfiguration": {
|
|
12833
13282
|
"oneOf": [
|
|
12834
13283
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12839,6 +13288,16 @@
|
|
|
12839
13288
|
"type": "object",
|
|
12840
13289
|
"additionalProperties": false
|
|
12841
13290
|
},
|
|
13291
|
+
"UseVueValidVCloakConfiguration": {
|
|
13292
|
+
"oneOf": [
|
|
13293
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13294
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVCloakOptions" }
|
|
13295
|
+
]
|
|
13296
|
+
},
|
|
13297
|
+
"UseVueValidVCloakOptions": {
|
|
13298
|
+
"type": "object",
|
|
13299
|
+
"additionalProperties": false
|
|
13300
|
+
},
|
|
12842
13301
|
"UseVueValidVElseConfiguration": {
|
|
12843
13302
|
"oneOf": [
|
|
12844
13303
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12897,6 +13356,26 @@
|
|
|
12897
13356
|
},
|
|
12898
13357
|
"additionalProperties": false
|
|
12899
13358
|
},
|
|
13359
|
+
"UseVueValidVOnceConfiguration": {
|
|
13360
|
+
"oneOf": [
|
|
13361
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13362
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVOnceOptions" }
|
|
13363
|
+
]
|
|
13364
|
+
},
|
|
13365
|
+
"UseVueValidVOnceOptions": {
|
|
13366
|
+
"type": "object",
|
|
13367
|
+
"additionalProperties": false
|
|
13368
|
+
},
|
|
13369
|
+
"UseVueValidVPreConfiguration": {
|
|
13370
|
+
"oneOf": [
|
|
13371
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13372
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVPreOptions" }
|
|
13373
|
+
]
|
|
13374
|
+
},
|
|
13375
|
+
"UseVueValidVPreOptions": {
|
|
13376
|
+
"type": "object",
|
|
13377
|
+
"additionalProperties": false
|
|
13378
|
+
},
|
|
12900
13379
|
"UseVueValidVTextConfiguration": {
|
|
12901
13380
|
"oneOf": [
|
|
12902
13381
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12907,6 +13386,13 @@
|
|
|
12907
13386
|
"type": "object",
|
|
12908
13387
|
"additionalProperties": false
|
|
12909
13388
|
},
|
|
13389
|
+
"UseVueVaporConfiguration": {
|
|
13390
|
+
"oneOf": [
|
|
13391
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13392
|
+
{ "$ref": "#/$defs/RuleWithUseVueVaporOptions" }
|
|
13393
|
+
]
|
|
13394
|
+
},
|
|
13395
|
+
"UseVueVaporOptions": { "type": "object", "additionalProperties": false },
|
|
12910
13396
|
"UseWhileConfiguration": {
|
|
12911
13397
|
"oneOf": [
|
|
12912
13398
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12961,6 +13447,14 @@
|
|
|
12961
13447
|
"type": "string",
|
|
12962
13448
|
"enum": ["public", "package", "private"]
|
|
12963
13449
|
},
|
|
13450
|
+
"VueDirectiveStyle": {
|
|
13451
|
+
"type": "string",
|
|
13452
|
+
"enum": ["shorthand", "longhand"]
|
|
13453
|
+
},
|
|
13454
|
+
"VueDirectiveStyle2": {
|
|
13455
|
+
"type": "string",
|
|
13456
|
+
"enum": ["shorthand", "longhand"]
|
|
13457
|
+
},
|
|
12964
13458
|
"WhitespaceSensitivity": {
|
|
12965
13459
|
"description": "Whitespace sensitivity for HTML formatting.\n\nThe following two cases won't produce the same output:\n\n| | html | output |\n| -------------- | :------------: | :----------: |\n| with spaces | `1<b> 2 </b>3` | 1<b> 2 </b>3 |\n| without spaces | `1<b>2</b>3` | 1<b>2</b>3 |\n\nThis happens because whitespace is significant in inline elements.\n\nAs a consequence of this, the formatter must format blocks that look like this (assume a small line width, <20):\n```html\n<span>really long content</span>\n```\nas this, where the content hugs the tags:\n```html\n<span\n >really long content</span\n>\n```\n\nNote that this is only necessary for inline elements. Block elements do not have this restriction.",
|
|
12966
13460
|
"oneOf": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11",
|
|
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.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.3.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.3.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.3.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.3.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.3.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.3.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.3.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.3.11",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.3.11",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.3.11",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.3.11",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.3.11",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.3.11",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.3.11",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.3.11"
|
|
57
57
|
}
|
|
58
58
|
}
|