@biomejs/biome 2.5.13 → 2.5.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/README.es.md +9 -15
- package/README.fr.md +9 -15
- package/README.hi.md +9 -15
- package/README.ja.md +9 -15
- package/README.kr.md +9 -15
- package/README.md +9 -15
- package/README.pl.md +9 -15
- package/README.pt-BR.md +9 -15
- package/README.ru.md +9 -15
- package/README.uk.md +9 -15
- package/README.zh-CN.md +9 -15
- package/README.zh-TW.md +9 -15
- package/configuration_schema.json +592 -13
- package/package.json +9 -9
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
]
|
|
1511
1511
|
},
|
|
1512
1512
|
"useUniqueElementIds": {
|
|
1513
|
-
"description": "Prevent the usage of static string literal id attribute on elements.\nSee https://biomejs.dev/linter/rules/use-unique-element-ids",
|
|
1513
|
+
"description": "Prevent the usage of static string literal id attribute on elements outside SVG contexts.\nSee https://biomejs.dev/linter/rules/use-unique-element-ids",
|
|
1514
1514
|
"anyOf": [
|
|
1515
1515
|
{ "$ref": "#/$defs/UseUniqueElementIdsConfiguration" },
|
|
1516
1516
|
{ "type": "null" }
|
|
@@ -1980,6 +1980,21 @@
|
|
|
1980
1980
|
},
|
|
1981
1981
|
"additionalProperties": false
|
|
1982
1982
|
},
|
|
1983
|
+
"FunctionStyle": {
|
|
1984
|
+
"description": "The required form for function definitions: `\"expression\"` or `\"declaration\"`.",
|
|
1985
|
+
"oneOf": [
|
|
1986
|
+
{
|
|
1987
|
+
"description": "Require function expressions assigned to variables. This is the default.",
|
|
1988
|
+
"type": "string",
|
|
1989
|
+
"const": "expression"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"description": "Require function declarations, subject to the rule's exceptions.",
|
|
1993
|
+
"type": "string",
|
|
1994
|
+
"const": "declaration"
|
|
1995
|
+
}
|
|
1996
|
+
]
|
|
1997
|
+
},
|
|
1983
1998
|
"Glob": { "type": "string" },
|
|
1984
1999
|
"GraphqlAssistConfiguration": {
|
|
1985
2000
|
"description": "Options that change how GraphQL assist behaves.",
|
|
@@ -3096,6 +3111,16 @@
|
|
|
3096
3111
|
"type": "object",
|
|
3097
3112
|
"additionalProperties": false
|
|
3098
3113
|
},
|
|
3114
|
+
"NoAstroConflictingSetDirectivesConfiguration": {
|
|
3115
|
+
"oneOf": [
|
|
3116
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3117
|
+
{ "$ref": "#/$defs/RuleWithNoAstroConflictingSetDirectivesOptions" }
|
|
3118
|
+
]
|
|
3119
|
+
},
|
|
3120
|
+
"NoAstroConflictingSetDirectivesOptions": {
|
|
3121
|
+
"type": "object",
|
|
3122
|
+
"additionalProperties": false
|
|
3123
|
+
},
|
|
3099
3124
|
"NoAstroSetHtmlDirectiveConfiguration": {
|
|
3100
3125
|
"oneOf": [
|
|
3101
3126
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4616,6 +4641,16 @@
|
|
|
4616
4641
|
},
|
|
4617
4642
|
"additionalProperties": false
|
|
4618
4643
|
},
|
|
4644
|
+
"NoJsonUnsafeValuesConfiguration": {
|
|
4645
|
+
"oneOf": [
|
|
4646
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4647
|
+
{ "$ref": "#/$defs/RuleWithNoJsonUnsafeValuesOptions" }
|
|
4648
|
+
]
|
|
4649
|
+
},
|
|
4650
|
+
"NoJsonUnsafeValuesOptions": {
|
|
4651
|
+
"type": "object",
|
|
4652
|
+
"additionalProperties": false
|
|
4653
|
+
},
|
|
4619
4654
|
"NoJsxLeakedDollarConfiguration": {
|
|
4620
4655
|
"oneOf": [
|
|
4621
4656
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4636,7 +4671,7 @@
|
|
|
4636
4671
|
"type": "object",
|
|
4637
4672
|
"properties": {
|
|
4638
4673
|
"allowedStrings": {
|
|
4639
|
-
"description": "An array of strings that won't trigger the rule.
|
|
4674
|
+
"description": "An array of strings that won't trigger the rule. Surrounding whitespace is ignored.",
|
|
4640
4675
|
"type": ["array", "null"],
|
|
4641
4676
|
"items": { "type": "string" }
|
|
4642
4677
|
},
|
|
@@ -4729,6 +4764,16 @@
|
|
|
4729
4764
|
"type": "object",
|
|
4730
4765
|
"additionalProperties": false
|
|
4731
4766
|
},
|
|
4767
|
+
"NoMeaninglessVoidOperatorConfiguration": {
|
|
4768
|
+
"oneOf": [
|
|
4769
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4770
|
+
{ "$ref": "#/$defs/RuleWithNoMeaninglessVoidOperatorOptions" }
|
|
4771
|
+
]
|
|
4772
|
+
},
|
|
4773
|
+
"NoMeaninglessVoidOperatorOptions": {
|
|
4774
|
+
"type": "object",
|
|
4775
|
+
"additionalProperties": false
|
|
4776
|
+
},
|
|
4732
4777
|
"NoMisleadingCharacterClassConfiguration": {
|
|
4733
4778
|
"oneOf": [
|
|
4734
4779
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4769,6 +4814,16 @@
|
|
|
4769
4814
|
"type": "object",
|
|
4770
4815
|
"additionalProperties": false
|
|
4771
4816
|
},
|
|
4817
|
+
"NoMisplacedListElementsConfiguration": {
|
|
4818
|
+
"oneOf": [
|
|
4819
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4820
|
+
{ "$ref": "#/$defs/RuleWithNoMisplacedListElementsOptions" }
|
|
4821
|
+
]
|
|
4822
|
+
},
|
|
4823
|
+
"NoMisplacedListElementsOptions": {
|
|
4824
|
+
"type": "object",
|
|
4825
|
+
"additionalProperties": false
|
|
4826
|
+
},
|
|
4772
4827
|
"NoMisrefactoredShorthandAssignConfiguration": {
|
|
4773
4828
|
"oneOf": [
|
|
4774
4829
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4975,6 +5030,16 @@
|
|
|
4975
5030
|
"type": "object",
|
|
4976
5031
|
"additionalProperties": false
|
|
4977
5032
|
},
|
|
5033
|
+
"NoObsoleteTagsConfiguration": {
|
|
5034
|
+
"oneOf": [
|
|
5035
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5036
|
+
{ "$ref": "#/$defs/RuleWithNoObsoleteTagsOptions" }
|
|
5037
|
+
]
|
|
5038
|
+
},
|
|
5039
|
+
"NoObsoleteTagsOptions": {
|
|
5040
|
+
"type": "object",
|
|
5041
|
+
"additionalProperties": false
|
|
5042
|
+
},
|
|
4978
5043
|
"NoOctalEscapeConfiguration": {
|
|
4979
5044
|
"oneOf": [
|
|
4980
5045
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5273,6 +5338,16 @@
|
|
|
5273
5338
|
},
|
|
5274
5339
|
"additionalProperties": false
|
|
5275
5340
|
},
|
|
5341
|
+
"NoReactObjectTypeAsDefaultPropConfiguration": {
|
|
5342
|
+
"oneOf": [
|
|
5343
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5344
|
+
{ "$ref": "#/$defs/RuleWithNoReactObjectTypeAsDefaultPropOptions" }
|
|
5345
|
+
]
|
|
5346
|
+
},
|
|
5347
|
+
"NoReactObjectTypeAsDefaultPropOptions": {
|
|
5348
|
+
"type": "object",
|
|
5349
|
+
"additionalProperties": false
|
|
5350
|
+
},
|
|
5276
5351
|
"NoReactPropAssignmentsConfiguration": {
|
|
5277
5352
|
"oneOf": [
|
|
5278
5353
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5454,6 +5529,16 @@
|
|
|
5454
5529
|
"type": "object",
|
|
5455
5530
|
"additionalProperties": false
|
|
5456
5531
|
},
|
|
5532
|
+
"NoReturnInFinallyConfiguration": {
|
|
5533
|
+
"oneOf": [
|
|
5534
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5535
|
+
{ "$ref": "#/$defs/RuleWithNoReturnInFinallyOptions" }
|
|
5536
|
+
]
|
|
5537
|
+
},
|
|
5538
|
+
"NoReturnInFinallyOptions": {
|
|
5539
|
+
"type": "object",
|
|
5540
|
+
"additionalProperties": false
|
|
5541
|
+
},
|
|
5457
5542
|
"NoRootTypeConfiguration": {
|
|
5458
5543
|
"oneOf": [
|
|
5459
5544
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5511,6 +5596,13 @@
|
|
|
5511
5596
|
]
|
|
5512
5597
|
},
|
|
5513
5598
|
"NoSelfCompareOptions": { "type": "object", "additionalProperties": false },
|
|
5599
|
+
"NoSelfImportConfiguration": {
|
|
5600
|
+
"oneOf": [
|
|
5601
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5602
|
+
{ "$ref": "#/$defs/RuleWithNoSelfImportOptions" }
|
|
5603
|
+
]
|
|
5604
|
+
},
|
|
5605
|
+
"NoSelfImportOptions": { "type": "object", "additionalProperties": false },
|
|
5514
5606
|
"NoSetterReturnConfiguration": {
|
|
5515
5607
|
"oneOf": [
|
|
5516
5608
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5645,6 +5737,16 @@
|
|
|
5645
5737
|
"type": "object",
|
|
5646
5738
|
"additionalProperties": false
|
|
5647
5739
|
},
|
|
5740
|
+
"NoSvelteAtDebugTagsConfiguration": {
|
|
5741
|
+
"oneOf": [
|
|
5742
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5743
|
+
{ "$ref": "#/$defs/RuleWithNoSvelteAtDebugTagsOptions" }
|
|
5744
|
+
]
|
|
5745
|
+
},
|
|
5746
|
+
"NoSvelteAtDebugTagsOptions": {
|
|
5747
|
+
"type": "object",
|
|
5748
|
+
"additionalProperties": false
|
|
5749
|
+
},
|
|
5648
5750
|
"NoSvelteAtHtmlTagsConfiguration": {
|
|
5649
5751
|
"oneOf": [
|
|
5650
5752
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5655,6 +5757,16 @@
|
|
|
5655
5757
|
"type": "object",
|
|
5656
5758
|
"additionalProperties": false
|
|
5657
5759
|
},
|
|
5760
|
+
"NoSvelteExportLetConfiguration": {
|
|
5761
|
+
"oneOf": [
|
|
5762
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5763
|
+
{ "$ref": "#/$defs/RuleWithNoSvelteExportLetOptions" }
|
|
5764
|
+
]
|
|
5765
|
+
},
|
|
5766
|
+
"NoSvelteExportLetOptions": {
|
|
5767
|
+
"type": "object",
|
|
5768
|
+
"additionalProperties": false
|
|
5769
|
+
},
|
|
5658
5770
|
"NoSvelteLegacyConstConfiguration": {
|
|
5659
5771
|
"oneOf": [
|
|
5660
5772
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5720,18 +5832,23 @@
|
|
|
5720
5832
|
]
|
|
5721
5833
|
},
|
|
5722
5834
|
"NoTailwindArbitraryValueOptions": {
|
|
5723
|
-
"
|
|
5835
|
+
"type": "object",
|
|
5836
|
+
"additionalProperties": false
|
|
5837
|
+
},
|
|
5838
|
+
"NoTailwindRawColorsConfiguration": {
|
|
5839
|
+
"oneOf": [
|
|
5840
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5841
|
+
{ "$ref": "#/$defs/RuleWithNoTailwindRawColorsOptions" }
|
|
5842
|
+
]
|
|
5843
|
+
},
|
|
5844
|
+
"NoTailwindRawColorsOptions": {
|
|
5724
5845
|
"type": "object",
|
|
5725
5846
|
"properties": {
|
|
5726
|
-
"
|
|
5727
|
-
"description": "
|
|
5847
|
+
"allowedColors": {
|
|
5848
|
+
"description": "Exact palette colors to allow, such as `slate-950` or `pink-500`. Defaults to none.",
|
|
5728
5849
|
"type": ["array", "null"],
|
|
5729
|
-
"items": { "type": "string" }
|
|
5730
|
-
|
|
5731
|
-
"functions": {
|
|
5732
|
-
"description": "Names of the functions or tagged templates that will be checked.",
|
|
5733
|
-
"type": ["array", "null"],
|
|
5734
|
-
"items": { "type": "string" }
|
|
5850
|
+
"items": { "type": "string" },
|
|
5851
|
+
"uniqueItems": true
|
|
5735
5852
|
}
|
|
5736
5853
|
},
|
|
5737
5854
|
"additionalProperties": false
|
|
@@ -6729,6 +6846,23 @@
|
|
|
6729
6846
|
"type": "object",
|
|
6730
6847
|
"additionalProperties": false
|
|
6731
6848
|
},
|
|
6849
|
+
"NoVueUndeclaredDirectivesConfiguration": {
|
|
6850
|
+
"oneOf": [
|
|
6851
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6852
|
+
{ "$ref": "#/$defs/RuleWithNoVueUndeclaredDirectivesOptions" }
|
|
6853
|
+
]
|
|
6854
|
+
},
|
|
6855
|
+
"NoVueUndeclaredDirectivesOptions": {
|
|
6856
|
+
"type": "object",
|
|
6857
|
+
"properties": {
|
|
6858
|
+
"globals": {
|
|
6859
|
+
"description": "Names of directives registered globally with `app.directive(...)`,\nwritten in kebab-case without the `v-` prefix, such as\n`click-outside` for `v-click-outside`.",
|
|
6860
|
+
"type": ["array", "null"],
|
|
6861
|
+
"items": { "type": "string" }
|
|
6862
|
+
}
|
|
6863
|
+
},
|
|
6864
|
+
"additionalProperties": false
|
|
6865
|
+
},
|
|
6732
6866
|
"NoVueVIfWithVForConfiguration": {
|
|
6733
6867
|
"oneOf": [
|
|
6734
6868
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -6776,6 +6910,30 @@
|
|
|
6776
6910
|
"type": "object",
|
|
6777
6911
|
"additionalProperties": false
|
|
6778
6912
|
},
|
|
6913
|
+
"NormalizationForm": {
|
|
6914
|
+
"oneOf": [
|
|
6915
|
+
{
|
|
6916
|
+
"description": "Canonical Decomposition followed by Canonical Composition",
|
|
6917
|
+
"type": "string",
|
|
6918
|
+
"const": "NFC"
|
|
6919
|
+
},
|
|
6920
|
+
{
|
|
6921
|
+
"description": "Canonical Decomposition",
|
|
6922
|
+
"type": "string",
|
|
6923
|
+
"const": "NFD"
|
|
6924
|
+
},
|
|
6925
|
+
{
|
|
6926
|
+
"description": "Compatibility Decomposition followed by Canonical Composition",
|
|
6927
|
+
"type": "string",
|
|
6928
|
+
"const": "NFKC"
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
"description": "Compatibility Decomposition",
|
|
6932
|
+
"type": "string",
|
|
6933
|
+
"const": "NFKD"
|
|
6934
|
+
}
|
|
6935
|
+
]
|
|
6936
|
+
},
|
|
6779
6937
|
"NormalizedGlob": {
|
|
6780
6938
|
"description": "Normalized Biome glob pattern that strips `./` from the pattern.",
|
|
6781
6939
|
"type": "string"
|
|
@@ -6804,6 +6962,13 @@
|
|
|
6804
6962
|
"description": "A list of rules that belong to this group",
|
|
6805
6963
|
"type": "object",
|
|
6806
6964
|
"properties": {
|
|
6965
|
+
"noAstroConflictingSetDirectives": {
|
|
6966
|
+
"description": "Disallow conflicting content sources on Astro elements.\nSee https://biomejs.dev/linter/rules/no-astro-conflicting-set-directives",
|
|
6967
|
+
"anyOf": [
|
|
6968
|
+
{ "$ref": "#/$defs/NoAstroConflictingSetDirectivesConfiguration" },
|
|
6969
|
+
{ "type": "null" }
|
|
6970
|
+
]
|
|
6971
|
+
},
|
|
6807
6972
|
"noAstroSetHtmlDirective": {
|
|
6808
6973
|
"description": "Disallow the use of Astro's set:html directive.\nSee https://biomejs.dev/linter/rules/no-astro-set-html-directive",
|
|
6809
6974
|
"anyOf": [
|
|
@@ -6944,6 +7109,13 @@
|
|
|
6944
7109
|
{ "type": "null" }
|
|
6945
7110
|
]
|
|
6946
7111
|
},
|
|
7112
|
+
"noJsonUnsafeValues": {
|
|
7113
|
+
"description": "Disallow unsafe JSON values that may cause interoperability issues.\nSee https://biomejs.dev/linter/rules/no-json-unsafe-values",
|
|
7114
|
+
"anyOf": [
|
|
7115
|
+
{ "$ref": "#/$defs/NoJsonUnsafeValuesConfiguration" },
|
|
7116
|
+
{ "type": "null" }
|
|
7117
|
+
]
|
|
7118
|
+
},
|
|
6947
7119
|
"noJsxLeakedDollar": {
|
|
6948
7120
|
"description": "Flags text nodes with a trailing $ before a JSX expression.\nSee https://biomejs.dev/linter/rules/no-jsx-leaked-dollar",
|
|
6949
7121
|
"anyOf": [
|
|
@@ -6965,6 +7137,13 @@
|
|
|
6965
7137
|
{ "type": "null" }
|
|
6966
7138
|
]
|
|
6967
7139
|
},
|
|
7140
|
+
"noMeaninglessVoidOperator": {
|
|
7141
|
+
"description": "Disallow void when it does not discard a call's return value or a thenable.\nSee https://biomejs.dev/linter/rules/no-meaningless-void-operator",
|
|
7142
|
+
"anyOf": [
|
|
7143
|
+
{ "$ref": "#/$defs/NoMeaninglessVoidOperatorConfiguration" },
|
|
7144
|
+
{ "type": "null" }
|
|
7145
|
+
]
|
|
7146
|
+
},
|
|
6968
7147
|
"noMisleadingReturnType": {
|
|
6969
7148
|
"description": "Detect return type annotations that are misleadingly wider than what the implementation actually returns.\nSee https://biomejs.dev/linter/rules/no-misleading-return-type",
|
|
6970
7149
|
"anyOf": [
|
|
@@ -6972,6 +7151,13 @@
|
|
|
6972
7151
|
{ "type": "null" }
|
|
6973
7152
|
]
|
|
6974
7153
|
},
|
|
7154
|
+
"noMisplacedListElements": {
|
|
7155
|
+
"description": "Require \\<li> elements with an HTML element parent to be children of \\<ul>, \\<ol>, or \\<menu>.\nSee https://biomejs.dev/linter/rules/no-misplaced-list-elements",
|
|
7156
|
+
"anyOf": [
|
|
7157
|
+
{ "$ref": "#/$defs/NoMisplacedListElementsConfiguration" },
|
|
7158
|
+
{ "type": "null" }
|
|
7159
|
+
]
|
|
7160
|
+
},
|
|
6975
7161
|
"noMisusedPromises": {
|
|
6976
7162
|
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee https://biomejs.dev/linter/rules/no-misused-promises",
|
|
6977
7163
|
"anyOf": [
|
|
@@ -6993,6 +7179,13 @@
|
|
|
6993
7179
|
{ "type": "null" }
|
|
6994
7180
|
]
|
|
6995
7181
|
},
|
|
7182
|
+
"noObsoleteTags": {
|
|
7183
|
+
"description": "Disallow obsolete HTML elements.\nSee https://biomejs.dev/linter/rules/no-obsolete-tags",
|
|
7184
|
+
"anyOf": [
|
|
7185
|
+
{ "$ref": "#/$defs/NoObsoleteTagsConfiguration" },
|
|
7186
|
+
{ "type": "null" }
|
|
7187
|
+
]
|
|
7188
|
+
},
|
|
6996
7189
|
"noPlaywrightElementHandle": {
|
|
6997
7190
|
"description": "Disallow usage of element handles (page.$() and page.$$()).\nSee https://biomejs.dev/linter/rules/no-playwright-element-handle",
|
|
6998
7191
|
"anyOf": [
|
|
@@ -7084,6 +7277,13 @@
|
|
|
7084
7277
|
{ "type": "null" }
|
|
7085
7278
|
]
|
|
7086
7279
|
},
|
|
7280
|
+
"noReactObjectTypeAsDefaultProp": {
|
|
7281
|
+
"description": "Disallow array, object, and function values as default props in React components.\nSee https://biomejs.dev/linter/rules/no-react-object-type-as-default-prop",
|
|
7282
|
+
"anyOf": [
|
|
7283
|
+
{ "$ref": "#/$defs/NoReactObjectTypeAsDefaultPropConfiguration" },
|
|
7284
|
+
{ "type": "null" }
|
|
7285
|
+
]
|
|
7286
|
+
},
|
|
7087
7287
|
"noReactStringRefs": {
|
|
7088
7288
|
"description": "Disallow string refs in React components.\nSee https://biomejs.dev/linter/rules/no-react-string-refs",
|
|
7089
7289
|
"anyOf": [
|
|
@@ -7098,6 +7298,27 @@
|
|
|
7098
7298
|
{ "type": "null" }
|
|
7099
7299
|
]
|
|
7100
7300
|
},
|
|
7301
|
+
"noReturnInFinally": {
|
|
7302
|
+
"description": "Disallow return statements in Promise.prototype.finally() callbacks.\nSee https://biomejs.dev/linter/rules/no-return-in-finally",
|
|
7303
|
+
"anyOf": [
|
|
7304
|
+
{ "$ref": "#/$defs/NoReturnInFinallyConfiguration" },
|
|
7305
|
+
{ "type": "null" }
|
|
7306
|
+
]
|
|
7307
|
+
},
|
|
7308
|
+
"noSelfImport": {
|
|
7309
|
+
"description": "Forbid a module from importing itself.\nSee https://biomejs.dev/linter/rules/no-self-import",
|
|
7310
|
+
"anyOf": [
|
|
7311
|
+
{ "$ref": "#/$defs/NoSelfImportConfiguration" },
|
|
7312
|
+
{ "type": "null" }
|
|
7313
|
+
]
|
|
7314
|
+
},
|
|
7315
|
+
"noSvelteAtDebugTags": {
|
|
7316
|
+
"description": "Disallow the use of Svelte's {@debug} tag.\nSee https://biomejs.dev/linter/rules/no-svelte-at-debug-tags",
|
|
7317
|
+
"anyOf": [
|
|
7318
|
+
{ "$ref": "#/$defs/NoSvelteAtDebugTagsConfiguration" },
|
|
7319
|
+
{ "type": "null" }
|
|
7320
|
+
]
|
|
7321
|
+
},
|
|
7101
7322
|
"noSvelteAtHtmlTags": {
|
|
7102
7323
|
"description": "Disallow the use of Svelte's {@html} tag.\nSee https://biomejs.dev/linter/rules/no-svelte-at-html-tags",
|
|
7103
7324
|
"anyOf": [
|
|
@@ -7105,6 +7326,13 @@
|
|
|
7105
7326
|
{ "type": "null" }
|
|
7106
7327
|
]
|
|
7107
7328
|
},
|
|
7329
|
+
"noSvelteExportLet": {
|
|
7330
|
+
"description": "Disallow declaring Svelte component props with export let.\nSee https://biomejs.dev/linter/rules/no-svelte-export-let",
|
|
7331
|
+
"anyOf": [
|
|
7332
|
+
{ "$ref": "#/$defs/NoSvelteExportLetConfiguration" },
|
|
7333
|
+
{ "type": "null" }
|
|
7334
|
+
]
|
|
7335
|
+
},
|
|
7108
7336
|
"noSvelteLegacyConst": {
|
|
7109
7337
|
"description": "Disallow legacy Svelte {@const} tags.\nSee https://biomejs.dev/linter/rules/no-svelte-legacy-const",
|
|
7110
7338
|
"anyOf": [
|
|
@@ -7126,6 +7354,13 @@
|
|
|
7126
7354
|
{ "type": "null" }
|
|
7127
7355
|
]
|
|
7128
7356
|
},
|
|
7357
|
+
"noTailwindRawColors": {
|
|
7358
|
+
"description": "Disallow Tailwind CSS utility classes that use raw palette colors.\nSee https://biomejs.dev/linter/rules/no-tailwind-raw-colors",
|
|
7359
|
+
"anyOf": [
|
|
7360
|
+
{ "$ref": "#/$defs/NoTailwindRawColorsConfiguration" },
|
|
7361
|
+
{ "type": "null" }
|
|
7362
|
+
]
|
|
7363
|
+
},
|
|
7129
7364
|
"noThisOutsideOfClass": {
|
|
7130
7365
|
"description": "Disallow this outside of classes.\nSee https://biomejs.dev/linter/rules/no-this-outside-of-class",
|
|
7131
7366
|
"anyOf": [
|
|
@@ -7231,6 +7466,13 @@
|
|
|
7231
7466
|
{ "type": "null" }
|
|
7232
7467
|
]
|
|
7233
7468
|
},
|
|
7469
|
+
"noVueUndeclaredDirectives": {
|
|
7470
|
+
"description": "Disallow custom Vue directives that are not declared.\nSee https://biomejs.dev/linter/rules/no-vue-undeclared-directives",
|
|
7471
|
+
"anyOf": [
|
|
7472
|
+
{ "$ref": "#/$defs/NoVueUndeclaredDirectivesConfiguration" },
|
|
7473
|
+
{ "type": "null" }
|
|
7474
|
+
]
|
|
7475
|
+
},
|
|
7234
7476
|
"noVueVOnNumberValues": {
|
|
7235
7477
|
"description": "Disallow deprecated number modifiers on Vue v-on directives.\nSee https://biomejs.dev/linter/rules/no-vue-v-on-number-values",
|
|
7236
7478
|
"anyOf": [
|
|
@@ -7288,6 +7530,20 @@
|
|
|
7288
7530
|
{ "type": "null" }
|
|
7289
7531
|
]
|
|
7290
7532
|
},
|
|
7533
|
+
"useConsistentFunctionStyle": {
|
|
7534
|
+
"description": "Enforce consistent use of function declarations or expressions assigned to variables.\nSee https://biomejs.dev/linter/rules/use-consistent-function-style",
|
|
7535
|
+
"anyOf": [
|
|
7536
|
+
{ "$ref": "#/$defs/UseConsistentFunctionStyleConfiguration" },
|
|
7537
|
+
{ "type": "null" }
|
|
7538
|
+
]
|
|
7539
|
+
},
|
|
7540
|
+
"useConsistentObjectKeys": {
|
|
7541
|
+
"description": "Enforce JSON keys with consistent Unicode representation.\nSee https://biomejs.dev/linter/rules/use-consistent-object-keys",
|
|
7542
|
+
"anyOf": [
|
|
7543
|
+
{ "$ref": "#/$defs/UseConsistentObjectKeysConfiguration" },
|
|
7544
|
+
{ "type": "null" }
|
|
7545
|
+
]
|
|
7546
|
+
},
|
|
7291
7547
|
"useConsistentTestIt": {
|
|
7292
7548
|
"description": "Enforce consistent use of it or test for test functions.\nSee https://biomejs.dev/linter/rules/use-consistent-test-it",
|
|
7293
7549
|
"anyOf": [
|
|
@@ -7373,7 +7629,7 @@
|
|
|
7373
7629
|
]
|
|
7374
7630
|
},
|
|
7375
7631
|
"useIncludes": {
|
|
7376
|
-
"description": "Prefer Array#includes() over Array#indexOf()
|
|
7632
|
+
"description": "Prefer Array#includes() over Array#indexOf(), Array#lastIndexOf(), and Array#some() when checking for existence or non-existence.\nSee https://biomejs.dev/linter/rules/use-includes",
|
|
7377
7633
|
"anyOf": [
|
|
7378
7634
|
{ "$ref": "#/$defs/UseIncludesConfiguration" },
|
|
7379
7635
|
{ "type": "null" }
|
|
@@ -7386,6 +7642,13 @@
|
|
|
7386
7642
|
{ "type": "null" }
|
|
7387
7643
|
]
|
|
7388
7644
|
},
|
|
7645
|
+
"useLogicalProperties": {
|
|
7646
|
+
"description": "Enforce logical properties over physical properties.\nSee https://biomejs.dev/linter/rules/use-logical-properties",
|
|
7647
|
+
"anyOf": [
|
|
7648
|
+
{ "$ref": "#/$defs/UseLogicalPropertiesConfiguration" },
|
|
7649
|
+
{ "type": "null" }
|
|
7650
|
+
]
|
|
7651
|
+
},
|
|
7389
7652
|
"useMathMinMax": {
|
|
7390
7653
|
"description": "Prefer Math.min() and Math.max() over ternaries for simple comparisons.\nSee https://biomejs.dev/linter/rules/use-math-min-max",
|
|
7391
7654
|
"anyOf": [
|
|
@@ -7430,6 +7693,13 @@
|
|
|
7430
7693
|
{ "type": "null" }
|
|
7431
7694
|
]
|
|
7432
7695
|
},
|
|
7696
|
+
"usePromiseRejectErrors": {
|
|
7697
|
+
"description": "Require Error objects as Promise rejection reasons.\nSee https://biomejs.dev/linter/rules/use-promise-reject-errors",
|
|
7698
|
+
"anyOf": [
|
|
7699
|
+
{ "$ref": "#/$defs/UsePromiseRejectErrorsConfiguration" },
|
|
7700
|
+
{ "type": "null" }
|
|
7701
|
+
]
|
|
7702
|
+
},
|
|
7433
7703
|
"useQwikLoaderLocation": {
|
|
7434
7704
|
"description": "Enforce that Qwik loader functions are declared in the correct location.\nSee https://biomejs.dev/linter/rules/use-qwik-loader-location",
|
|
7435
7705
|
"anyOf": [
|
|
@@ -7509,6 +7779,13 @@
|
|
|
7509
7779
|
{ "type": "null" }
|
|
7510
7780
|
]
|
|
7511
7781
|
},
|
|
7782
|
+
"useStrictBooleanExpressions": {
|
|
7783
|
+
"description": "Require unambiguous boolean expressions in conditions.\nSee https://biomejs.dev/linter/rules/use-strict-boolean-expressions",
|
|
7784
|
+
"anyOf": [
|
|
7785
|
+
{ "$ref": "#/$defs/UseStrictBooleanExpressionsConfiguration" },
|
|
7786
|
+
{ "type": "null" }
|
|
7787
|
+
]
|
|
7788
|
+
},
|
|
7512
7789
|
"useStringStartsEndsWith": {
|
|
7513
7790
|
"description": "Prefer String#startsWith() and String#endsWith() over verbose prefix and suffix checks.\nSee https://biomejs.dev/linter/rules/use-string-starts-ends-with",
|
|
7514
7791
|
"anyOf": [
|
|
@@ -7516,6 +7793,13 @@
|
|
|
7516
7793
|
{ "type": "null" }
|
|
7517
7794
|
]
|
|
7518
7795
|
},
|
|
7796
|
+
"useSvelteKitRuneImports": {
|
|
7797
|
+
"description": "Require importing SvelteKit's app state from $app/state instead of $app/stores.\nSee https://biomejs.dev/linter/rules/use-svelte-kit-rune-imports",
|
|
7798
|
+
"anyOf": [
|
|
7799
|
+
{ "$ref": "#/$defs/UseSvelteKitRuneImportsConfiguration" },
|
|
7800
|
+
{ "type": "null" }
|
|
7801
|
+
]
|
|
7802
|
+
},
|
|
7519
7803
|
"useSvelteRequireEachKey": {
|
|
7520
7804
|
"description": "Require keyed {#each} blocks in Svelte templates.\nSee https://biomejs.dev/linter/rules/use-svelte-require-each-key",
|
|
7521
7805
|
"anyOf": [
|
|
@@ -7558,6 +7842,13 @@
|
|
|
7558
7842
|
{ "type": "null" }
|
|
7559
7843
|
]
|
|
7560
7844
|
},
|
|
7845
|
+
"useValidTestTitle": {
|
|
7846
|
+
"description": "Enforce valid titles for unit test cases and test suites.\nSee https://biomejs.dev/linter/rules/use-valid-test-title",
|
|
7847
|
+
"anyOf": [
|
|
7848
|
+
{ "$ref": "#/$defs/UseValidTestTitleConfiguration" },
|
|
7849
|
+
{ "type": "null" }
|
|
7850
|
+
]
|
|
7851
|
+
},
|
|
7561
7852
|
"useVarsOnTop": {
|
|
7562
7853
|
"description": "Require var declarations to appear at the top of their containing scope.\nSee https://biomejs.dev/linter/rules/use-vars-on-top",
|
|
7563
7854
|
"anyOf": [
|
|
@@ -8332,6 +8623,15 @@
|
|
|
8332
8623
|
"additionalProperties": false,
|
|
8333
8624
|
"required": ["level"]
|
|
8334
8625
|
},
|
|
8626
|
+
"RuleWithNoAstroConflictingSetDirectivesOptions": {
|
|
8627
|
+
"type": "object",
|
|
8628
|
+
"properties": {
|
|
8629
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8630
|
+
"options": { "$ref": "#/$defs/NoAstroConflictingSetDirectivesOptions" }
|
|
8631
|
+
},
|
|
8632
|
+
"additionalProperties": false,
|
|
8633
|
+
"required": ["level"]
|
|
8634
|
+
},
|
|
8335
8635
|
"RuleWithNoAstroSetHtmlDirectiveOptions": {
|
|
8336
8636
|
"type": "object",
|
|
8337
8637
|
"properties": {
|
|
@@ -9628,6 +9928,15 @@
|
|
|
9628
9928
|
"additionalProperties": false,
|
|
9629
9929
|
"required": ["level"]
|
|
9630
9930
|
},
|
|
9931
|
+
"RuleWithNoJsonUnsafeValuesOptions": {
|
|
9932
|
+
"type": "object",
|
|
9933
|
+
"properties": {
|
|
9934
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9935
|
+
"options": { "$ref": "#/$defs/NoJsonUnsafeValuesOptions" }
|
|
9936
|
+
},
|
|
9937
|
+
"additionalProperties": false,
|
|
9938
|
+
"required": ["level"]
|
|
9939
|
+
},
|
|
9631
9940
|
"RuleWithNoJsxLeakedDollarOptions": {
|
|
9632
9941
|
"type": "object",
|
|
9633
9942
|
"properties": {
|
|
@@ -9710,6 +10019,16 @@
|
|
|
9710
10019
|
"additionalProperties": false,
|
|
9711
10020
|
"required": ["level"]
|
|
9712
10021
|
},
|
|
10022
|
+
"RuleWithNoMeaninglessVoidOperatorOptions": {
|
|
10023
|
+
"type": "object",
|
|
10024
|
+
"properties": {
|
|
10025
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10026
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10027
|
+
"options": { "$ref": "#/$defs/NoMeaninglessVoidOperatorOptions" }
|
|
10028
|
+
},
|
|
10029
|
+
"additionalProperties": false,
|
|
10030
|
+
"required": ["level"]
|
|
10031
|
+
},
|
|
9713
10032
|
"RuleWithNoMisleadingCharacterClassOptions": {
|
|
9714
10033
|
"type": "object",
|
|
9715
10034
|
"properties": {
|
|
@@ -9747,6 +10066,15 @@
|
|
|
9747
10066
|
"additionalProperties": false,
|
|
9748
10067
|
"required": ["level"]
|
|
9749
10068
|
},
|
|
10069
|
+
"RuleWithNoMisplacedListElementsOptions": {
|
|
10070
|
+
"type": "object",
|
|
10071
|
+
"properties": {
|
|
10072
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10073
|
+
"options": { "$ref": "#/$defs/NoMisplacedListElementsOptions" }
|
|
10074
|
+
},
|
|
10075
|
+
"additionalProperties": false,
|
|
10076
|
+
"required": ["level"]
|
|
10077
|
+
},
|
|
9750
10078
|
"RuleWithNoMisrefactoredShorthandAssignOptions": {
|
|
9751
10079
|
"type": "object",
|
|
9752
10080
|
"properties": {
|
|
@@ -9948,6 +10276,15 @@
|
|
|
9948
10276
|
"additionalProperties": false,
|
|
9949
10277
|
"required": ["level"]
|
|
9950
10278
|
},
|
|
10279
|
+
"RuleWithNoObsoleteTagsOptions": {
|
|
10280
|
+
"type": "object",
|
|
10281
|
+
"properties": {
|
|
10282
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10283
|
+
"options": { "$ref": "#/$defs/NoObsoleteTagsOptions" }
|
|
10284
|
+
},
|
|
10285
|
+
"additionalProperties": false,
|
|
10286
|
+
"required": ["level"]
|
|
10287
|
+
},
|
|
9951
10288
|
"RuleWithNoOctalEscapeOptions": {
|
|
9952
10289
|
"type": "object",
|
|
9953
10290
|
"properties": {
|
|
@@ -10211,6 +10548,15 @@
|
|
|
10211
10548
|
"additionalProperties": false,
|
|
10212
10549
|
"required": ["level"]
|
|
10213
10550
|
},
|
|
10551
|
+
"RuleWithNoReactObjectTypeAsDefaultPropOptions": {
|
|
10552
|
+
"type": "object",
|
|
10553
|
+
"properties": {
|
|
10554
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10555
|
+
"options": { "$ref": "#/$defs/NoReactObjectTypeAsDefaultPropOptions" }
|
|
10556
|
+
},
|
|
10557
|
+
"additionalProperties": false,
|
|
10558
|
+
"required": ["level"]
|
|
10559
|
+
},
|
|
10214
10560
|
"RuleWithNoReactPropAssignmentsOptions": {
|
|
10215
10561
|
"type": "object",
|
|
10216
10562
|
"properties": {
|
|
@@ -10350,6 +10696,15 @@
|
|
|
10350
10696
|
"additionalProperties": false,
|
|
10351
10697
|
"required": ["level"]
|
|
10352
10698
|
},
|
|
10699
|
+
"RuleWithNoReturnInFinallyOptions": {
|
|
10700
|
+
"type": "object",
|
|
10701
|
+
"properties": {
|
|
10702
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10703
|
+
"options": { "$ref": "#/$defs/NoReturnInFinallyOptions" }
|
|
10704
|
+
},
|
|
10705
|
+
"additionalProperties": false,
|
|
10706
|
+
"required": ["level"]
|
|
10707
|
+
},
|
|
10353
10708
|
"RuleWithNoRootTypeOptions": {
|
|
10354
10709
|
"type": "object",
|
|
10355
10710
|
"properties": {
|
|
@@ -10395,6 +10750,15 @@
|
|
|
10395
10750
|
"additionalProperties": false,
|
|
10396
10751
|
"required": ["level"]
|
|
10397
10752
|
},
|
|
10753
|
+
"RuleWithNoSelfImportOptions": {
|
|
10754
|
+
"type": "object",
|
|
10755
|
+
"properties": {
|
|
10756
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10757
|
+
"options": { "$ref": "#/$defs/NoSelfImportOptions" }
|
|
10758
|
+
},
|
|
10759
|
+
"additionalProperties": false,
|
|
10760
|
+
"required": ["level"]
|
|
10761
|
+
},
|
|
10398
10762
|
"RuleWithNoSetterReturnOptions": {
|
|
10399
10763
|
"type": "object",
|
|
10400
10764
|
"properties": {
|
|
@@ -10517,6 +10881,16 @@
|
|
|
10517
10881
|
"additionalProperties": false,
|
|
10518
10882
|
"required": ["level"]
|
|
10519
10883
|
},
|
|
10884
|
+
"RuleWithNoSvelteAtDebugTagsOptions": {
|
|
10885
|
+
"type": "object",
|
|
10886
|
+
"properties": {
|
|
10887
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10888
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10889
|
+
"options": { "$ref": "#/$defs/NoSvelteAtDebugTagsOptions" }
|
|
10890
|
+
},
|
|
10891
|
+
"additionalProperties": false,
|
|
10892
|
+
"required": ["level"]
|
|
10893
|
+
},
|
|
10520
10894
|
"RuleWithNoSvelteAtHtmlTagsOptions": {
|
|
10521
10895
|
"type": "object",
|
|
10522
10896
|
"properties": {
|
|
@@ -10526,6 +10900,15 @@
|
|
|
10526
10900
|
"additionalProperties": false,
|
|
10527
10901
|
"required": ["level"]
|
|
10528
10902
|
},
|
|
10903
|
+
"RuleWithNoSvelteExportLetOptions": {
|
|
10904
|
+
"type": "object",
|
|
10905
|
+
"properties": {
|
|
10906
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10907
|
+
"options": { "$ref": "#/$defs/NoSvelteExportLetOptions" }
|
|
10908
|
+
},
|
|
10909
|
+
"additionalProperties": false,
|
|
10910
|
+
"required": ["level"]
|
|
10911
|
+
},
|
|
10529
10912
|
"RuleWithNoSvelteLegacyConstOptions": {
|
|
10530
10913
|
"type": "object",
|
|
10531
10914
|
"properties": {
|
|
@@ -10582,6 +10965,15 @@
|
|
|
10582
10965
|
"additionalProperties": false,
|
|
10583
10966
|
"required": ["level"]
|
|
10584
10967
|
},
|
|
10968
|
+
"RuleWithNoTailwindRawColorsOptions": {
|
|
10969
|
+
"type": "object",
|
|
10970
|
+
"properties": {
|
|
10971
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10972
|
+
"options": { "$ref": "#/$defs/NoTailwindRawColorsOptions" }
|
|
10973
|
+
},
|
|
10974
|
+
"additionalProperties": false,
|
|
10975
|
+
"required": ["level"]
|
|
10976
|
+
},
|
|
10585
10977
|
"RuleWithNoTemplateCurlyInStringOptions": {
|
|
10586
10978
|
"type": "object",
|
|
10587
10979
|
"properties": {
|
|
@@ -11382,6 +11774,15 @@
|
|
|
11382
11774
|
"additionalProperties": false,
|
|
11383
11775
|
"required": ["level"]
|
|
11384
11776
|
},
|
|
11777
|
+
"RuleWithNoVueUndeclaredDirectivesOptions": {
|
|
11778
|
+
"type": "object",
|
|
11779
|
+
"properties": {
|
|
11780
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11781
|
+
"options": { "$ref": "#/$defs/NoVueUndeclaredDirectivesOptions" }
|
|
11782
|
+
},
|
|
11783
|
+
"additionalProperties": false,
|
|
11784
|
+
"required": ["level"]
|
|
11785
|
+
},
|
|
11385
11786
|
"RuleWithNoVueVIfWithVForOptions": {
|
|
11386
11787
|
"type": "object",
|
|
11387
11788
|
"properties": {
|
|
@@ -11709,6 +12110,15 @@
|
|
|
11709
12110
|
"additionalProperties": false,
|
|
11710
12111
|
"required": ["level"]
|
|
11711
12112
|
},
|
|
12113
|
+
"RuleWithUseConsistentFunctionStyleOptions": {
|
|
12114
|
+
"type": "object",
|
|
12115
|
+
"properties": {
|
|
12116
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12117
|
+
"options": { "$ref": "#/$defs/UseConsistentFunctionStyleOptions" }
|
|
12118
|
+
},
|
|
12119
|
+
"additionalProperties": false,
|
|
12120
|
+
"required": ["level"]
|
|
12121
|
+
},
|
|
11712
12122
|
"RuleWithUseConsistentGraphqlDescriptionsOptions": {
|
|
11713
12123
|
"type": "object",
|
|
11714
12124
|
"properties": {
|
|
@@ -11747,6 +12157,16 @@
|
|
|
11747
12157
|
"additionalProperties": false,
|
|
11748
12158
|
"required": ["level"]
|
|
11749
12159
|
},
|
|
12160
|
+
"RuleWithUseConsistentObjectKeysOptions": {
|
|
12161
|
+
"type": "object",
|
|
12162
|
+
"properties": {
|
|
12163
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
12164
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12165
|
+
"options": { "$ref": "#/$defs/UseConsistentObjectKeysOptions" }
|
|
12166
|
+
},
|
|
12167
|
+
"additionalProperties": false,
|
|
12168
|
+
"required": ["level"]
|
|
12169
|
+
},
|
|
11750
12170
|
"RuleWithUseConsistentTestItOptions": {
|
|
11751
12171
|
"type": "object",
|
|
11752
12172
|
"properties": {
|
|
@@ -12350,6 +12770,15 @@
|
|
|
12350
12770
|
"additionalProperties": false,
|
|
12351
12771
|
"required": ["level"]
|
|
12352
12772
|
},
|
|
12773
|
+
"RuleWithUseLogicalPropertiesOptions": {
|
|
12774
|
+
"type": "object",
|
|
12775
|
+
"properties": {
|
|
12776
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12777
|
+
"options": { "$ref": "#/$defs/UseLogicalPropertiesOptions" }
|
|
12778
|
+
},
|
|
12779
|
+
"additionalProperties": false,
|
|
12780
|
+
"required": ["level"]
|
|
12781
|
+
},
|
|
12353
12782
|
"RuleWithUseLoneAnonymousOperationOptions": {
|
|
12354
12783
|
"type": "object",
|
|
12355
12784
|
"properties": {
|
|
@@ -12555,6 +12984,15 @@
|
|
|
12555
12984
|
"additionalProperties": false,
|
|
12556
12985
|
"required": ["level"]
|
|
12557
12986
|
},
|
|
12987
|
+
"RuleWithUsePromiseRejectErrorsOptions": {
|
|
12988
|
+
"type": "object",
|
|
12989
|
+
"properties": {
|
|
12990
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12991
|
+
"options": { "$ref": "#/$defs/UsePromiseRejectErrorsOptions" }
|
|
12992
|
+
},
|
|
12993
|
+
"additionalProperties": false,
|
|
12994
|
+
"required": ["level"]
|
|
12995
|
+
},
|
|
12558
12996
|
"RuleWithUseQwikClasslistOptions": {
|
|
12559
12997
|
"type": "object",
|
|
12560
12998
|
"properties": {
|
|
@@ -12835,6 +13273,15 @@
|
|
|
12835
13273
|
"additionalProperties": false,
|
|
12836
13274
|
"required": ["level"]
|
|
12837
13275
|
},
|
|
13276
|
+
"RuleWithUseStrictBooleanExpressionsOptions": {
|
|
13277
|
+
"type": "object",
|
|
13278
|
+
"properties": {
|
|
13279
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13280
|
+
"options": { "$ref": "#/$defs/UseStrictBooleanExpressionsOptions" }
|
|
13281
|
+
},
|
|
13282
|
+
"additionalProperties": false,
|
|
13283
|
+
"required": ["level"]
|
|
13284
|
+
},
|
|
12838
13285
|
"RuleWithUseStrictModeOptions": {
|
|
12839
13286
|
"type": "object",
|
|
12840
13287
|
"properties": {
|
|
@@ -12855,6 +13302,15 @@
|
|
|
12855
13302
|
"additionalProperties": false,
|
|
12856
13303
|
"required": ["level"]
|
|
12857
13304
|
},
|
|
13305
|
+
"RuleWithUseSvelteKitRuneImportsOptions": {
|
|
13306
|
+
"type": "object",
|
|
13307
|
+
"properties": {
|
|
13308
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13309
|
+
"options": { "$ref": "#/$defs/UseSvelteKitRuneImportsOptions" }
|
|
13310
|
+
},
|
|
13311
|
+
"additionalProperties": false,
|
|
13312
|
+
"required": ["level"]
|
|
13313
|
+
},
|
|
12858
13314
|
"RuleWithUseSvelteRequireEachKeyOptions": {
|
|
12859
13315
|
"type": "object",
|
|
12860
13316
|
"properties": {
|
|
@@ -13052,6 +13508,16 @@
|
|
|
13052
13508
|
"additionalProperties": false,
|
|
13053
13509
|
"required": ["level"]
|
|
13054
13510
|
},
|
|
13511
|
+
"RuleWithUseValidTestTitleOptions": {
|
|
13512
|
+
"type": "object",
|
|
13513
|
+
"properties": {
|
|
13514
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
13515
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13516
|
+
"options": { "$ref": "#/$defs/UseValidTestTitleOptions" }
|
|
13517
|
+
},
|
|
13518
|
+
"additionalProperties": false,
|
|
13519
|
+
"required": ["level"]
|
|
13520
|
+
},
|
|
13055
13521
|
"RuleWithUseValidTypeofOptions": {
|
|
13056
13522
|
"type": "object",
|
|
13057
13523
|
"properties": {
|
|
@@ -14205,7 +14671,7 @@
|
|
|
14205
14671
|
]
|
|
14206
14672
|
},
|
|
14207
14673
|
"useReadonlyClassProperties": {
|
|
14208
|
-
"description": "Enforce marking
|
|
14674
|
+
"description": "Enforce marking instance properties as readonly if they are never modified outside the constructor, and static properties as readonly if they are never reassigned.\nSee https://biomejs.dev/linter/rules/use-readonly-class-properties",
|
|
14209
14675
|
"anyOf": [
|
|
14210
14676
|
{ "$ref": "#/$defs/UseReadonlyClassPropertiesConfiguration" },
|
|
14211
14677
|
{ "type": "null" }
|
|
@@ -15564,6 +16030,27 @@
|
|
|
15564
16030
|
"type": "object",
|
|
15565
16031
|
"additionalProperties": false
|
|
15566
16032
|
},
|
|
16033
|
+
"UseConsistentFunctionStyleConfiguration": {
|
|
16034
|
+
"oneOf": [
|
|
16035
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
16036
|
+
{ "$ref": "#/$defs/RuleWithUseConsistentFunctionStyleOptions" }
|
|
16037
|
+
]
|
|
16038
|
+
},
|
|
16039
|
+
"UseConsistentFunctionStyleOptions": {
|
|
16040
|
+
"description": "Configures the required function style and whether declaration mode permits arrow functions.",
|
|
16041
|
+
"type": "object",
|
|
16042
|
+
"properties": {
|
|
16043
|
+
"allowArrowFunctions": {
|
|
16044
|
+
"description": "Allow arrow functions when declarations are required. Default: `false`.",
|
|
16045
|
+
"type": ["boolean", "null"]
|
|
16046
|
+
},
|
|
16047
|
+
"style": {
|
|
16048
|
+
"description": "The function style to enforce. Default: `\"expression\"`.",
|
|
16049
|
+
"anyOf": [{ "$ref": "#/$defs/FunctionStyle" }, { "type": "null" }]
|
|
16050
|
+
}
|
|
16051
|
+
},
|
|
16052
|
+
"additionalProperties": false
|
|
16053
|
+
},
|
|
15567
16054
|
"UseConsistentGraphqlDescriptionsConfiguration": {
|
|
15568
16055
|
"oneOf": [
|
|
15569
16056
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -15644,6 +16131,22 @@
|
|
|
15644
16131
|
},
|
|
15645
16132
|
"additionalProperties": false
|
|
15646
16133
|
},
|
|
16134
|
+
"UseConsistentObjectKeysConfiguration": {
|
|
16135
|
+
"oneOf": [
|
|
16136
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
16137
|
+
{ "$ref": "#/$defs/RuleWithUseConsistentObjectKeysOptions" }
|
|
16138
|
+
]
|
|
16139
|
+
},
|
|
16140
|
+
"UseConsistentObjectKeysOptions": {
|
|
16141
|
+
"type": "object",
|
|
16142
|
+
"properties": {
|
|
16143
|
+
"form": {
|
|
16144
|
+
"description": "The Unicode normalization form that every object key must use so equivalent characters share one encoding. Defaults to `NFC`.",
|
|
16145
|
+
"anyOf": [{ "$ref": "#/$defs/NormalizationForm" }, { "type": "null" }]
|
|
16146
|
+
}
|
|
16147
|
+
},
|
|
16148
|
+
"additionalProperties": false
|
|
16149
|
+
},
|
|
15647
16150
|
"UseConsistentTestItConfiguration": {
|
|
15648
16151
|
"oneOf": [
|
|
15649
16152
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -15891,6 +16394,12 @@
|
|
|
15891
16394
|
},
|
|
15892
16395
|
"UseExhaustiveSwitchCasesOptions": {
|
|
15893
16396
|
"type": "object",
|
|
16397
|
+
"properties": {
|
|
16398
|
+
"requireExplicitCase": {
|
|
16399
|
+
"description": "Require a `case` for each value in the union, even when the switch has a `default` clause.\nDefault: `false`.",
|
|
16400
|
+
"type": ["boolean", "null"]
|
|
16401
|
+
}
|
|
16402
|
+
},
|
|
15894
16403
|
"additionalProperties": false
|
|
15895
16404
|
},
|
|
15896
16405
|
"UseExpectConfiguration": {
|
|
@@ -16423,6 +16932,29 @@
|
|
|
16423
16932
|
"type": "object",
|
|
16424
16933
|
"additionalProperties": false
|
|
16425
16934
|
},
|
|
16935
|
+
"UseLogicalPropertiesConfiguration": {
|
|
16936
|
+
"oneOf": [
|
|
16937
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
16938
|
+
{ "$ref": "#/$defs/RuleWithUseLogicalPropertiesOptions" }
|
|
16939
|
+
]
|
|
16940
|
+
},
|
|
16941
|
+
"UseLogicalPropertiesDirection": {
|
|
16942
|
+
"type": "string",
|
|
16943
|
+
"enum": ["ltr", "rtl"]
|
|
16944
|
+
},
|
|
16945
|
+
"UseLogicalPropertiesOptions": {
|
|
16946
|
+
"type": "object",
|
|
16947
|
+
"properties": {
|
|
16948
|
+
"direction": {
|
|
16949
|
+
"description": "The text direction used to map physical inline properties. Defaults to `\"ltr\"`.",
|
|
16950
|
+
"anyOf": [
|
|
16951
|
+
{ "$ref": "#/$defs/UseLogicalPropertiesDirection" },
|
|
16952
|
+
{ "type": "null" }
|
|
16953
|
+
]
|
|
16954
|
+
}
|
|
16955
|
+
},
|
|
16956
|
+
"additionalProperties": false
|
|
16957
|
+
},
|
|
16426
16958
|
"UseLoneAnonymousOperationConfiguration": {
|
|
16427
16959
|
"oneOf": [
|
|
16428
16960
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -16709,6 +17241,16 @@
|
|
|
16709
17241
|
"type": "object",
|
|
16710
17242
|
"additionalProperties": false
|
|
16711
17243
|
},
|
|
17244
|
+
"UsePromiseRejectErrorsConfiguration": {
|
|
17245
|
+
"oneOf": [
|
|
17246
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
17247
|
+
{ "$ref": "#/$defs/RuleWithUsePromiseRejectErrorsOptions" }
|
|
17248
|
+
]
|
|
17249
|
+
},
|
|
17250
|
+
"UsePromiseRejectErrorsOptions": {
|
|
17251
|
+
"type": "object",
|
|
17252
|
+
"additionalProperties": false
|
|
17253
|
+
},
|
|
16712
17254
|
"UseQwikClasslistConfiguration": {
|
|
16713
17255
|
"oneOf": [
|
|
16714
17256
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -17141,6 +17683,16 @@
|
|
|
17141
17683
|
"type": "object",
|
|
17142
17684
|
"additionalProperties": false
|
|
17143
17685
|
},
|
|
17686
|
+
"UseStrictBooleanExpressionsConfiguration": {
|
|
17687
|
+
"oneOf": [
|
|
17688
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
17689
|
+
{ "$ref": "#/$defs/RuleWithUseStrictBooleanExpressionsOptions" }
|
|
17690
|
+
]
|
|
17691
|
+
},
|
|
17692
|
+
"UseStrictBooleanExpressionsOptions": {
|
|
17693
|
+
"type": "object",
|
|
17694
|
+
"additionalProperties": false
|
|
17695
|
+
},
|
|
17144
17696
|
"UseStrictModeConfiguration": {
|
|
17145
17697
|
"oneOf": [
|
|
17146
17698
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -17158,6 +17710,16 @@
|
|
|
17158
17710
|
"type": "object",
|
|
17159
17711
|
"additionalProperties": false
|
|
17160
17712
|
},
|
|
17713
|
+
"UseSvelteKitRuneImportsConfiguration": {
|
|
17714
|
+
"oneOf": [
|
|
17715
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
17716
|
+
{ "$ref": "#/$defs/RuleWithUseSvelteKitRuneImportsOptions" }
|
|
17717
|
+
]
|
|
17718
|
+
},
|
|
17719
|
+
"UseSvelteKitRuneImportsOptions": {
|
|
17720
|
+
"type": "object",
|
|
17721
|
+
"additionalProperties": false
|
|
17722
|
+
},
|
|
17161
17723
|
"UseSvelteRequireEachKeyConfiguration": {
|
|
17162
17724
|
"oneOf": [
|
|
17163
17725
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -17417,6 +17979,23 @@
|
|
|
17417
17979
|
]
|
|
17418
17980
|
},
|
|
17419
17981
|
"UseValidLangOptions": { "type": "object", "additionalProperties": false },
|
|
17982
|
+
"UseValidTestTitleConfiguration": {
|
|
17983
|
+
"oneOf": [
|
|
17984
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
17985
|
+
{ "$ref": "#/$defs/RuleWithUseValidTestTitleOptions" }
|
|
17986
|
+
]
|
|
17987
|
+
},
|
|
17988
|
+
"UseValidTestTitleOptions": {
|
|
17989
|
+
"type": "object",
|
|
17990
|
+
"properties": {
|
|
17991
|
+
"disallowedWords": {
|
|
17992
|
+
"description": "A list of words that are disallowed in test titles.",
|
|
17993
|
+
"type": ["array", "null"],
|
|
17994
|
+
"items": { "type": "string" }
|
|
17995
|
+
}
|
|
17996
|
+
},
|
|
17997
|
+
"additionalProperties": false
|
|
17998
|
+
},
|
|
17420
17999
|
"UseValidTypeofConfiguration": {
|
|
17421
18000
|
"oneOf": [
|
|
17422
18001
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|