@biomejs/biome 2.3.13 → 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.
- package/configuration_schema.json +287 -1
- package/package.json +9 -9
|
@@ -396,6 +396,25 @@
|
|
|
396
396
|
"type": "boolean"
|
|
397
397
|
},
|
|
398
398
|
"BracketSpacing": { "type": "boolean" },
|
|
399
|
+
"CheckInputType": {
|
|
400
|
+
"oneOf": [
|
|
401
|
+
{
|
|
402
|
+
"description": "Don't check the input type",
|
|
403
|
+
"type": "string",
|
|
404
|
+
"const": "off"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"description": "Check the input type (case-insensitive)",
|
|
408
|
+
"type": "string",
|
|
409
|
+
"const": "loose"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"description": "Check the input type (case-sensitive)",
|
|
413
|
+
"type": "string",
|
|
414
|
+
"const": "strict"
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
},
|
|
399
418
|
"Complexity": {
|
|
400
419
|
"description": "A list of rules that belong to this group",
|
|
401
420
|
"type": "object",
|
|
@@ -1565,7 +1584,7 @@
|
|
|
1565
1584
|
"anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
|
|
1566
1585
|
},
|
|
1567
1586
|
"useEditorconfig": {
|
|
1568
|
-
"description": "Use any `.editorconfig` files to configure the formatter. Configuration\nin `biome.json` will override `.editorconfig` configuration.\n\nDefault: `
|
|
1587
|
+
"description": "Use any `.editorconfig` files to configure the formatter. Configuration\nin `biome.json` will override `.editorconfig` configuration.\n\nDefault: `false`.",
|
|
1569
1588
|
"anyOf": [{ "$ref": "#/$defs/Bool" }, { "type": "null" }]
|
|
1570
1589
|
}
|
|
1571
1590
|
},
|
|
@@ -2430,6 +2449,20 @@
|
|
|
2430
2449
|
"additionalProperties": false
|
|
2431
2450
|
},
|
|
2432
2451
|
"MaxSize": { "type": "integer", "format": "uint64", "minimum": 1 },
|
|
2452
|
+
"MethodSignatureStyle": {
|
|
2453
|
+
"oneOf": [
|
|
2454
|
+
{
|
|
2455
|
+
"description": "Enforce use of property-style signatures (`methodName: (args) => returnType`).",
|
|
2456
|
+
"type": "string",
|
|
2457
|
+
"const": "property"
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"description": "Enforce use of method-style signatures (`methodName(args): returnType`).",
|
|
2461
|
+
"type": "string",
|
|
2462
|
+
"const": "method"
|
|
2463
|
+
}
|
|
2464
|
+
]
|
|
2465
|
+
},
|
|
2433
2466
|
"Modifiers": {
|
|
2434
2467
|
"type": "array",
|
|
2435
2468
|
"items": { "$ref": "#/$defs/RestrictedModifier" },
|
|
@@ -2893,6 +2926,23 @@
|
|
|
2893
2926
|
"type": "object",
|
|
2894
2927
|
"additionalProperties": false
|
|
2895
2928
|
},
|
|
2929
|
+
"NoDeprecatedMediaTypeConfiguration": {
|
|
2930
|
+
"oneOf": [
|
|
2931
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2932
|
+
{ "$ref": "#/$defs/RuleWithNoDeprecatedMediaTypeOptions" }
|
|
2933
|
+
]
|
|
2934
|
+
},
|
|
2935
|
+
"NoDeprecatedMediaTypeOptions": {
|
|
2936
|
+
"type": "object",
|
|
2937
|
+
"properties": {
|
|
2938
|
+
"allow": {
|
|
2939
|
+
"description": "Media types to allow (case-insensitive).",
|
|
2940
|
+
"type": ["array", "null"],
|
|
2941
|
+
"items": { "type": "string" }
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
"additionalProperties": false
|
|
2945
|
+
},
|
|
2896
2946
|
"NoDescendingSpecificityConfiguration": {
|
|
2897
2947
|
"oneOf": [
|
|
2898
2948
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3613,6 +3663,13 @@
|
|
|
3613
3663
|
]
|
|
3614
3664
|
},
|
|
3615
3665
|
"NoHeaderScopeOptions": { "type": "object", "additionalProperties": false },
|
|
3666
|
+
"NoHexColorsConfiguration": {
|
|
3667
|
+
"oneOf": [
|
|
3668
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3669
|
+
{ "$ref": "#/$defs/RuleWithNoHexColorsOptions" }
|
|
3670
|
+
]
|
|
3671
|
+
},
|
|
3672
|
+
"NoHexColorsOptions": { "type": "object", "additionalProperties": false },
|
|
3616
3673
|
"NoImgElementConfiguration": {
|
|
3617
3674
|
"oneOf": [
|
|
3618
3675
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4011,6 +4068,16 @@
|
|
|
4011
4068
|
"type": "object",
|
|
4012
4069
|
"additionalProperties": false
|
|
4013
4070
|
},
|
|
4071
|
+
"NoNestedPromisesConfiguration": {
|
|
4072
|
+
"oneOf": [
|
|
4073
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4074
|
+
{ "$ref": "#/$defs/RuleWithNoNestedPromisesOptions" }
|
|
4075
|
+
]
|
|
4076
|
+
},
|
|
4077
|
+
"NoNestedPromisesOptions": {
|
|
4078
|
+
"type": "object",
|
|
4079
|
+
"additionalProperties": false
|
|
4080
|
+
},
|
|
4014
4081
|
"NoNestedTernaryConfiguration": {
|
|
4015
4082
|
"oneOf": [
|
|
4016
4083
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4301,6 +4368,16 @@
|
|
|
4301
4368
|
"type": "object",
|
|
4302
4369
|
"additionalProperties": false
|
|
4303
4370
|
},
|
|
4371
|
+
"NoRedundantDefaultExportConfiguration": {
|
|
4372
|
+
"oneOf": [
|
|
4373
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4374
|
+
{ "$ref": "#/$defs/RuleWithNoRedundantDefaultExportOptions" }
|
|
4375
|
+
]
|
|
4376
|
+
},
|
|
4377
|
+
"NoRedundantDefaultExportOptions": {
|
|
4378
|
+
"type": "object",
|
|
4379
|
+
"additionalProperties": false
|
|
4380
|
+
},
|
|
4304
4381
|
"NoRedundantRolesConfiguration": {
|
|
4305
4382
|
"oneOf": [
|
|
4306
4383
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5144,6 +5221,16 @@
|
|
|
5144
5221
|
"type": "object",
|
|
5145
5222
|
"additionalProperties": false
|
|
5146
5223
|
},
|
|
5224
|
+
"NoUselessReturnConfiguration": {
|
|
5225
|
+
"oneOf": [
|
|
5226
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5227
|
+
{ "$ref": "#/$defs/RuleWithNoUselessReturnOptions" }
|
|
5228
|
+
]
|
|
5229
|
+
},
|
|
5230
|
+
"NoUselessReturnOptions": {
|
|
5231
|
+
"type": "object",
|
|
5232
|
+
"additionalProperties": false
|
|
5233
|
+
},
|
|
5147
5234
|
"NoUselessStringConcatConfiguration": {
|
|
5148
5235
|
"oneOf": [
|
|
5149
5236
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5265,6 +5352,16 @@
|
|
|
5265
5352
|
"type": "object",
|
|
5266
5353
|
"additionalProperties": false
|
|
5267
5354
|
},
|
|
5355
|
+
"NoVueArrowFuncInWatchConfiguration": {
|
|
5356
|
+
"oneOf": [
|
|
5357
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5358
|
+
{ "$ref": "#/$defs/RuleWithNoVueArrowFuncInWatchOptions" }
|
|
5359
|
+
]
|
|
5360
|
+
},
|
|
5361
|
+
"NoVueArrowFuncInWatchOptions": {
|
|
5362
|
+
"type": "object",
|
|
5363
|
+
"additionalProperties": false
|
|
5364
|
+
},
|
|
5268
5365
|
"NoVueDataObjectDeclarationConfiguration": {
|
|
5269
5366
|
"oneOf": [
|
|
5270
5367
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5390,6 +5487,13 @@
|
|
|
5390
5487
|
{ "type": "null" }
|
|
5391
5488
|
]
|
|
5392
5489
|
},
|
|
5490
|
+
"noDeprecatedMediaType": {
|
|
5491
|
+
"description": "Disallow deprecated media types.\nSee https://biomejs.dev/linter/rules/no-deprecated-media-type",
|
|
5492
|
+
"anyOf": [
|
|
5493
|
+
{ "$ref": "#/$defs/NoDeprecatedMediaTypeConfiguration" },
|
|
5494
|
+
{ "type": "null" }
|
|
5495
|
+
]
|
|
5496
|
+
},
|
|
5393
5497
|
"noDivRegex": {
|
|
5394
5498
|
"description": "Disallow equal signs explicitly at the beginning of regular expressions.\nSee https://biomejs.dev/linter/rules/no-div-regex",
|
|
5395
5499
|
"anyOf": [
|
|
@@ -5516,6 +5620,13 @@
|
|
|
5516
5620
|
{ "type": "null" }
|
|
5517
5621
|
]
|
|
5518
5622
|
},
|
|
5623
|
+
"noHexColors": {
|
|
5624
|
+
"description": "Disallow hex colors.\nSee https://biomejs.dev/linter/rules/no-hex-colors",
|
|
5625
|
+
"anyOf": [
|
|
5626
|
+
{ "$ref": "#/$defs/NoHexColorsConfiguration" },
|
|
5627
|
+
{ "type": "null" }
|
|
5628
|
+
]
|
|
5629
|
+
},
|
|
5519
5630
|
"noImportCycles": {
|
|
5520
5631
|
"description": "Prevent import cycles.\nSee https://biomejs.dev/linter/rules/no-import-cycles",
|
|
5521
5632
|
"anyOf": [
|
|
@@ -5572,6 +5683,13 @@
|
|
|
5572
5683
|
{ "type": "null" }
|
|
5573
5684
|
]
|
|
5574
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
|
+
},
|
|
5575
5693
|
"noNextAsyncClientComponent": {
|
|
5576
5694
|
"description": "Prevent client components from being async functions.\nSee https://biomejs.dev/linter/rules/no-next-async-client-component",
|
|
5577
5695
|
"anyOf": [
|
|
@@ -5600,6 +5718,13 @@
|
|
|
5600
5718
|
{ "type": "null" }
|
|
5601
5719
|
]
|
|
5602
5720
|
},
|
|
5721
|
+
"noRedundantDefaultExport": {
|
|
5722
|
+
"description": "Checks if a default export exports the same symbol as a named export.\nSee https://biomejs.dev/linter/rules/no-redundant-default-export",
|
|
5723
|
+
"anyOf": [
|
|
5724
|
+
{ "$ref": "#/$defs/NoRedundantDefaultExportConfiguration" },
|
|
5725
|
+
{ "type": "null" }
|
|
5726
|
+
]
|
|
5727
|
+
},
|
|
5603
5728
|
"noReturnAssign": {
|
|
5604
5729
|
"description": "Disallow assignments in return statements.\nSee https://biomejs.dev/linter/rules/no-return-assign",
|
|
5605
5730
|
"anyOf": [
|
|
@@ -5684,6 +5809,13 @@
|
|
|
5684
5809
|
{ "type": "null" }
|
|
5685
5810
|
]
|
|
5686
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
|
+
},
|
|
5687
5819
|
"noUselessUndefined": {
|
|
5688
5820
|
"description": "Disallow the use of useless undefined.\nSee https://biomejs.dev/linter/rules/no-useless-undefined",
|
|
5689
5821
|
"anyOf": [
|
|
@@ -5691,6 +5823,13 @@
|
|
|
5691
5823
|
{ "type": "null" }
|
|
5692
5824
|
]
|
|
5693
5825
|
},
|
|
5826
|
+
"noVueArrowFuncInWatch": {
|
|
5827
|
+
"description": "Disallows using arrow functions when defining a watcher.\nSee https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch",
|
|
5828
|
+
"anyOf": [
|
|
5829
|
+
{ "$ref": "#/$defs/NoVueArrowFuncInWatchConfiguration" },
|
|
5830
|
+
{ "type": "null" }
|
|
5831
|
+
]
|
|
5832
|
+
},
|
|
5694
5833
|
"noVueDataObjectDeclaration": {
|
|
5695
5834
|
"description": "Enforce that Vue component data options are declared as functions.\nSee https://biomejs.dev/linter/rules/no-vue-data-object-declaration",
|
|
5696
5835
|
"anyOf": [
|
|
@@ -5779,6 +5918,13 @@
|
|
|
5779
5918
|
{ "type": "null" }
|
|
5780
5919
|
]
|
|
5781
5920
|
},
|
|
5921
|
+
"useConsistentMethodSignatures": {
|
|
5922
|
+
"description": "Enforce consistent use of either method signatures or function properties within interfaces and type aliases.\nSee https://biomejs.dev/linter/rules/use-consistent-method-signatures",
|
|
5923
|
+
"anyOf": [
|
|
5924
|
+
{ "$ref": "#/$defs/UseConsistentMethodSignaturesConfiguration" },
|
|
5925
|
+
{ "type": "null" }
|
|
5926
|
+
]
|
|
5927
|
+
},
|
|
5782
5928
|
"useDeprecatedDate": {
|
|
5783
5929
|
"description": "Require the @deprecated directive to specify a deletion date.\nSee https://biomejs.dev/linter/rules/use-deprecated-date",
|
|
5784
5930
|
"anyOf": [
|
|
@@ -5821,6 +5967,13 @@
|
|
|
5821
5967
|
{ "type": "null" }
|
|
5822
5968
|
]
|
|
5823
5969
|
},
|
|
5970
|
+
"useGlobalThis": {
|
|
5971
|
+
"description": "Enforce the use of globalThis over window, self, and global.\nSee https://biomejs.dev/linter/rules/use-global-this",
|
|
5972
|
+
"anyOf": [
|
|
5973
|
+
{ "$ref": "#/$defs/UseGlobalThisConfiguration" },
|
|
5974
|
+
{ "type": "null" }
|
|
5975
|
+
]
|
|
5976
|
+
},
|
|
5824
5977
|
"useInlineScriptId": {
|
|
5825
5978
|
"description": "Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.\nSee https://biomejs.dev/linter/rules/use-inline-script-id",
|
|
5826
5979
|
"anyOf": [
|
|
@@ -5828,6 +5981,13 @@
|
|
|
5828
5981
|
{ "type": "null" }
|
|
5829
5982
|
]
|
|
5830
5983
|
},
|
|
5984
|
+
"useInputName": {
|
|
5985
|
+
"description": "Require mutation argument to be always called \"input\".\nSee https://biomejs.dev/linter/rules/use-input-name",
|
|
5986
|
+
"anyOf": [
|
|
5987
|
+
{ "$ref": "#/$defs/UseInputNameConfiguration" },
|
|
5988
|
+
{ "type": "null" }
|
|
5989
|
+
]
|
|
5990
|
+
},
|
|
5831
5991
|
"useLoneAnonymousOperation": {
|
|
5832
5992
|
"description": "Disallow anonymous operations when more than one operation specified in document.\nSee https://biomejs.dev/linter/rules/use-lone-anonymous-operation",
|
|
5833
5993
|
"anyOf": [
|
|
@@ -6960,6 +7120,15 @@
|
|
|
6960
7120
|
"additionalProperties": false,
|
|
6961
7121
|
"required": ["level"]
|
|
6962
7122
|
},
|
|
7123
|
+
"RuleWithNoDeprecatedMediaTypeOptions": {
|
|
7124
|
+
"type": "object",
|
|
7125
|
+
"properties": {
|
|
7126
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7127
|
+
"options": { "$ref": "#/$defs/NoDeprecatedMediaTypeOptions" }
|
|
7128
|
+
},
|
|
7129
|
+
"additionalProperties": false,
|
|
7130
|
+
"required": ["level"]
|
|
7131
|
+
},
|
|
6963
7132
|
"RuleWithNoDescendingSpecificityOptions": {
|
|
6964
7133
|
"type": "object",
|
|
6965
7134
|
"properties": {
|
|
@@ -7588,6 +7757,15 @@
|
|
|
7588
7757
|
"additionalProperties": false,
|
|
7589
7758
|
"required": ["level"]
|
|
7590
7759
|
},
|
|
7760
|
+
"RuleWithNoHexColorsOptions": {
|
|
7761
|
+
"type": "object",
|
|
7762
|
+
"properties": {
|
|
7763
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7764
|
+
"options": { "$ref": "#/$defs/NoHexColorsOptions" }
|
|
7765
|
+
},
|
|
7766
|
+
"additionalProperties": false,
|
|
7767
|
+
"required": ["level"]
|
|
7768
|
+
},
|
|
7591
7769
|
"RuleWithNoImgElementOptions": {
|
|
7592
7770
|
"type": "object",
|
|
7593
7771
|
"properties": {
|
|
@@ -7935,6 +8113,15 @@
|
|
|
7935
8113
|
"additionalProperties": false,
|
|
7936
8114
|
"required": ["level"]
|
|
7937
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
|
+
},
|
|
7938
8125
|
"RuleWithNoNestedTernaryOptions": {
|
|
7939
8126
|
"type": "object",
|
|
7940
8127
|
"properties": {
|
|
@@ -8203,6 +8390,15 @@
|
|
|
8203
8390
|
"additionalProperties": false,
|
|
8204
8391
|
"required": ["level"]
|
|
8205
8392
|
},
|
|
8393
|
+
"RuleWithNoRedundantDefaultExportOptions": {
|
|
8394
|
+
"type": "object",
|
|
8395
|
+
"properties": {
|
|
8396
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8397
|
+
"options": { "$ref": "#/$defs/NoRedundantDefaultExportOptions" }
|
|
8398
|
+
},
|
|
8399
|
+
"additionalProperties": false,
|
|
8400
|
+
"required": ["level"]
|
|
8401
|
+
},
|
|
8206
8402
|
"RuleWithNoRedundantRolesOptions": {
|
|
8207
8403
|
"type": "object",
|
|
8208
8404
|
"properties": {
|
|
@@ -8926,6 +9122,16 @@
|
|
|
8926
9122
|
"additionalProperties": false,
|
|
8927
9123
|
"required": ["level"]
|
|
8928
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
|
+
},
|
|
8929
9135
|
"RuleWithNoUselessStringConcatOptions": {
|
|
8930
9136
|
"type": "object",
|
|
8931
9137
|
"properties": {
|
|
@@ -9052,6 +9258,16 @@
|
|
|
9052
9258
|
"additionalProperties": false,
|
|
9053
9259
|
"required": ["level"]
|
|
9054
9260
|
},
|
|
9261
|
+
"RuleWithNoVueArrowFuncInWatchOptions": {
|
|
9262
|
+
"type": "object",
|
|
9263
|
+
"properties": {
|
|
9264
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
9265
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9266
|
+
"options": { "$ref": "#/$defs/NoVueArrowFuncInWatchOptions" }
|
|
9267
|
+
},
|
|
9268
|
+
"additionalProperties": false,
|
|
9269
|
+
"required": ["level"]
|
|
9270
|
+
},
|
|
9055
9271
|
"RuleWithNoVueDataObjectDeclarationOptions": {
|
|
9056
9272
|
"type": "object",
|
|
9057
9273
|
"properties": {
|
|
@@ -9387,6 +9603,15 @@
|
|
|
9387
9603
|
"additionalProperties": false,
|
|
9388
9604
|
"required": ["level"]
|
|
9389
9605
|
},
|
|
9606
|
+
"RuleWithUseConsistentMethodSignaturesOptions": {
|
|
9607
|
+
"type": "object",
|
|
9608
|
+
"properties": {
|
|
9609
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9610
|
+
"options": { "$ref": "#/$defs/UseConsistentMethodSignaturesOptions" }
|
|
9611
|
+
},
|
|
9612
|
+
"additionalProperties": false,
|
|
9613
|
+
"required": ["level"]
|
|
9614
|
+
},
|
|
9390
9615
|
"RuleWithUseConsistentObjectDefinitionsOptions": {
|
|
9391
9616
|
"type": "object",
|
|
9392
9617
|
"properties": {
|
|
@@ -9652,6 +9877,15 @@
|
|
|
9652
9877
|
"additionalProperties": false,
|
|
9653
9878
|
"required": ["level"]
|
|
9654
9879
|
},
|
|
9880
|
+
"RuleWithUseGlobalThisOptions": {
|
|
9881
|
+
"type": "object",
|
|
9882
|
+
"properties": {
|
|
9883
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9884
|
+
"options": { "$ref": "#/$defs/UseGlobalThisOptions" }
|
|
9885
|
+
},
|
|
9886
|
+
"additionalProperties": false,
|
|
9887
|
+
"required": ["level"]
|
|
9888
|
+
},
|
|
9655
9889
|
"RuleWithUseGoogleFontDisplayOptions": {
|
|
9656
9890
|
"type": "object",
|
|
9657
9891
|
"properties": {
|
|
@@ -9792,6 +10026,15 @@
|
|
|
9792
10026
|
"additionalProperties": false,
|
|
9793
10027
|
"required": ["level"]
|
|
9794
10028
|
},
|
|
10029
|
+
"RuleWithUseInputNameOptions": {
|
|
10030
|
+
"type": "object",
|
|
10031
|
+
"properties": {
|
|
10032
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10033
|
+
"options": { "$ref": "#/$defs/UseInputNameOptions" }
|
|
10034
|
+
},
|
|
10035
|
+
"additionalProperties": false,
|
|
10036
|
+
"required": ["level"]
|
|
10037
|
+
},
|
|
9795
10038
|
"RuleWithUseIsArrayOptions": {
|
|
9796
10039
|
"type": "object",
|
|
9797
10040
|
"properties": {
|
|
@@ -12356,6 +12599,26 @@
|
|
|
12356
12599
|
},
|
|
12357
12600
|
"additionalProperties": false
|
|
12358
12601
|
},
|
|
12602
|
+
"UseConsistentMethodSignaturesConfiguration": {
|
|
12603
|
+
"oneOf": [
|
|
12604
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12605
|
+
{ "$ref": "#/$defs/RuleWithUseConsistentMethodSignaturesOptions" }
|
|
12606
|
+
]
|
|
12607
|
+
},
|
|
12608
|
+
"UseConsistentMethodSignaturesOptions": {
|
|
12609
|
+
"description": "Options type for `useConsistentMethodSignatures`.",
|
|
12610
|
+
"type": "object",
|
|
12611
|
+
"properties": {
|
|
12612
|
+
"style": {
|
|
12613
|
+
"description": "The style of method signatures whose usage will be enforced.\n\nDefault: \"property\"",
|
|
12614
|
+
"anyOf": [
|
|
12615
|
+
{ "$ref": "#/$defs/MethodSignatureStyle" },
|
|
12616
|
+
{ "type": "null" }
|
|
12617
|
+
]
|
|
12618
|
+
}
|
|
12619
|
+
},
|
|
12620
|
+
"additionalProperties": false
|
|
12621
|
+
},
|
|
12359
12622
|
"UseConsistentObjectDefinitionsConfiguration": {
|
|
12360
12623
|
"oneOf": [
|
|
12361
12624
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12677,6 +12940,13 @@
|
|
|
12677
12940
|
"type": "object",
|
|
12678
12941
|
"additionalProperties": false
|
|
12679
12942
|
},
|
|
12943
|
+
"UseGlobalThisConfiguration": {
|
|
12944
|
+
"oneOf": [
|
|
12945
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12946
|
+
{ "$ref": "#/$defs/RuleWithUseGlobalThisOptions" }
|
|
12947
|
+
]
|
|
12948
|
+
},
|
|
12949
|
+
"UseGlobalThisOptions": { "type": "object", "additionalProperties": false },
|
|
12680
12950
|
"UseGoogleFontDisplayConfiguration": {
|
|
12681
12951
|
"oneOf": [
|
|
12682
12952
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12835,6 +13105,22 @@
|
|
|
12835
13105
|
"type": "object",
|
|
12836
13106
|
"additionalProperties": false
|
|
12837
13107
|
},
|
|
13108
|
+
"UseInputNameConfiguration": {
|
|
13109
|
+
"oneOf": [
|
|
13110
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13111
|
+
{ "$ref": "#/$defs/RuleWithUseInputNameOptions" }
|
|
13112
|
+
]
|
|
13113
|
+
},
|
|
13114
|
+
"UseInputNameOptions": {
|
|
13115
|
+
"type": "object",
|
|
13116
|
+
"properties": {
|
|
13117
|
+
"checkInputType": {
|
|
13118
|
+
"description": "Check that the input type name follows the convention <mutationName>Input",
|
|
13119
|
+
"anyOf": [{ "$ref": "#/$defs/CheckInputType" }, { "type": "null" }]
|
|
13120
|
+
}
|
|
13121
|
+
},
|
|
13122
|
+
"additionalProperties": false
|
|
13123
|
+
},
|
|
12838
13124
|
"UseIsArrayConfiguration": {
|
|
12839
13125
|
"oneOf": [
|
|
12840
13126
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.3.
|
|
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.
|
|
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.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
|
}
|