@biomejs/biome 2.3.8 → 2.3.9
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 +2 -2
- package/README.fr.md +2 -2
- package/README.hi.md +3 -3
- package/README.ja.md +2 -2
- package/README.kr.md +2 -2
- package/README.md +2 -2
- package/README.pl.md +2 -2
- package/README.pt-BR.md +2 -2
- package/README.ru.md +2 -2
- package/README.uk.md +2 -2
- package/README.zh-CN.md +2 -2
- package/README.zh-TW.md +2 -2
- package/configuration_schema.json +556 -394
- package/package.json +9 -9
|
@@ -79,49 +79,49 @@
|
|
|
79
79
|
"type": "object",
|
|
80
80
|
"properties": {
|
|
81
81
|
"noAccessKey": {
|
|
82
|
-
"description": "Enforce that the accessKey attribute is not used on any HTML element.\nSee https://biomejs.dev/linter/rules/no-access-key",
|
|
82
|
+
"description": "Enforce that the accessKey attribute is not used on any HTML element.\nSee <https://biomejs.dev/linter/rules/no-access-key>",
|
|
83
83
|
"anyOf": [
|
|
84
84
|
{ "$ref": "#/$defs/NoAccessKeyConfiguration" },
|
|
85
85
|
{ "type": "null" }
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"noAriaHiddenOnFocusable": {
|
|
89
|
-
"description": "Enforce that aria-hidden=\"true\" is not set on focusable elements.\nSee https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable",
|
|
89
|
+
"description": "Enforce that aria-hidden=\"true\" is not set on focusable elements.\nSee <https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable>",
|
|
90
90
|
"anyOf": [
|
|
91
91
|
{ "$ref": "#/$defs/NoAriaHiddenOnFocusableConfiguration" },
|
|
92
92
|
{ "type": "null" }
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
95
|
"noAriaUnsupportedElements": {
|
|
96
|
-
"description": "Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.\nSee https://biomejs.dev/linter/rules/no-aria-unsupported-elements",
|
|
96
|
+
"description": "Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.\nSee <https://biomejs.dev/linter/rules/no-aria-unsupported-elements>",
|
|
97
97
|
"anyOf": [
|
|
98
98
|
{ "$ref": "#/$defs/NoAriaUnsupportedElementsConfiguration" },
|
|
99
99
|
{ "type": "null" }
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"noAutofocus": {
|
|
103
|
-
"description": "Enforce that autoFocus prop is not used on elements.\nSee https://biomejs.dev/linter/rules/no-autofocus",
|
|
103
|
+
"description": "Enforce that autoFocus prop is not used on elements.\nSee <https://biomejs.dev/linter/rules/no-autofocus>",
|
|
104
104
|
"anyOf": [
|
|
105
105
|
{ "$ref": "#/$defs/NoAutofocusConfiguration" },
|
|
106
106
|
{ "type": "null" }
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
109
|
"noDistractingElements": {
|
|
110
|
-
"description": "Enforces that no distracting elements are used.\nSee https://biomejs.dev/linter/rules/no-distracting-elements",
|
|
110
|
+
"description": "Enforces that no distracting elements are used.\nSee <https://biomejs.dev/linter/rules/no-distracting-elements>",
|
|
111
111
|
"anyOf": [
|
|
112
112
|
{ "$ref": "#/$defs/NoDistractingElementsConfiguration" },
|
|
113
113
|
{ "type": "null" }
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
116
|
"noHeaderScope": {
|
|
117
|
-
"description": "The scope prop should be used only on \\<th> elements.\nSee https://biomejs.dev/linter/rules/no-header-scope",
|
|
117
|
+
"description": "The scope prop should be used only on \\<th> elements.\nSee <https://biomejs.dev/linter/rules/no-header-scope>",
|
|
118
118
|
"anyOf": [
|
|
119
119
|
{ "$ref": "#/$defs/NoHeaderScopeConfiguration" },
|
|
120
120
|
{ "type": "null" }
|
|
121
121
|
]
|
|
122
122
|
},
|
|
123
123
|
"noInteractiveElementToNoninteractiveRole": {
|
|
124
|
-
"description": "Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.\nSee https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role",
|
|
124
|
+
"description": "Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.\nSee <https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role>",
|
|
125
125
|
"anyOf": [
|
|
126
126
|
{
|
|
127
127
|
"$ref": "#/$defs/NoInteractiveElementToNoninteractiveRoleConfiguration"
|
|
@@ -130,14 +130,14 @@
|
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
132
|
"noLabelWithoutControl": {
|
|
133
|
-
"description": "Enforce that a label element or component has a text label and an associated input.\nSee https://biomejs.dev/linter/rules/no-label-without-control",
|
|
133
|
+
"description": "Enforce that a label element or component has a text label and an associated input.\nSee <https://biomejs.dev/linter/rules/no-label-without-control>",
|
|
134
134
|
"anyOf": [
|
|
135
135
|
{ "$ref": "#/$defs/NoLabelWithoutControlConfiguration" },
|
|
136
136
|
{ "type": "null" }
|
|
137
137
|
]
|
|
138
138
|
},
|
|
139
139
|
"noNoninteractiveElementInteractions": {
|
|
140
|
-
"description": "Disallow use event handlers on non-interactive elements.\nSee https://biomejs.dev/linter/rules/no-noninteractive-element-interactions",
|
|
140
|
+
"description": "Disallow use event handlers on non-interactive elements.\nSee <https://biomejs.dev/linter/rules/no-noninteractive-element-interactions>",
|
|
141
141
|
"anyOf": [
|
|
142
142
|
{
|
|
143
143
|
"$ref": "#/$defs/NoNoninteractiveElementInteractionsConfiguration"
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
148
|
"noNoninteractiveElementToInteractiveRole": {
|
|
149
|
-
"description": "Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.\nSee https://biomejs.dev/linter/rules/no-noninteractive-element-to-interactive-role",
|
|
149
|
+
"description": "Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.\nSee <https://biomejs.dev/linter/rules/no-noninteractive-element-to-interactive-role>",
|
|
150
150
|
"anyOf": [
|
|
151
151
|
{
|
|
152
152
|
"$ref": "#/$defs/NoNoninteractiveElementToInteractiveRoleConfiguration"
|
|
@@ -155,42 +155,42 @@
|
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
157
|
"noNoninteractiveTabindex": {
|
|
158
|
-
"description": "Enforce that tabIndex is not assigned to non-interactive HTML elements.\nSee https://biomejs.dev/linter/rules/no-noninteractive-tabindex",
|
|
158
|
+
"description": "Enforce that tabIndex is not assigned to non-interactive HTML elements.\nSee <https://biomejs.dev/linter/rules/no-noninteractive-tabindex>",
|
|
159
159
|
"anyOf": [
|
|
160
160
|
{ "$ref": "#/$defs/NoNoninteractiveTabindexConfiguration" },
|
|
161
161
|
{ "type": "null" }
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
"noPositiveTabindex": {
|
|
165
|
-
"description": "Prevent the usage of positive integers on tabIndex property.\nSee https://biomejs.dev/linter/rules/no-positive-tabindex",
|
|
165
|
+
"description": "Prevent the usage of positive integers on tabIndex property.\nSee <https://biomejs.dev/linter/rules/no-positive-tabindex>",
|
|
166
166
|
"anyOf": [
|
|
167
167
|
{ "$ref": "#/$defs/NoPositiveTabindexConfiguration" },
|
|
168
168
|
{ "type": "null" }
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
171
|
"noRedundantAlt": {
|
|
172
|
-
"description": "Enforce img alt prop does not contain the word \"image\", \"picture\", or \"photo\".\nSee https://biomejs.dev/linter/rules/no-redundant-alt",
|
|
172
|
+
"description": "Enforce img alt prop does not contain the word \"image\", \"picture\", or \"photo\".\nSee <https://biomejs.dev/linter/rules/no-redundant-alt>",
|
|
173
173
|
"anyOf": [
|
|
174
174
|
{ "$ref": "#/$defs/NoRedundantAltConfiguration" },
|
|
175
175
|
{ "type": "null" }
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
"noRedundantRoles": {
|
|
179
|
-
"description": "Enforce explicit role property is not the same as implicit/default role property on an element.\nSee https://biomejs.dev/linter/rules/no-redundant-roles",
|
|
179
|
+
"description": "Enforce explicit role property is not the same as implicit/default role property on an element.\nSee <https://biomejs.dev/linter/rules/no-redundant-roles>",
|
|
180
180
|
"anyOf": [
|
|
181
181
|
{ "$ref": "#/$defs/NoRedundantRolesConfiguration" },
|
|
182
182
|
{ "type": "null" }
|
|
183
183
|
]
|
|
184
184
|
},
|
|
185
185
|
"noStaticElementInteractions": {
|
|
186
|
-
"description": "Enforce that static, visible elements (such as \\<div>) that have click handlers use the valid role attribute.\nSee https://biomejs.dev/linter/rules/no-static-element-interactions",
|
|
186
|
+
"description": "Enforce that static, visible elements (such as \\<div>) that have click handlers use the valid role attribute.\nSee <https://biomejs.dev/linter/rules/no-static-element-interactions>",
|
|
187
187
|
"anyOf": [
|
|
188
188
|
{ "$ref": "#/$defs/NoStaticElementInteractionsConfiguration" },
|
|
189
189
|
{ "type": "null" }
|
|
190
190
|
]
|
|
191
191
|
},
|
|
192
192
|
"noSvgWithoutTitle": {
|
|
193
|
-
"description": "Enforces the usage of the title element for the svg element.\nSee https://biomejs.dev/linter/rules/no-svg-without-title",
|
|
193
|
+
"description": "Enforces the usage of the title element for the svg element.\nSee <https://biomejs.dev/linter/rules/no-svg-without-title>",
|
|
194
194
|
"anyOf": [
|
|
195
195
|
{ "$ref": "#/$defs/NoSvgWithoutTitleConfiguration" },
|
|
196
196
|
{ "type": "null" }
|
|
@@ -201,21 +201,21 @@
|
|
|
201
201
|
"type": ["boolean", "null"]
|
|
202
202
|
},
|
|
203
203
|
"useAltText": {
|
|
204
|
-
"description": "Enforce that all elements that require alternative text have meaningful information to relay back to the end user.\nSee https://biomejs.dev/linter/rules/use-alt-text",
|
|
204
|
+
"description": "Enforce that all elements that require alternative text have meaningful information to relay back to the end user.\nSee <https://biomejs.dev/linter/rules/use-alt-text>",
|
|
205
205
|
"anyOf": [
|
|
206
206
|
{ "$ref": "#/$defs/UseAltTextConfiguration" },
|
|
207
207
|
{ "type": "null" }
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
210
|
"useAnchorContent": {
|
|
211
|
-
"description": "Enforce that anchors have content and that the content is accessible to screen readers.\nSee https://biomejs.dev/linter/rules/use-anchor-content",
|
|
211
|
+
"description": "Enforce that anchors have content and that the content is accessible to screen readers.\nSee <https://biomejs.dev/linter/rules/use-anchor-content>",
|
|
212
212
|
"anyOf": [
|
|
213
213
|
{ "$ref": "#/$defs/UseAnchorContentConfiguration" },
|
|
214
214
|
{ "type": "null" }
|
|
215
215
|
]
|
|
216
216
|
},
|
|
217
217
|
"useAriaActivedescendantWithTabindex": {
|
|
218
|
-
"description": "Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.\nSee https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex",
|
|
218
|
+
"description": "Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.\nSee <https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex>",
|
|
219
219
|
"anyOf": [
|
|
220
220
|
{
|
|
221
221
|
"$ref": "#/$defs/UseAriaActivedescendantWithTabindexConfiguration"
|
|
@@ -224,126 +224,126 @@
|
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
"useAriaPropsForRole": {
|
|
227
|
-
"description": "Enforce that elements with ARIA roles must have all required ARIA attributes for that role.\nSee https://biomejs.dev/linter/rules/use-aria-props-for-role",
|
|
227
|
+
"description": "Enforce that elements with ARIA roles must have all required ARIA attributes for that role.\nSee <https://biomejs.dev/linter/rules/use-aria-props-for-role>",
|
|
228
228
|
"anyOf": [
|
|
229
229
|
{ "$ref": "#/$defs/UseAriaPropsForRoleConfiguration" },
|
|
230
230
|
{ "type": "null" }
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
233
|
"useAriaPropsSupportedByRole": {
|
|
234
|
-
"description": "Enforce that ARIA properties are valid for the roles that are supported by the element.\nSee https://biomejs.dev/linter/rules/use-aria-props-supported-by-role",
|
|
234
|
+
"description": "Enforce that ARIA properties are valid for the roles that are supported by the element.\nSee <https://biomejs.dev/linter/rules/use-aria-props-supported-by-role>",
|
|
235
235
|
"anyOf": [
|
|
236
236
|
{ "$ref": "#/$defs/UseAriaPropsSupportedByRoleConfiguration" },
|
|
237
237
|
{ "type": "null" }
|
|
238
238
|
]
|
|
239
239
|
},
|
|
240
240
|
"useButtonType": {
|
|
241
|
-
"description": "Enforces the usage of the attribute type for the element button.\nSee https://biomejs.dev/linter/rules/use-button-type",
|
|
241
|
+
"description": "Enforces the usage of the attribute type for the element button.\nSee <https://biomejs.dev/linter/rules/use-button-type>",
|
|
242
242
|
"anyOf": [
|
|
243
243
|
{ "$ref": "#/$defs/UseButtonTypeConfiguration" },
|
|
244
244
|
{ "type": "null" }
|
|
245
245
|
]
|
|
246
246
|
},
|
|
247
247
|
"useFocusableInteractive": {
|
|
248
|
-
"description": "Elements with an interactive role and interaction handlers must be focusable.\nSee https://biomejs.dev/linter/rules/use-focusable-interactive",
|
|
248
|
+
"description": "Elements with an interactive role and interaction handlers must be focusable.\nSee <https://biomejs.dev/linter/rules/use-focusable-interactive>",
|
|
249
249
|
"anyOf": [
|
|
250
250
|
{ "$ref": "#/$defs/UseFocusableInteractiveConfiguration" },
|
|
251
251
|
{ "type": "null" }
|
|
252
252
|
]
|
|
253
253
|
},
|
|
254
254
|
"useGenericFontNames": {
|
|
255
|
-
"description": "Disallow a missing generic family keyword within font families.\nSee https://biomejs.dev/linter/rules/use-generic-font-names",
|
|
255
|
+
"description": "Disallow a missing generic family keyword within font families.\nSee <https://biomejs.dev/linter/rules/use-generic-font-names>",
|
|
256
256
|
"anyOf": [
|
|
257
257
|
{ "$ref": "#/$defs/UseGenericFontNamesConfiguration" },
|
|
258
258
|
{ "type": "null" }
|
|
259
259
|
]
|
|
260
260
|
},
|
|
261
261
|
"useHeadingContent": {
|
|
262
|
-
"description": "Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.\nSee https://biomejs.dev/linter/rules/use-heading-content",
|
|
262
|
+
"description": "Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.\nSee <https://biomejs.dev/linter/rules/use-heading-content>",
|
|
263
263
|
"anyOf": [
|
|
264
264
|
{ "$ref": "#/$defs/UseHeadingContentConfiguration" },
|
|
265
265
|
{ "type": "null" }
|
|
266
266
|
]
|
|
267
267
|
},
|
|
268
268
|
"useHtmlLang": {
|
|
269
|
-
"description": "Enforce that html element has lang attribute.\nSee https://biomejs.dev/linter/rules/use-html-lang",
|
|
269
|
+
"description": "Enforce that html element has lang attribute.\nSee <https://biomejs.dev/linter/rules/use-html-lang>",
|
|
270
270
|
"anyOf": [
|
|
271
271
|
{ "$ref": "#/$defs/UseHtmlLangConfiguration" },
|
|
272
272
|
{ "type": "null" }
|
|
273
273
|
]
|
|
274
274
|
},
|
|
275
275
|
"useIframeTitle": {
|
|
276
|
-
"description": "Enforces the usage of the attribute title for the element iframe.\nSee https://biomejs.dev/linter/rules/use-iframe-title",
|
|
276
|
+
"description": "Enforces the usage of the attribute title for the element iframe.\nSee <https://biomejs.dev/linter/rules/use-iframe-title>",
|
|
277
277
|
"anyOf": [
|
|
278
278
|
{ "$ref": "#/$defs/UseIframeTitleConfiguration" },
|
|
279
279
|
{ "type": "null" }
|
|
280
280
|
]
|
|
281
281
|
},
|
|
282
282
|
"useKeyWithClickEvents": {
|
|
283
|
-
"description": "Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.\nSee https://biomejs.dev/linter/rules/use-key-with-click-events",
|
|
283
|
+
"description": "Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.\nSee <https://biomejs.dev/linter/rules/use-key-with-click-events>",
|
|
284
284
|
"anyOf": [
|
|
285
285
|
{ "$ref": "#/$defs/UseKeyWithClickEventsConfiguration" },
|
|
286
286
|
{ "type": "null" }
|
|
287
287
|
]
|
|
288
288
|
},
|
|
289
289
|
"useKeyWithMouseEvents": {
|
|
290
|
-
"description": "Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.\nSee https://biomejs.dev/linter/rules/use-key-with-mouse-events",
|
|
290
|
+
"description": "Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.\nSee <https://biomejs.dev/linter/rules/use-key-with-mouse-events>",
|
|
291
291
|
"anyOf": [
|
|
292
292
|
{ "$ref": "#/$defs/UseKeyWithMouseEventsConfiguration" },
|
|
293
293
|
{ "type": "null" }
|
|
294
294
|
]
|
|
295
295
|
},
|
|
296
296
|
"useMediaCaption": {
|
|
297
|
-
"description": "Enforces that audio and video elements must have a track for captions.\nSee https://biomejs.dev/linter/rules/use-media-caption",
|
|
297
|
+
"description": "Enforces that audio and video elements must have a track for captions.\nSee <https://biomejs.dev/linter/rules/use-media-caption>",
|
|
298
298
|
"anyOf": [
|
|
299
299
|
{ "$ref": "#/$defs/UseMediaCaptionConfiguration" },
|
|
300
300
|
{ "type": "null" }
|
|
301
301
|
]
|
|
302
302
|
},
|
|
303
303
|
"useSemanticElements": {
|
|
304
|
-
"description": "It detects the use of role attributes in JSX elements and suggests using semantic elements instead.\nSee https://biomejs.dev/linter/rules/use-semantic-elements",
|
|
304
|
+
"description": "It detects the use of role attributes in JSX elements and suggests using semantic elements instead.\nSee <https://biomejs.dev/linter/rules/use-semantic-elements>",
|
|
305
305
|
"anyOf": [
|
|
306
306
|
{ "$ref": "#/$defs/UseSemanticElementsConfiguration" },
|
|
307
307
|
{ "type": "null" }
|
|
308
308
|
]
|
|
309
309
|
},
|
|
310
310
|
"useValidAnchor": {
|
|
311
|
-
"description": "Enforce that all anchors are valid, and they are navigable elements.\nSee https://biomejs.dev/linter/rules/use-valid-anchor",
|
|
311
|
+
"description": "Enforce that all anchors are valid, and they are navigable elements.\nSee <https://biomejs.dev/linter/rules/use-valid-anchor>",
|
|
312
312
|
"anyOf": [
|
|
313
313
|
{ "$ref": "#/$defs/UseValidAnchorConfiguration" },
|
|
314
314
|
{ "type": "null" }
|
|
315
315
|
]
|
|
316
316
|
},
|
|
317
317
|
"useValidAriaProps": {
|
|
318
|
-
"description": "Ensures that ARIA properties aria-* are all valid.\nSee https://biomejs.dev/linter/rules/use-valid-aria-props",
|
|
318
|
+
"description": "Ensures that ARIA properties aria-* are all valid.\nSee <https://biomejs.dev/linter/rules/use-valid-aria-props>",
|
|
319
319
|
"anyOf": [
|
|
320
320
|
{ "$ref": "#/$defs/UseValidAriaPropsConfiguration" },
|
|
321
321
|
{ "type": "null" }
|
|
322
322
|
]
|
|
323
323
|
},
|
|
324
324
|
"useValidAriaRole": {
|
|
325
|
-
"description": "Elements with ARIA roles must use a valid, non-abstract ARIA role.\nSee https://biomejs.dev/linter/rules/use-valid-aria-role",
|
|
325
|
+
"description": "Elements with ARIA roles must use a valid, non-abstract ARIA role.\nSee <https://biomejs.dev/linter/rules/use-valid-aria-role>",
|
|
326
326
|
"anyOf": [
|
|
327
327
|
{ "$ref": "#/$defs/UseValidAriaRoleConfiguration" },
|
|
328
328
|
{ "type": "null" }
|
|
329
329
|
]
|
|
330
330
|
},
|
|
331
331
|
"useValidAriaValues": {
|
|
332
|
-
"description": "Enforce that ARIA state and property values are valid.\nSee https://biomejs.dev/linter/rules/use-valid-aria-values",
|
|
332
|
+
"description": "Enforce that ARIA state and property values are valid.\nSee <https://biomejs.dev/linter/rules/use-valid-aria-values>",
|
|
333
333
|
"anyOf": [
|
|
334
334
|
{ "$ref": "#/$defs/UseValidAriaValuesConfiguration" },
|
|
335
335
|
{ "type": "null" }
|
|
336
336
|
]
|
|
337
337
|
},
|
|
338
338
|
"useValidAutocomplete": {
|
|
339
|
-
"description": "Use valid values for the autocomplete attribute on input elements.\nSee https://biomejs.dev/linter/rules/use-valid-autocomplete",
|
|
339
|
+
"description": "Use valid values for the autocomplete attribute on input elements.\nSee <https://biomejs.dev/linter/rules/use-valid-autocomplete>",
|
|
340
340
|
"anyOf": [
|
|
341
341
|
{ "$ref": "#/$defs/UseValidAutocompleteConfiguration" },
|
|
342
342
|
{ "type": "null" }
|
|
343
343
|
]
|
|
344
344
|
},
|
|
345
345
|
"useValidLang": {
|
|
346
|
-
"description": "Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.\nSee https://biomejs.dev/linter/rules/use-valid-lang",
|
|
346
|
+
"description": "Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.\nSee <https://biomejs.dev/linter/rules/use-valid-lang>",
|
|
347
347
|
"anyOf": [
|
|
348
348
|
{ "$ref": "#/$defs/UseValidLangConfiguration" },
|
|
349
349
|
{ "type": "null" }
|
|
@@ -401,224 +401,224 @@
|
|
|
401
401
|
"type": "object",
|
|
402
402
|
"properties": {
|
|
403
403
|
"noAdjacentSpacesInRegex": {
|
|
404
|
-
"description": "Disallow unclear usage of consecutive space characters in regular expression literals.\nSee https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex",
|
|
404
|
+
"description": "Disallow unclear usage of consecutive space characters in regular expression literals.\nSee <https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex>",
|
|
405
405
|
"anyOf": [
|
|
406
406
|
{ "$ref": "#/$defs/NoAdjacentSpacesInRegexConfiguration" },
|
|
407
407
|
{ "type": "null" }
|
|
408
408
|
]
|
|
409
409
|
},
|
|
410
410
|
"noArguments": {
|
|
411
|
-
"description": "Disallow the use of arguments.\nSee https://biomejs.dev/linter/rules/no-arguments",
|
|
411
|
+
"description": "Disallow the use of arguments.\nSee <https://biomejs.dev/linter/rules/no-arguments>",
|
|
412
412
|
"anyOf": [
|
|
413
413
|
{ "$ref": "#/$defs/NoArgumentsConfiguration" },
|
|
414
414
|
{ "type": "null" }
|
|
415
415
|
]
|
|
416
416
|
},
|
|
417
417
|
"noBannedTypes": {
|
|
418
|
-
"description": "Disallow primitive type aliases and misleading types.\nSee https://biomejs.dev/linter/rules/no-banned-types",
|
|
418
|
+
"description": "Disallow primitive type aliases and misleading types.\nSee <https://biomejs.dev/linter/rules/no-banned-types>",
|
|
419
419
|
"anyOf": [
|
|
420
420
|
{ "$ref": "#/$defs/NoBannedTypesConfiguration" },
|
|
421
421
|
{ "type": "null" }
|
|
422
422
|
]
|
|
423
423
|
},
|
|
424
424
|
"noCommaOperator": {
|
|
425
|
-
"description": "Disallow comma operator.\nSee https://biomejs.dev/linter/rules/no-comma-operator",
|
|
425
|
+
"description": "Disallow comma operator.\nSee <https://biomejs.dev/linter/rules/no-comma-operator>",
|
|
426
426
|
"anyOf": [
|
|
427
427
|
{ "$ref": "#/$defs/NoCommaOperatorConfiguration" },
|
|
428
428
|
{ "type": "null" }
|
|
429
429
|
]
|
|
430
430
|
},
|
|
431
431
|
"noEmptyTypeParameters": {
|
|
432
|
-
"description": "Disallow empty type parameters in type aliases and interfaces.\nSee https://biomejs.dev/linter/rules/no-empty-type-parameters",
|
|
432
|
+
"description": "Disallow empty type parameters in type aliases and interfaces.\nSee <https://biomejs.dev/linter/rules/no-empty-type-parameters>",
|
|
433
433
|
"anyOf": [
|
|
434
434
|
{ "$ref": "#/$defs/NoEmptyTypeParametersConfiguration" },
|
|
435
435
|
{ "type": "null" }
|
|
436
436
|
]
|
|
437
437
|
},
|
|
438
438
|
"noExcessiveCognitiveComplexity": {
|
|
439
|
-
"description": "Disallow functions that exceed a given Cognitive Complexity score.\nSee https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity",
|
|
439
|
+
"description": "Disallow functions that exceed a given Cognitive Complexity score.\nSee <https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity>",
|
|
440
440
|
"anyOf": [
|
|
441
441
|
{ "$ref": "#/$defs/NoExcessiveCognitiveComplexityConfiguration" },
|
|
442
442
|
{ "type": "null" }
|
|
443
443
|
]
|
|
444
444
|
},
|
|
445
445
|
"noExcessiveLinesPerFunction": {
|
|
446
|
-
"description": "Restrict the number of lines of code in a function.\nSee https://biomejs.dev/linter/rules/no-excessive-lines-per-function",
|
|
446
|
+
"description": "Restrict the number of lines of code in a function.\nSee <https://biomejs.dev/linter/rules/no-excessive-lines-per-function>",
|
|
447
447
|
"anyOf": [
|
|
448
448
|
{ "$ref": "#/$defs/NoExcessiveLinesPerFunctionConfiguration" },
|
|
449
449
|
{ "type": "null" }
|
|
450
450
|
]
|
|
451
451
|
},
|
|
452
452
|
"noExcessiveNestedTestSuites": {
|
|
453
|
-
"description": "This rule enforces a maximum depth to nested describe() in test files.\nSee https://biomejs.dev/linter/rules/no-excessive-nested-test-suites",
|
|
453
|
+
"description": "This rule enforces a maximum depth to nested describe() in test files.\nSee <https://biomejs.dev/linter/rules/no-excessive-nested-test-suites>",
|
|
454
454
|
"anyOf": [
|
|
455
455
|
{ "$ref": "#/$defs/NoExcessiveNestedTestSuitesConfiguration" },
|
|
456
456
|
{ "type": "null" }
|
|
457
457
|
]
|
|
458
458
|
},
|
|
459
459
|
"noExtraBooleanCast": {
|
|
460
|
-
"description": "Disallow unnecessary boolean casts.\nSee https://biomejs.dev/linter/rules/no-extra-boolean-cast",
|
|
460
|
+
"description": "Disallow unnecessary boolean casts.\nSee <https://biomejs.dev/linter/rules/no-extra-boolean-cast>",
|
|
461
461
|
"anyOf": [
|
|
462
462
|
{ "$ref": "#/$defs/NoExtraBooleanCastConfiguration" },
|
|
463
463
|
{ "type": "null" }
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
466
|
"noFlatMapIdentity": {
|
|
467
|
-
"description": "Disallow to use unnecessary callback on flatMap.\nSee https://biomejs.dev/linter/rules/no-flat-map-identity",
|
|
467
|
+
"description": "Disallow to use unnecessary callback on flatMap.\nSee <https://biomejs.dev/linter/rules/no-flat-map-identity>",
|
|
468
468
|
"anyOf": [
|
|
469
469
|
{ "$ref": "#/$defs/NoFlatMapIdentityConfiguration" },
|
|
470
470
|
{ "type": "null" }
|
|
471
471
|
]
|
|
472
472
|
},
|
|
473
473
|
"noForEach": {
|
|
474
|
-
"description": "Prefer for...of statement instead of Array.forEach.\nSee https://biomejs.dev/linter/rules/no-for-each",
|
|
474
|
+
"description": "Prefer for...of statement instead of Array.forEach.\nSee <https://biomejs.dev/linter/rules/no-for-each>",
|
|
475
475
|
"anyOf": [
|
|
476
476
|
{ "$ref": "#/$defs/NoForEachConfiguration" },
|
|
477
477
|
{ "type": "null" }
|
|
478
478
|
]
|
|
479
479
|
},
|
|
480
480
|
"noImplicitCoercions": {
|
|
481
|
-
"description": "Disallow shorthand type conversions.\nSee https://biomejs.dev/linter/rules/no-implicit-coercions",
|
|
481
|
+
"description": "Disallow shorthand type conversions.\nSee <https://biomejs.dev/linter/rules/no-implicit-coercions>",
|
|
482
482
|
"anyOf": [
|
|
483
483
|
{ "$ref": "#/$defs/NoImplicitCoercionsConfiguration" },
|
|
484
484
|
{ "type": "null" }
|
|
485
485
|
]
|
|
486
486
|
},
|
|
487
487
|
"noImportantStyles": {
|
|
488
|
-
"description": "Disallow the use of the !important style.\nSee https://biomejs.dev/linter/rules/no-important-styles",
|
|
488
|
+
"description": "Disallow the use of the !important style.\nSee <https://biomejs.dev/linter/rules/no-important-styles>",
|
|
489
489
|
"anyOf": [
|
|
490
490
|
{ "$ref": "#/$defs/NoImportantStylesConfiguration" },
|
|
491
491
|
{ "type": "null" }
|
|
492
492
|
]
|
|
493
493
|
},
|
|
494
494
|
"noStaticOnlyClass": {
|
|
495
|
-
"description": "This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.\nSee https://biomejs.dev/linter/rules/no-static-only-class",
|
|
495
|
+
"description": "This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.\nSee <https://biomejs.dev/linter/rules/no-static-only-class>",
|
|
496
496
|
"anyOf": [
|
|
497
497
|
{ "$ref": "#/$defs/NoStaticOnlyClassConfiguration" },
|
|
498
498
|
{ "type": "null" }
|
|
499
499
|
]
|
|
500
500
|
},
|
|
501
501
|
"noThisInStatic": {
|
|
502
|
-
"description": "Disallow this and super in static contexts.\nSee https://biomejs.dev/linter/rules/no-this-in-static",
|
|
502
|
+
"description": "Disallow this and super in static contexts.\nSee <https://biomejs.dev/linter/rules/no-this-in-static>",
|
|
503
503
|
"anyOf": [
|
|
504
504
|
{ "$ref": "#/$defs/NoThisInStaticConfiguration" },
|
|
505
505
|
{ "type": "null" }
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
508
|
"noUselessCatch": {
|
|
509
|
-
"description": "Disallow unnecessary catch clauses.\nSee https://biomejs.dev/linter/rules/no-useless-catch",
|
|
509
|
+
"description": "Disallow unnecessary catch clauses.\nSee <https://biomejs.dev/linter/rules/no-useless-catch>",
|
|
510
510
|
"anyOf": [
|
|
511
511
|
{ "$ref": "#/$defs/NoUselessCatchConfiguration" },
|
|
512
512
|
{ "type": "null" }
|
|
513
513
|
]
|
|
514
514
|
},
|
|
515
515
|
"noUselessConstructor": {
|
|
516
|
-
"description": "Disallow unnecessary constructors.\nSee https://biomejs.dev/linter/rules/no-useless-constructor",
|
|
516
|
+
"description": "Disallow unnecessary constructors.\nSee <https://biomejs.dev/linter/rules/no-useless-constructor>",
|
|
517
517
|
"anyOf": [
|
|
518
518
|
{ "$ref": "#/$defs/NoUselessConstructorConfiguration" },
|
|
519
519
|
{ "type": "null" }
|
|
520
520
|
]
|
|
521
521
|
},
|
|
522
522
|
"noUselessContinue": {
|
|
523
|
-
"description": "Avoid using unnecessary continue.\nSee https://biomejs.dev/linter/rules/no-useless-continue",
|
|
523
|
+
"description": "Avoid using unnecessary continue.\nSee <https://biomejs.dev/linter/rules/no-useless-continue>",
|
|
524
524
|
"anyOf": [
|
|
525
525
|
{ "$ref": "#/$defs/NoUselessContinueConfiguration" },
|
|
526
526
|
{ "type": "null" }
|
|
527
527
|
]
|
|
528
528
|
},
|
|
529
529
|
"noUselessEmptyExport": {
|
|
530
|
-
"description": "Disallow empty exports that don't change anything in a module file.\nSee https://biomejs.dev/linter/rules/no-useless-empty-export",
|
|
530
|
+
"description": "Disallow empty exports that don't change anything in a module file.\nSee <https://biomejs.dev/linter/rules/no-useless-empty-export>",
|
|
531
531
|
"anyOf": [
|
|
532
532
|
{ "$ref": "#/$defs/NoUselessEmptyExportConfiguration" },
|
|
533
533
|
{ "type": "null" }
|
|
534
534
|
]
|
|
535
535
|
},
|
|
536
536
|
"noUselessEscapeInRegex": {
|
|
537
|
-
"description": "Disallow unnecessary escape sequence in regular expression literals.\nSee https://biomejs.dev/linter/rules/no-useless-escape-in-regex",
|
|
537
|
+
"description": "Disallow unnecessary escape sequence in regular expression literals.\nSee <https://biomejs.dev/linter/rules/no-useless-escape-in-regex>",
|
|
538
538
|
"anyOf": [
|
|
539
539
|
{ "$ref": "#/$defs/NoUselessEscapeInRegexConfiguration" },
|
|
540
540
|
{ "type": "null" }
|
|
541
541
|
]
|
|
542
542
|
},
|
|
543
543
|
"noUselessFragments": {
|
|
544
|
-
"description": "Disallow unnecessary fragments.\nSee https://biomejs.dev/linter/rules/no-useless-fragments",
|
|
544
|
+
"description": "Disallow unnecessary fragments.\nSee <https://biomejs.dev/linter/rules/no-useless-fragments>",
|
|
545
545
|
"anyOf": [
|
|
546
546
|
{ "$ref": "#/$defs/NoUselessFragmentsConfiguration" },
|
|
547
547
|
{ "type": "null" }
|
|
548
548
|
]
|
|
549
549
|
},
|
|
550
550
|
"noUselessLabel": {
|
|
551
|
-
"description": "Disallow unnecessary labels.\nSee https://biomejs.dev/linter/rules/no-useless-label",
|
|
551
|
+
"description": "Disallow unnecessary labels.\nSee <https://biomejs.dev/linter/rules/no-useless-label>",
|
|
552
552
|
"anyOf": [
|
|
553
553
|
{ "$ref": "#/$defs/NoUselessLabelConfiguration" },
|
|
554
554
|
{ "type": "null" }
|
|
555
555
|
]
|
|
556
556
|
},
|
|
557
557
|
"noUselessLoneBlockStatements": {
|
|
558
|
-
"description": "Disallow unnecessary nested block statements.\nSee https://biomejs.dev/linter/rules/no-useless-lone-block-statements",
|
|
558
|
+
"description": "Disallow unnecessary nested block statements.\nSee <https://biomejs.dev/linter/rules/no-useless-lone-block-statements>",
|
|
559
559
|
"anyOf": [
|
|
560
560
|
{ "$ref": "#/$defs/NoUselessLoneBlockStatementsConfiguration" },
|
|
561
561
|
{ "type": "null" }
|
|
562
562
|
]
|
|
563
563
|
},
|
|
564
564
|
"noUselessRename": {
|
|
565
|
-
"description": "Disallow renaming import, export, and destructured assignments to the same name.\nSee https://biomejs.dev/linter/rules/no-useless-rename",
|
|
565
|
+
"description": "Disallow renaming import, export, and destructured assignments to the same name.\nSee <https://biomejs.dev/linter/rules/no-useless-rename>",
|
|
566
566
|
"anyOf": [
|
|
567
567
|
{ "$ref": "#/$defs/NoUselessRenameConfiguration" },
|
|
568
568
|
{ "type": "null" }
|
|
569
569
|
]
|
|
570
570
|
},
|
|
571
571
|
"noUselessStringConcat": {
|
|
572
|
-
"description": "Disallow unnecessary concatenation of string or template literals.\nSee https://biomejs.dev/linter/rules/no-useless-string-concat",
|
|
572
|
+
"description": "Disallow unnecessary concatenation of string or template literals.\nSee <https://biomejs.dev/linter/rules/no-useless-string-concat>",
|
|
573
573
|
"anyOf": [
|
|
574
574
|
{ "$ref": "#/$defs/NoUselessStringConcatConfiguration" },
|
|
575
575
|
{ "type": "null" }
|
|
576
576
|
]
|
|
577
577
|
},
|
|
578
578
|
"noUselessStringRaw": {
|
|
579
|
-
"description": "Disallow unnecessary String.raw function in template string literals without any escape sequence.\nSee https://biomejs.dev/linter/rules/no-useless-string-raw",
|
|
579
|
+
"description": "Disallow unnecessary String.raw function in template string literals without any escape sequence.\nSee <https://biomejs.dev/linter/rules/no-useless-string-raw>",
|
|
580
580
|
"anyOf": [
|
|
581
581
|
{ "$ref": "#/$defs/NoUselessStringRawConfiguration" },
|
|
582
582
|
{ "type": "null" }
|
|
583
583
|
]
|
|
584
584
|
},
|
|
585
585
|
"noUselessSwitchCase": {
|
|
586
|
-
"description": "Disallow useless case in switch statements.\nSee https://biomejs.dev/linter/rules/no-useless-switch-case",
|
|
586
|
+
"description": "Disallow useless case in switch statements.\nSee <https://biomejs.dev/linter/rules/no-useless-switch-case>",
|
|
587
587
|
"anyOf": [
|
|
588
588
|
{ "$ref": "#/$defs/NoUselessSwitchCaseConfiguration" },
|
|
589
589
|
{ "type": "null" }
|
|
590
590
|
]
|
|
591
591
|
},
|
|
592
592
|
"noUselessTernary": {
|
|
593
|
-
"description": "Disallow ternary operators when simpler alternatives exist.\nSee https://biomejs.dev/linter/rules/no-useless-ternary",
|
|
593
|
+
"description": "Disallow ternary operators when simpler alternatives exist.\nSee <https://biomejs.dev/linter/rules/no-useless-ternary>",
|
|
594
594
|
"anyOf": [
|
|
595
595
|
{ "$ref": "#/$defs/NoUselessTernaryConfiguration" },
|
|
596
596
|
{ "type": "null" }
|
|
597
597
|
]
|
|
598
598
|
},
|
|
599
599
|
"noUselessThisAlias": {
|
|
600
|
-
"description": "Disallow useless this aliasing.\nSee https://biomejs.dev/linter/rules/no-useless-this-alias",
|
|
600
|
+
"description": "Disallow useless this aliasing.\nSee <https://biomejs.dev/linter/rules/no-useless-this-alias>",
|
|
601
601
|
"anyOf": [
|
|
602
602
|
{ "$ref": "#/$defs/NoUselessThisAliasConfiguration" },
|
|
603
603
|
{ "type": "null" }
|
|
604
604
|
]
|
|
605
605
|
},
|
|
606
606
|
"noUselessTypeConstraint": {
|
|
607
|
-
"description": "Disallow using any or unknown as type constraint.\nSee https://biomejs.dev/linter/rules/no-useless-type-constraint",
|
|
607
|
+
"description": "Disallow using any or unknown as type constraint.\nSee <https://biomejs.dev/linter/rules/no-useless-type-constraint>",
|
|
608
608
|
"anyOf": [
|
|
609
609
|
{ "$ref": "#/$defs/NoUselessTypeConstraintConfiguration" },
|
|
610
610
|
{ "type": "null" }
|
|
611
611
|
]
|
|
612
612
|
},
|
|
613
613
|
"noUselessUndefinedInitialization": {
|
|
614
|
-
"description": "Disallow initializing variables to undefined.\nSee https://biomejs.dev/linter/rules/no-useless-undefined-initialization",
|
|
614
|
+
"description": "Disallow initializing variables to undefined.\nSee <https://biomejs.dev/linter/rules/no-useless-undefined-initialization>",
|
|
615
615
|
"anyOf": [
|
|
616
616
|
{ "$ref": "#/$defs/NoUselessUndefinedInitializationConfiguration" },
|
|
617
617
|
{ "type": "null" }
|
|
618
618
|
]
|
|
619
619
|
},
|
|
620
620
|
"noVoid": {
|
|
621
|
-
"description": "Disallow the use of void operators, which is not a familiar operator.\nSee https://biomejs.dev/linter/rules/no-void",
|
|
621
|
+
"description": "Disallow the use of void operators, which is not a familiar operator.\nSee <https://biomejs.dev/linter/rules/no-void>",
|
|
622
622
|
"anyOf": [
|
|
623
623
|
{ "$ref": "#/$defs/NoVoidConfiguration" },
|
|
624
624
|
{ "type": "null" }
|
|
@@ -629,77 +629,77 @@
|
|
|
629
629
|
"type": ["boolean", "null"]
|
|
630
630
|
},
|
|
631
631
|
"useArrowFunction": {
|
|
632
|
-
"description": "Use arrow functions over function expressions.\nSee https://biomejs.dev/linter/rules/use-arrow-function",
|
|
632
|
+
"description": "Use arrow functions over function expressions.\nSee <https://biomejs.dev/linter/rules/use-arrow-function>",
|
|
633
633
|
"anyOf": [
|
|
634
634
|
{ "$ref": "#/$defs/UseArrowFunctionConfiguration" },
|
|
635
635
|
{ "type": "null" }
|
|
636
636
|
]
|
|
637
637
|
},
|
|
638
638
|
"useDateNow": {
|
|
639
|
-
"description": "Use Date.now() to get the number of milliseconds since the Unix Epoch.\nSee https://biomejs.dev/linter/rules/use-date-now",
|
|
639
|
+
"description": "Use Date.now() to get the number of milliseconds since the Unix Epoch.\nSee <https://biomejs.dev/linter/rules/use-date-now>",
|
|
640
640
|
"anyOf": [
|
|
641
641
|
{ "$ref": "#/$defs/UseDateNowConfiguration" },
|
|
642
642
|
{ "type": "null" }
|
|
643
643
|
]
|
|
644
644
|
},
|
|
645
645
|
"useFlatMap": {
|
|
646
|
-
"description": "Promotes the use of .flatMap() when map().flat() are used together.\nSee https://biomejs.dev/linter/rules/use-flat-map",
|
|
646
|
+
"description": "Promotes the use of .flatMap() when map().flat() are used together.\nSee <https://biomejs.dev/linter/rules/use-flat-map>",
|
|
647
647
|
"anyOf": [
|
|
648
648
|
{ "$ref": "#/$defs/UseFlatMapConfiguration" },
|
|
649
649
|
{ "type": "null" }
|
|
650
650
|
]
|
|
651
651
|
},
|
|
652
652
|
"useIndexOf": {
|
|
653
|
-
"description": "Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.\nSee https://biomejs.dev/linter/rules/use-index-of",
|
|
653
|
+
"description": "Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.\nSee <https://biomejs.dev/linter/rules/use-index-of>",
|
|
654
654
|
"anyOf": [
|
|
655
655
|
{ "$ref": "#/$defs/UseIndexOfConfiguration" },
|
|
656
656
|
{ "type": "null" }
|
|
657
657
|
]
|
|
658
658
|
},
|
|
659
659
|
"useLiteralKeys": {
|
|
660
|
-
"description": "Enforce the usage of a literal access to properties over computed property access.\nSee https://biomejs.dev/linter/rules/use-literal-keys",
|
|
660
|
+
"description": "Enforce the usage of a literal access to properties over computed property access.\nSee <https://biomejs.dev/linter/rules/use-literal-keys>",
|
|
661
661
|
"anyOf": [
|
|
662
662
|
{ "$ref": "#/$defs/UseLiteralKeysConfiguration" },
|
|
663
663
|
{ "type": "null" }
|
|
664
664
|
]
|
|
665
665
|
},
|
|
666
666
|
"useNumericLiterals": {
|
|
667
|
-
"description": "Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.\nSee https://biomejs.dev/linter/rules/use-numeric-literals",
|
|
667
|
+
"description": "Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.\nSee <https://biomejs.dev/linter/rules/use-numeric-literals>",
|
|
668
668
|
"anyOf": [
|
|
669
669
|
{ "$ref": "#/$defs/UseNumericLiteralsConfiguration" },
|
|
670
670
|
{ "type": "null" }
|
|
671
671
|
]
|
|
672
672
|
},
|
|
673
673
|
"useOptionalChain": {
|
|
674
|
-
"description": "Enforce using concise optional chain instead of chained logical expressions.\nSee https://biomejs.dev/linter/rules/use-optional-chain",
|
|
674
|
+
"description": "Enforce using concise optional chain instead of chained logical expressions.\nSee <https://biomejs.dev/linter/rules/use-optional-chain>",
|
|
675
675
|
"anyOf": [
|
|
676
676
|
{ "$ref": "#/$defs/UseOptionalChainConfiguration" },
|
|
677
677
|
{ "type": "null" }
|
|
678
678
|
]
|
|
679
679
|
},
|
|
680
680
|
"useRegexLiterals": {
|
|
681
|
-
"description": "Enforce the use of the regular expression literals instead of the RegExp constructor if possible.\nSee https://biomejs.dev/linter/rules/use-regex-literals",
|
|
681
|
+
"description": "Enforce the use of the regular expression literals instead of the RegExp constructor if possible.\nSee <https://biomejs.dev/linter/rules/use-regex-literals>",
|
|
682
682
|
"anyOf": [
|
|
683
683
|
{ "$ref": "#/$defs/UseRegexLiteralsConfiguration" },
|
|
684
684
|
{ "type": "null" }
|
|
685
685
|
]
|
|
686
686
|
},
|
|
687
687
|
"useSimpleNumberKeys": {
|
|
688
|
-
"description": "Disallow number literal object member names which are not base 10 or use underscore as separator.\nSee https://biomejs.dev/linter/rules/use-simple-number-keys",
|
|
688
|
+
"description": "Disallow number literal object member names which are not base 10 or use underscore as separator.\nSee <https://biomejs.dev/linter/rules/use-simple-number-keys>",
|
|
689
689
|
"anyOf": [
|
|
690
690
|
{ "$ref": "#/$defs/UseSimpleNumberKeysConfiguration" },
|
|
691
691
|
{ "type": "null" }
|
|
692
692
|
]
|
|
693
693
|
},
|
|
694
694
|
"useSimplifiedLogicExpression": {
|
|
695
|
-
"description": "Discard redundant terms from logical expressions.\nSee https://biomejs.dev/linter/rules/use-simplified-logic-expression",
|
|
695
|
+
"description": "Discard redundant terms from logical expressions.\nSee <https://biomejs.dev/linter/rules/use-simplified-logic-expression>",
|
|
696
696
|
"anyOf": [
|
|
697
697
|
{ "$ref": "#/$defs/UseSimplifiedLogicExpressionConfiguration" },
|
|
698
698
|
{ "type": "null" }
|
|
699
699
|
]
|
|
700
700
|
},
|
|
701
701
|
"useWhile": {
|
|
702
|
-
"description": "Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.\nSee https://biomejs.dev/linter/rules/use-while",
|
|
702
|
+
"description": "Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.\nSee <https://biomejs.dev/linter/rules/use-while>",
|
|
703
703
|
"anyOf": [
|
|
704
704
|
{ "$ref": "#/$defs/UseWhileConfiguration" },
|
|
705
705
|
{ "type": "null" }
|
|
@@ -759,91 +759,91 @@
|
|
|
759
759
|
"type": "object",
|
|
760
760
|
"properties": {
|
|
761
761
|
"noChildrenProp": {
|
|
762
|
-
"description": "Prevent passing of children as props.\nSee https://biomejs.dev/linter/rules/no-children-prop",
|
|
762
|
+
"description": "Prevent passing of children as props.\nSee <https://biomejs.dev/linter/rules/no-children-prop>",
|
|
763
763
|
"anyOf": [
|
|
764
764
|
{ "$ref": "#/$defs/NoChildrenPropConfiguration" },
|
|
765
765
|
{ "type": "null" }
|
|
766
766
|
]
|
|
767
767
|
},
|
|
768
768
|
"noConstAssign": {
|
|
769
|
-
"description": "Prevents from having const variables being re-assigned.\nSee https://biomejs.dev/linter/rules/no-const-assign",
|
|
769
|
+
"description": "Prevents from having const variables being re-assigned.\nSee <https://biomejs.dev/linter/rules/no-const-assign>",
|
|
770
770
|
"anyOf": [
|
|
771
771
|
{ "$ref": "#/$defs/NoConstAssignConfiguration" },
|
|
772
772
|
{ "type": "null" }
|
|
773
773
|
]
|
|
774
774
|
},
|
|
775
775
|
"noConstantCondition": {
|
|
776
|
-
"description": "Disallow constant expressions in conditions.\nSee https://biomejs.dev/linter/rules/no-constant-condition",
|
|
776
|
+
"description": "Disallow constant expressions in conditions.\nSee <https://biomejs.dev/linter/rules/no-constant-condition>",
|
|
777
777
|
"anyOf": [
|
|
778
778
|
{ "$ref": "#/$defs/NoConstantConditionConfiguration" },
|
|
779
779
|
{ "type": "null" }
|
|
780
780
|
]
|
|
781
781
|
},
|
|
782
782
|
"noConstantMathMinMaxClamp": {
|
|
783
|
-
"description": "Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.\nSee https://biomejs.dev/linter/rules/no-constant-math-min-max-clamp",
|
|
783
|
+
"description": "Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.\nSee <https://biomejs.dev/linter/rules/no-constant-math-min-max-clamp>",
|
|
784
784
|
"anyOf": [
|
|
785
785
|
{ "$ref": "#/$defs/NoConstantMathMinMaxClampConfiguration" },
|
|
786
786
|
{ "type": "null" }
|
|
787
787
|
]
|
|
788
788
|
},
|
|
789
789
|
"noConstructorReturn": {
|
|
790
|
-
"description": "Disallow returning a value from a constructor.\nSee https://biomejs.dev/linter/rules/no-constructor-return",
|
|
790
|
+
"description": "Disallow returning a value from a constructor.\nSee <https://biomejs.dev/linter/rules/no-constructor-return>",
|
|
791
791
|
"anyOf": [
|
|
792
792
|
{ "$ref": "#/$defs/NoConstructorReturnConfiguration" },
|
|
793
793
|
{ "type": "null" }
|
|
794
794
|
]
|
|
795
795
|
},
|
|
796
796
|
"noEmptyCharacterClassInRegex": {
|
|
797
|
-
"description": "Disallow empty character classes in regular expression literals.\nSee https://biomejs.dev/linter/rules/no-empty-character-class-in-regex",
|
|
797
|
+
"description": "Disallow empty character classes in regular expression literals.\nSee <https://biomejs.dev/linter/rules/no-empty-character-class-in-regex>",
|
|
798
798
|
"anyOf": [
|
|
799
799
|
{ "$ref": "#/$defs/NoEmptyCharacterClassInRegexConfiguration" },
|
|
800
800
|
{ "type": "null" }
|
|
801
801
|
]
|
|
802
802
|
},
|
|
803
803
|
"noEmptyPattern": {
|
|
804
|
-
"description": "Disallows empty destructuring patterns.\nSee https://biomejs.dev/linter/rules/no-empty-pattern",
|
|
804
|
+
"description": "Disallows empty destructuring patterns.\nSee <https://biomejs.dev/linter/rules/no-empty-pattern>",
|
|
805
805
|
"anyOf": [
|
|
806
806
|
{ "$ref": "#/$defs/NoEmptyPatternConfiguration" },
|
|
807
807
|
{ "type": "null" }
|
|
808
808
|
]
|
|
809
809
|
},
|
|
810
810
|
"noGlobalDirnameFilename": {
|
|
811
|
-
"description": "Disallow the use of __dirname and __filename in the global scope.\nSee https://biomejs.dev/linter/rules/no-global-dirname-filename",
|
|
811
|
+
"description": "Disallow the use of __dirname and __filename in the global scope.\nSee <https://biomejs.dev/linter/rules/no-global-dirname-filename>",
|
|
812
812
|
"anyOf": [
|
|
813
813
|
{ "$ref": "#/$defs/NoGlobalDirnameFilenameConfiguration" },
|
|
814
814
|
{ "type": "null" }
|
|
815
815
|
]
|
|
816
816
|
},
|
|
817
817
|
"noGlobalObjectCalls": {
|
|
818
|
-
"description": "Disallow calling global object properties as functions.\nSee https://biomejs.dev/linter/rules/no-global-object-calls",
|
|
818
|
+
"description": "Disallow calling global object properties as functions.\nSee <https://biomejs.dev/linter/rules/no-global-object-calls>",
|
|
819
819
|
"anyOf": [
|
|
820
820
|
{ "$ref": "#/$defs/NoGlobalObjectCallsConfiguration" },
|
|
821
821
|
{ "type": "null" }
|
|
822
822
|
]
|
|
823
823
|
},
|
|
824
824
|
"noInnerDeclarations": {
|
|
825
|
-
"description": "Disallow function and var declarations that are accessible outside their block.\nSee https://biomejs.dev/linter/rules/no-inner-declarations",
|
|
825
|
+
"description": "Disallow function and var declarations that are accessible outside their block.\nSee <https://biomejs.dev/linter/rules/no-inner-declarations>",
|
|
826
826
|
"anyOf": [
|
|
827
827
|
{ "$ref": "#/$defs/NoInnerDeclarationsConfiguration" },
|
|
828
828
|
{ "type": "null" }
|
|
829
829
|
]
|
|
830
830
|
},
|
|
831
831
|
"noInvalidBuiltinInstantiation": {
|
|
832
|
-
"description": "Ensure that builtins are correctly instantiated.\nSee https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation",
|
|
832
|
+
"description": "Ensure that builtins are correctly instantiated.\nSee <https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation>",
|
|
833
833
|
"anyOf": [
|
|
834
834
|
{ "$ref": "#/$defs/NoInvalidBuiltinInstantiationConfiguration" },
|
|
835
835
|
{ "type": "null" }
|
|
836
836
|
]
|
|
837
837
|
},
|
|
838
838
|
"noInvalidConstructorSuper": {
|
|
839
|
-
"description": "Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.\nSee https://biomejs.dev/linter/rules/no-invalid-constructor-super",
|
|
839
|
+
"description": "Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.\nSee <https://biomejs.dev/linter/rules/no-invalid-constructor-super>",
|
|
840
840
|
"anyOf": [
|
|
841
841
|
{ "$ref": "#/$defs/NoInvalidConstructorSuperConfiguration" },
|
|
842
842
|
{ "type": "null" }
|
|
843
843
|
]
|
|
844
844
|
},
|
|
845
845
|
"noInvalidDirectionInLinearGradient": {
|
|
846
|
-
"description": "Disallow non-standard direction values for linear gradient functions.\nSee https://biomejs.dev/linter/rules/no-invalid-direction-in-linear-gradient",
|
|
846
|
+
"description": "Disallow non-standard direction values for linear gradient functions.\nSee <https://biomejs.dev/linter/rules/no-invalid-direction-in-linear-gradient>",
|
|
847
847
|
"anyOf": [
|
|
848
848
|
{
|
|
849
849
|
"$ref": "#/$defs/NoInvalidDirectionInLinearGradientConfiguration"
|
|
@@ -852,280 +852,280 @@
|
|
|
852
852
|
]
|
|
853
853
|
},
|
|
854
854
|
"noInvalidGridAreas": {
|
|
855
|
-
"description": "Disallows invalid named grid areas in CSS Grid Layouts.\nSee https://biomejs.dev/linter/rules/no-invalid-grid-areas",
|
|
855
|
+
"description": "Disallows invalid named grid areas in CSS Grid Layouts.\nSee <https://biomejs.dev/linter/rules/no-invalid-grid-areas>",
|
|
856
856
|
"anyOf": [
|
|
857
857
|
{ "$ref": "#/$defs/NoInvalidGridAreasConfiguration" },
|
|
858
858
|
{ "type": "null" }
|
|
859
859
|
]
|
|
860
860
|
},
|
|
861
861
|
"noInvalidPositionAtImportRule": {
|
|
862
|
-
"description": "Disallow the use of @import at-rules in invalid positions.\nSee https://biomejs.dev/linter/rules/no-invalid-position-at-import-rule",
|
|
862
|
+
"description": "Disallow the use of @import at-rules in invalid positions.\nSee <https://biomejs.dev/linter/rules/no-invalid-position-at-import-rule>",
|
|
863
863
|
"anyOf": [
|
|
864
864
|
{ "$ref": "#/$defs/NoInvalidPositionAtImportRuleConfiguration" },
|
|
865
865
|
{ "type": "null" }
|
|
866
866
|
]
|
|
867
867
|
},
|
|
868
868
|
"noInvalidUseBeforeDeclaration": {
|
|
869
|
-
"description": "Disallow the use of variables, function parameters, classes, and enums before their declaration.\nSee https://biomejs.dev/linter/rules/no-invalid-use-before-declaration",
|
|
869
|
+
"description": "Disallow the use of variables, function parameters, classes, and enums before their declaration.\nSee <https://biomejs.dev/linter/rules/no-invalid-use-before-declaration>",
|
|
870
870
|
"anyOf": [
|
|
871
871
|
{ "$ref": "#/$defs/NoInvalidUseBeforeDeclarationConfiguration" },
|
|
872
872
|
{ "type": "null" }
|
|
873
873
|
]
|
|
874
874
|
},
|
|
875
875
|
"noMissingVarFunction": {
|
|
876
|
-
"description": "Disallow missing var function for css variables.\nSee https://biomejs.dev/linter/rules/no-missing-var-function",
|
|
876
|
+
"description": "Disallow missing var function for css variables.\nSee <https://biomejs.dev/linter/rules/no-missing-var-function>",
|
|
877
877
|
"anyOf": [
|
|
878
878
|
{ "$ref": "#/$defs/NoMissingVarFunctionConfiguration" },
|
|
879
879
|
{ "type": "null" }
|
|
880
880
|
]
|
|
881
881
|
},
|
|
882
882
|
"noNestedComponentDefinitions": {
|
|
883
|
-
"description": "Disallows defining React components inside other components.\nSee https://biomejs.dev/linter/rules/no-nested-component-definitions",
|
|
883
|
+
"description": "Disallows defining React components inside other components.\nSee <https://biomejs.dev/linter/rules/no-nested-component-definitions>",
|
|
884
884
|
"anyOf": [
|
|
885
885
|
{ "$ref": "#/$defs/NoNestedComponentDefinitionsConfiguration" },
|
|
886
886
|
{ "type": "null" }
|
|
887
887
|
]
|
|
888
888
|
},
|
|
889
889
|
"noNodejsModules": {
|
|
890
|
-
"description": "Forbid the use of Node.js builtin modules.\nSee https://biomejs.dev/linter/rules/no-nodejs-modules",
|
|
890
|
+
"description": "Forbid the use of Node.js builtin modules.\nSee <https://biomejs.dev/linter/rules/no-nodejs-modules>",
|
|
891
891
|
"anyOf": [
|
|
892
892
|
{ "$ref": "#/$defs/NoNodejsModulesConfiguration" },
|
|
893
893
|
{ "type": "null" }
|
|
894
894
|
]
|
|
895
895
|
},
|
|
896
896
|
"noNonoctalDecimalEscape": {
|
|
897
|
-
"description": "Disallow \\8 and \\9 escape sequences in string literals.\nSee https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape",
|
|
897
|
+
"description": "Disallow \\8 and \\9 escape sequences in string literals.\nSee <https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape>",
|
|
898
898
|
"anyOf": [
|
|
899
899
|
{ "$ref": "#/$defs/NoNonoctalDecimalEscapeConfiguration" },
|
|
900
900
|
{ "type": "null" }
|
|
901
901
|
]
|
|
902
902
|
},
|
|
903
903
|
"noPrecisionLoss": {
|
|
904
|
-
"description": "Disallow literal numbers that lose precision.\nSee https://biomejs.dev/linter/rules/no-precision-loss",
|
|
904
|
+
"description": "Disallow literal numbers that lose precision.\nSee <https://biomejs.dev/linter/rules/no-precision-loss>",
|
|
905
905
|
"anyOf": [
|
|
906
906
|
{ "$ref": "#/$defs/NoPrecisionLossConfiguration" },
|
|
907
907
|
{ "type": "null" }
|
|
908
908
|
]
|
|
909
909
|
},
|
|
910
910
|
"noPrivateImports": {
|
|
911
|
-
"description": "Restrict imports of private exports.\nSee https://biomejs.dev/linter/rules/no-private-imports",
|
|
911
|
+
"description": "Restrict imports of private exports.\nSee <https://biomejs.dev/linter/rules/no-private-imports>",
|
|
912
912
|
"anyOf": [
|
|
913
913
|
{ "$ref": "#/$defs/NoPrivateImportsConfiguration" },
|
|
914
914
|
{ "type": "null" }
|
|
915
915
|
]
|
|
916
916
|
},
|
|
917
917
|
"noProcessGlobal": {
|
|
918
|
-
"description": "Disallow the use of process global.\nSee https://biomejs.dev/linter/rules/no-process-global",
|
|
918
|
+
"description": "Disallow the use of process global.\nSee <https://biomejs.dev/linter/rules/no-process-global>",
|
|
919
919
|
"anyOf": [
|
|
920
920
|
{ "$ref": "#/$defs/NoProcessGlobalConfiguration" },
|
|
921
921
|
{ "type": "null" }
|
|
922
922
|
]
|
|
923
923
|
},
|
|
924
924
|
"noQwikUseVisibleTask": {
|
|
925
|
-
"description": "Disallow useVisibleTask$() functions in Qwik components.\nSee https://biomejs.dev/linter/rules/no-qwik-use-visible-task",
|
|
925
|
+
"description": "Disallow useVisibleTask$() functions in Qwik components.\nSee <https://biomejs.dev/linter/rules/no-qwik-use-visible-task>",
|
|
926
926
|
"anyOf": [
|
|
927
927
|
{ "$ref": "#/$defs/NoQwikUseVisibleTaskConfiguration" },
|
|
928
928
|
{ "type": "null" }
|
|
929
929
|
]
|
|
930
930
|
},
|
|
931
931
|
"noReactPropAssignments": {
|
|
932
|
-
"description": "Disallow assigning to React component props.\nSee https://biomejs.dev/linter/rules/no-react-prop-assignments",
|
|
932
|
+
"description": "Disallow assigning to React component props.\nSee <https://biomejs.dev/linter/rules/no-react-prop-assignments>",
|
|
933
933
|
"anyOf": [
|
|
934
934
|
{ "$ref": "#/$defs/NoReactPropAssignmentsConfiguration" },
|
|
935
935
|
{ "type": "null" }
|
|
936
936
|
]
|
|
937
937
|
},
|
|
938
938
|
"noRenderReturnValue": {
|
|
939
|
-
"description": "Prevent the usage of the return value of React.render.\nSee https://biomejs.dev/linter/rules/no-render-return-value",
|
|
939
|
+
"description": "Prevent the usage of the return value of React.render.\nSee <https://biomejs.dev/linter/rules/no-render-return-value>",
|
|
940
940
|
"anyOf": [
|
|
941
941
|
{ "$ref": "#/$defs/NoRenderReturnValueConfiguration" },
|
|
942
942
|
{ "type": "null" }
|
|
943
943
|
]
|
|
944
944
|
},
|
|
945
945
|
"noRestrictedElements": {
|
|
946
|
-
"description": "Disallow the use of configured elements.\nSee https://biomejs.dev/linter/rules/no-restricted-elements",
|
|
946
|
+
"description": "Disallow the use of configured elements.\nSee <https://biomejs.dev/linter/rules/no-restricted-elements>",
|
|
947
947
|
"anyOf": [
|
|
948
948
|
{ "$ref": "#/$defs/NoRestrictedElementsConfiguration" },
|
|
949
949
|
{ "type": "null" }
|
|
950
950
|
]
|
|
951
951
|
},
|
|
952
952
|
"noSelfAssign": {
|
|
953
|
-
"description": "Disallow assignments where both sides are exactly the same.\nSee https://biomejs.dev/linter/rules/no-self-assign",
|
|
953
|
+
"description": "Disallow assignments where both sides are exactly the same.\nSee <https://biomejs.dev/linter/rules/no-self-assign>",
|
|
954
954
|
"anyOf": [
|
|
955
955
|
{ "$ref": "#/$defs/NoSelfAssignConfiguration" },
|
|
956
956
|
{ "type": "null" }
|
|
957
957
|
]
|
|
958
958
|
},
|
|
959
959
|
"noSetterReturn": {
|
|
960
|
-
"description": "Disallow returning a value from a setter.\nSee https://biomejs.dev/linter/rules/no-setter-return",
|
|
960
|
+
"description": "Disallow returning a value from a setter.\nSee <https://biomejs.dev/linter/rules/no-setter-return>",
|
|
961
961
|
"anyOf": [
|
|
962
962
|
{ "$ref": "#/$defs/NoSetterReturnConfiguration" },
|
|
963
963
|
{ "type": "null" }
|
|
964
964
|
]
|
|
965
965
|
},
|
|
966
966
|
"noSolidDestructuredProps": {
|
|
967
|
-
"description": "Disallow destructuring props inside JSX components in Solid projects.\nSee https://biomejs.dev/linter/rules/no-solid-destructured-props",
|
|
967
|
+
"description": "Disallow destructuring props inside JSX components in Solid projects.\nSee <https://biomejs.dev/linter/rules/no-solid-destructured-props>",
|
|
968
968
|
"anyOf": [
|
|
969
969
|
{ "$ref": "#/$defs/NoSolidDestructuredPropsConfiguration" },
|
|
970
970
|
{ "type": "null" }
|
|
971
971
|
]
|
|
972
972
|
},
|
|
973
973
|
"noStringCaseMismatch": {
|
|
974
|
-
"description": "Disallow comparison of expressions modifying the string case with non-compliant value.\nSee https://biomejs.dev/linter/rules/no-string-case-mismatch",
|
|
974
|
+
"description": "Disallow comparison of expressions modifying the string case with non-compliant value.\nSee <https://biomejs.dev/linter/rules/no-string-case-mismatch>",
|
|
975
975
|
"anyOf": [
|
|
976
976
|
{ "$ref": "#/$defs/NoStringCaseMismatchConfiguration" },
|
|
977
977
|
{ "type": "null" }
|
|
978
978
|
]
|
|
979
979
|
},
|
|
980
980
|
"noSwitchDeclarations": {
|
|
981
|
-
"description": "Disallow lexical declarations in switch clauses.\nSee https://biomejs.dev/linter/rules/no-switch-declarations",
|
|
981
|
+
"description": "Disallow lexical declarations in switch clauses.\nSee <https://biomejs.dev/linter/rules/no-switch-declarations>",
|
|
982
982
|
"anyOf": [
|
|
983
983
|
{ "$ref": "#/$defs/NoSwitchDeclarationsConfiguration" },
|
|
984
984
|
{ "type": "null" }
|
|
985
985
|
]
|
|
986
986
|
},
|
|
987
987
|
"noUndeclaredDependencies": {
|
|
988
|
-
"description": "Disallow the use of dependencies that aren't specified in the package.json.\nSee https://biomejs.dev/linter/rules/no-undeclared-dependencies",
|
|
988
|
+
"description": "Disallow the use of dependencies that aren't specified in the package.json.\nSee <https://biomejs.dev/linter/rules/no-undeclared-dependencies>",
|
|
989
989
|
"anyOf": [
|
|
990
990
|
{ "$ref": "#/$defs/NoUndeclaredDependenciesConfiguration" },
|
|
991
991
|
{ "type": "null" }
|
|
992
992
|
]
|
|
993
993
|
},
|
|
994
994
|
"noUndeclaredVariables": {
|
|
995
|
-
"description": "Prevents the usage of variables that haven't been declared inside the document.\nSee https://biomejs.dev/linter/rules/no-undeclared-variables",
|
|
995
|
+
"description": "Prevents the usage of variables that haven't been declared inside the document.\nSee <https://biomejs.dev/linter/rules/no-undeclared-variables>",
|
|
996
996
|
"anyOf": [
|
|
997
997
|
{ "$ref": "#/$defs/NoUndeclaredVariablesConfiguration" },
|
|
998
998
|
{ "type": "null" }
|
|
999
999
|
]
|
|
1000
1000
|
},
|
|
1001
1001
|
"noUnknownFunction": {
|
|
1002
|
-
"description": "Disallow unknown CSS value functions.\nSee https://biomejs.dev/linter/rules/no-unknown-function",
|
|
1002
|
+
"description": "Disallow unknown CSS value functions.\nSee <https://biomejs.dev/linter/rules/no-unknown-function>",
|
|
1003
1003
|
"anyOf": [
|
|
1004
1004
|
{ "$ref": "#/$defs/NoUnknownFunctionConfiguration" },
|
|
1005
1005
|
{ "type": "null" }
|
|
1006
1006
|
]
|
|
1007
1007
|
},
|
|
1008
1008
|
"noUnknownMediaFeatureName": {
|
|
1009
|
-
"description": "Disallow unknown media feature names.\nSee https://biomejs.dev/linter/rules/no-unknown-media-feature-name",
|
|
1009
|
+
"description": "Disallow unknown media feature names.\nSee <https://biomejs.dev/linter/rules/no-unknown-media-feature-name>",
|
|
1010
1010
|
"anyOf": [
|
|
1011
1011
|
{ "$ref": "#/$defs/NoUnknownMediaFeatureNameConfiguration" },
|
|
1012
1012
|
{ "type": "null" }
|
|
1013
1013
|
]
|
|
1014
1014
|
},
|
|
1015
1015
|
"noUnknownProperty": {
|
|
1016
|
-
"description": "Disallow unknown properties.\nSee https://biomejs.dev/linter/rules/no-unknown-property",
|
|
1016
|
+
"description": "Disallow unknown properties.\nSee <https://biomejs.dev/linter/rules/no-unknown-property>",
|
|
1017
1017
|
"anyOf": [
|
|
1018
1018
|
{ "$ref": "#/$defs/NoUnknownPropertyConfiguration" },
|
|
1019
1019
|
{ "type": "null" }
|
|
1020
1020
|
]
|
|
1021
1021
|
},
|
|
1022
1022
|
"noUnknownPseudoClass": {
|
|
1023
|
-
"description": "Disallow unknown pseudo-class selectors.\nSee https://biomejs.dev/linter/rules/no-unknown-pseudo-class",
|
|
1023
|
+
"description": "Disallow unknown pseudo-class selectors.\nSee <https://biomejs.dev/linter/rules/no-unknown-pseudo-class>",
|
|
1024
1024
|
"anyOf": [
|
|
1025
1025
|
{ "$ref": "#/$defs/NoUnknownPseudoClassConfiguration" },
|
|
1026
1026
|
{ "type": "null" }
|
|
1027
1027
|
]
|
|
1028
1028
|
},
|
|
1029
1029
|
"noUnknownPseudoElement": {
|
|
1030
|
-
"description": "Disallow unknown pseudo-element selectors.\nSee https://biomejs.dev/linter/rules/no-unknown-pseudo-element",
|
|
1030
|
+
"description": "Disallow unknown pseudo-element selectors.\nSee <https://biomejs.dev/linter/rules/no-unknown-pseudo-element>",
|
|
1031
1031
|
"anyOf": [
|
|
1032
1032
|
{ "$ref": "#/$defs/NoUnknownPseudoElementConfiguration" },
|
|
1033
1033
|
{ "type": "null" }
|
|
1034
1034
|
]
|
|
1035
1035
|
},
|
|
1036
1036
|
"noUnknownTypeSelector": {
|
|
1037
|
-
"description": "Disallow unknown type selectors.\nSee https://biomejs.dev/linter/rules/no-unknown-type-selector",
|
|
1037
|
+
"description": "Disallow unknown type selectors.\nSee <https://biomejs.dev/linter/rules/no-unknown-type-selector>",
|
|
1038
1038
|
"anyOf": [
|
|
1039
1039
|
{ "$ref": "#/$defs/NoUnknownTypeSelectorConfiguration" },
|
|
1040
1040
|
{ "type": "null" }
|
|
1041
1041
|
]
|
|
1042
1042
|
},
|
|
1043
1043
|
"noUnknownUnit": {
|
|
1044
|
-
"description": "Disallow unknown CSS units.\nSee https://biomejs.dev/linter/rules/no-unknown-unit",
|
|
1044
|
+
"description": "Disallow unknown CSS units.\nSee <https://biomejs.dev/linter/rules/no-unknown-unit>",
|
|
1045
1045
|
"anyOf": [
|
|
1046
1046
|
{ "$ref": "#/$defs/NoUnknownUnitConfiguration" },
|
|
1047
1047
|
{ "type": "null" }
|
|
1048
1048
|
]
|
|
1049
1049
|
},
|
|
1050
1050
|
"noUnmatchableAnbSelector": {
|
|
1051
|
-
"description": "Disallow unmatchable An+B selectors.\nSee https://biomejs.dev/linter/rules/no-unmatchable-anb-selector",
|
|
1051
|
+
"description": "Disallow unmatchable An+B selectors.\nSee <https://biomejs.dev/linter/rules/no-unmatchable-anb-selector>",
|
|
1052
1052
|
"anyOf": [
|
|
1053
1053
|
{ "$ref": "#/$defs/NoUnmatchableAnbSelectorConfiguration" },
|
|
1054
1054
|
{ "type": "null" }
|
|
1055
1055
|
]
|
|
1056
1056
|
},
|
|
1057
1057
|
"noUnreachable": {
|
|
1058
|
-
"description": "Disallow unreachable code.\nSee https://biomejs.dev/linter/rules/no-unreachable",
|
|
1058
|
+
"description": "Disallow unreachable code.\nSee <https://biomejs.dev/linter/rules/no-unreachable>",
|
|
1059
1059
|
"anyOf": [
|
|
1060
1060
|
{ "$ref": "#/$defs/NoUnreachableConfiguration" },
|
|
1061
1061
|
{ "type": "null" }
|
|
1062
1062
|
]
|
|
1063
1063
|
},
|
|
1064
1064
|
"noUnreachableSuper": {
|
|
1065
|
-
"description": "Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass.\nSee https://biomejs.dev/linter/rules/no-unreachable-super",
|
|
1065
|
+
"description": "Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass.\nSee <https://biomejs.dev/linter/rules/no-unreachable-super>",
|
|
1066
1066
|
"anyOf": [
|
|
1067
1067
|
{ "$ref": "#/$defs/NoUnreachableSuperConfiguration" },
|
|
1068
1068
|
{ "type": "null" }
|
|
1069
1069
|
]
|
|
1070
1070
|
},
|
|
1071
1071
|
"noUnsafeFinally": {
|
|
1072
|
-
"description": "Disallow control flow statements in finally blocks.\nSee https://biomejs.dev/linter/rules/no-unsafe-finally",
|
|
1072
|
+
"description": "Disallow control flow statements in finally blocks.\nSee <https://biomejs.dev/linter/rules/no-unsafe-finally>",
|
|
1073
1073
|
"anyOf": [
|
|
1074
1074
|
{ "$ref": "#/$defs/NoUnsafeFinallyConfiguration" },
|
|
1075
1075
|
{ "type": "null" }
|
|
1076
1076
|
]
|
|
1077
1077
|
},
|
|
1078
1078
|
"noUnsafeOptionalChaining": {
|
|
1079
|
-
"description": "Disallow the use of optional chaining in contexts where the undefined value is not allowed.\nSee https://biomejs.dev/linter/rules/no-unsafe-optional-chaining",
|
|
1079
|
+
"description": "Disallow the use of optional chaining in contexts where the undefined value is not allowed.\nSee <https://biomejs.dev/linter/rules/no-unsafe-optional-chaining>",
|
|
1080
1080
|
"anyOf": [
|
|
1081
1081
|
{ "$ref": "#/$defs/NoUnsafeOptionalChainingConfiguration" },
|
|
1082
1082
|
{ "type": "null" }
|
|
1083
1083
|
]
|
|
1084
1084
|
},
|
|
1085
1085
|
"noUnusedFunctionParameters": {
|
|
1086
|
-
"description": "Disallow unused function parameters.\nSee https://biomejs.dev/linter/rules/no-unused-function-parameters",
|
|
1086
|
+
"description": "Disallow unused function parameters.\nSee <https://biomejs.dev/linter/rules/no-unused-function-parameters>",
|
|
1087
1087
|
"anyOf": [
|
|
1088
1088
|
{ "$ref": "#/$defs/NoUnusedFunctionParametersConfiguration" },
|
|
1089
1089
|
{ "type": "null" }
|
|
1090
1090
|
]
|
|
1091
1091
|
},
|
|
1092
1092
|
"noUnusedImports": {
|
|
1093
|
-
"description": "Disallow unused imports.\nSee https://biomejs.dev/linter/rules/no-unused-imports",
|
|
1093
|
+
"description": "Disallow unused imports.\nSee <https://biomejs.dev/linter/rules/no-unused-imports>",
|
|
1094
1094
|
"anyOf": [
|
|
1095
1095
|
{ "$ref": "#/$defs/NoUnusedImportsConfiguration" },
|
|
1096
1096
|
{ "type": "null" }
|
|
1097
1097
|
]
|
|
1098
1098
|
},
|
|
1099
1099
|
"noUnusedLabels": {
|
|
1100
|
-
"description": "Disallow unused labels.\nSee https://biomejs.dev/linter/rules/no-unused-labels",
|
|
1100
|
+
"description": "Disallow unused labels.\nSee <https://biomejs.dev/linter/rules/no-unused-labels>",
|
|
1101
1101
|
"anyOf": [
|
|
1102
1102
|
{ "$ref": "#/$defs/NoUnusedLabelsConfiguration" },
|
|
1103
1103
|
{ "type": "null" }
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
"noUnusedPrivateClassMembers": {
|
|
1107
|
-
"description": "Disallow unused private class members.\nSee https://biomejs.dev/linter/rules/no-unused-private-class-members",
|
|
1107
|
+
"description": "Disallow unused private class members.\nSee <https://biomejs.dev/linter/rules/no-unused-private-class-members>",
|
|
1108
1108
|
"anyOf": [
|
|
1109
1109
|
{ "$ref": "#/$defs/NoUnusedPrivateClassMembersConfiguration" },
|
|
1110
1110
|
{ "type": "null" }
|
|
1111
1111
|
]
|
|
1112
1112
|
},
|
|
1113
1113
|
"noUnusedVariables": {
|
|
1114
|
-
"description": "Disallow unused variables.\nSee https://biomejs.dev/linter/rules/no-unused-variables",
|
|
1114
|
+
"description": "Disallow unused variables.\nSee <https://biomejs.dev/linter/rules/no-unused-variables>",
|
|
1115
1115
|
"anyOf": [
|
|
1116
1116
|
{ "$ref": "#/$defs/NoUnusedVariablesConfiguration" },
|
|
1117
1117
|
{ "type": "null" }
|
|
1118
1118
|
]
|
|
1119
1119
|
},
|
|
1120
1120
|
"noVoidElementsWithChildren": {
|
|
1121
|
-
"description": "This rules prevents void elements (AKA self-closing elements) from having children.\nSee https://biomejs.dev/linter/rules/no-void-elements-with-children",
|
|
1121
|
+
"description": "This rules prevents void elements (AKA self-closing elements) from having children.\nSee <https://biomejs.dev/linter/rules/no-void-elements-with-children>",
|
|
1122
1122
|
"anyOf": [
|
|
1123
1123
|
{ "$ref": "#/$defs/NoVoidElementsWithChildrenConfiguration" },
|
|
1124
1124
|
{ "type": "null" }
|
|
1125
1125
|
]
|
|
1126
1126
|
},
|
|
1127
1127
|
"noVoidTypeReturn": {
|
|
1128
|
-
"description": "Disallow returning a value from a function with the return type 'void'.\nSee https://biomejs.dev/linter/rules/no-void-type-return",
|
|
1128
|
+
"description": "Disallow returning a value from a function with the return type 'void'.\nSee <https://biomejs.dev/linter/rules/no-void-type-return>",
|
|
1129
1129
|
"anyOf": [
|
|
1130
1130
|
{ "$ref": "#/$defs/NoVoidTypeReturnConfiguration" },
|
|
1131
1131
|
{ "type": "null" }
|
|
@@ -1136,105 +1136,105 @@
|
|
|
1136
1136
|
"type": ["boolean", "null"]
|
|
1137
1137
|
},
|
|
1138
1138
|
"useExhaustiveDependencies": {
|
|
1139
|
-
"description": "Enforce
|
|
1139
|
+
"description": "Enforce correct dependency usage within React hooks.\nSee <https://biomejs.dev/linter/rules/use-exhaustive-dependencies>",
|
|
1140
1140
|
"anyOf": [
|
|
1141
1141
|
{ "$ref": "#/$defs/UseExhaustiveDependenciesConfiguration" },
|
|
1142
1142
|
{ "type": "null" }
|
|
1143
1143
|
]
|
|
1144
1144
|
},
|
|
1145
1145
|
"useGraphqlNamedOperations": {
|
|
1146
|
-
"description": "Enforce specifying the name of GraphQL operations.\nSee https://biomejs.dev/linter/rules/use-graphql-named-operations",
|
|
1146
|
+
"description": "Enforce specifying the name of GraphQL operations.\nSee <https://biomejs.dev/linter/rules/use-graphql-named-operations>",
|
|
1147
1147
|
"anyOf": [
|
|
1148
1148
|
{ "$ref": "#/$defs/UseGraphqlNamedOperationsConfiguration" },
|
|
1149
1149
|
{ "type": "null" }
|
|
1150
1150
|
]
|
|
1151
1151
|
},
|
|
1152
1152
|
"useHookAtTopLevel": {
|
|
1153
|
-
"description": "Enforce that all React hooks are being called from the Top Level component functions.\nSee https://biomejs.dev/linter/rules/use-hook-at-top-level",
|
|
1153
|
+
"description": "Enforce that all React hooks are being called from the Top Level component functions.\nSee <https://biomejs.dev/linter/rules/use-hook-at-top-level>",
|
|
1154
1154
|
"anyOf": [
|
|
1155
1155
|
{ "$ref": "#/$defs/UseHookAtTopLevelConfiguration" },
|
|
1156
1156
|
{ "type": "null" }
|
|
1157
1157
|
]
|
|
1158
1158
|
},
|
|
1159
1159
|
"useImageSize": {
|
|
1160
|
-
"description": "Enforces that \\<img> elements have both width and height attributes.\nSee https://biomejs.dev/linter/rules/use-image-size",
|
|
1160
|
+
"description": "Enforces that \\<img> elements have both width and height attributes.\nSee <https://biomejs.dev/linter/rules/use-image-size>",
|
|
1161
1161
|
"anyOf": [
|
|
1162
1162
|
{ "$ref": "#/$defs/UseImageSizeConfiguration" },
|
|
1163
1163
|
{ "type": "null" }
|
|
1164
1164
|
]
|
|
1165
1165
|
},
|
|
1166
1166
|
"useImportExtensions": {
|
|
1167
|
-
"description": "Enforce file extensions for relative imports.\nSee https://biomejs.dev/linter/rules/use-import-extensions",
|
|
1167
|
+
"description": "Enforce file extensions for relative imports.\nSee <https://biomejs.dev/linter/rules/use-import-extensions>",
|
|
1168
1168
|
"anyOf": [
|
|
1169
1169
|
{ "$ref": "#/$defs/UseImportExtensionsConfiguration" },
|
|
1170
1170
|
{ "type": "null" }
|
|
1171
1171
|
]
|
|
1172
1172
|
},
|
|
1173
1173
|
"useIsNan": {
|
|
1174
|
-
"description": "Require calls to isNaN() when checking for NaN.\nSee https://biomejs.dev/linter/rules/use-is-nan",
|
|
1174
|
+
"description": "Require calls to isNaN() when checking for NaN.\nSee <https://biomejs.dev/linter/rules/use-is-nan>",
|
|
1175
1175
|
"anyOf": [
|
|
1176
1176
|
{ "$ref": "#/$defs/UseIsNanConfiguration" },
|
|
1177
1177
|
{ "type": "null" }
|
|
1178
1178
|
]
|
|
1179
1179
|
},
|
|
1180
1180
|
"useJsonImportAttributes": {
|
|
1181
|
-
"description": "Enforces the use of with { type: \"json\" } for JSON module imports.\nSee https://biomejs.dev/linter/rules/use-json-import-attributes",
|
|
1181
|
+
"description": "Enforces the use of with { type: \"json\" } for JSON module imports.\nSee <https://biomejs.dev/linter/rules/use-json-import-attributes>",
|
|
1182
1182
|
"anyOf": [
|
|
1183
1183
|
{ "$ref": "#/$defs/UseJsonImportAttributesConfiguration" },
|
|
1184
1184
|
{ "type": "null" }
|
|
1185
1185
|
]
|
|
1186
1186
|
},
|
|
1187
1187
|
"useJsxKeyInIterable": {
|
|
1188
|
-
"description": "Disallow missing key props in iterators/collection literals.\nSee https://biomejs.dev/linter/rules/use-jsx-key-in-iterable",
|
|
1188
|
+
"description": "Disallow missing key props in iterators/collection literals.\nSee <https://biomejs.dev/linter/rules/use-jsx-key-in-iterable>",
|
|
1189
1189
|
"anyOf": [
|
|
1190
1190
|
{ "$ref": "#/$defs/UseJsxKeyInIterableConfiguration" },
|
|
1191
1191
|
{ "type": "null" }
|
|
1192
1192
|
]
|
|
1193
1193
|
},
|
|
1194
1194
|
"useParseIntRadix": {
|
|
1195
|
-
"description": "Enforce the consistent use of the radix argument when using parseInt().\nSee https://biomejs.dev/linter/rules/use-parse-int-radix",
|
|
1195
|
+
"description": "Enforce the consistent use of the radix argument when using parseInt().\nSee <https://biomejs.dev/linter/rules/use-parse-int-radix>",
|
|
1196
1196
|
"anyOf": [
|
|
1197
1197
|
{ "$ref": "#/$defs/UseParseIntRadixConfiguration" },
|
|
1198
1198
|
{ "type": "null" }
|
|
1199
1199
|
]
|
|
1200
1200
|
},
|
|
1201
1201
|
"useQwikClasslist": {
|
|
1202
|
-
"description": "Prefer using the class prop as a classlist over the classnames helper.\nSee https://biomejs.dev/linter/rules/use-qwik-classlist",
|
|
1202
|
+
"description": "Prefer using the class prop as a classlist over the classnames helper.\nSee <https://biomejs.dev/linter/rules/use-qwik-classlist>",
|
|
1203
1203
|
"anyOf": [
|
|
1204
1204
|
{ "$ref": "#/$defs/UseQwikClasslistConfiguration" },
|
|
1205
1205
|
{ "type": "null" }
|
|
1206
1206
|
]
|
|
1207
1207
|
},
|
|
1208
1208
|
"useSingleJsDocAsterisk": {
|
|
1209
|
-
"description": "Enforce JSDoc comment lines to start with a single asterisk, except for the first one.\nSee https://biomejs.dev/linter/rules/use-single-js-doc-asterisk",
|
|
1209
|
+
"description": "Enforce JSDoc comment lines to start with a single asterisk, except for the first one.\nSee <https://biomejs.dev/linter/rules/use-single-js-doc-asterisk>",
|
|
1210
1210
|
"anyOf": [
|
|
1211
1211
|
{ "$ref": "#/$defs/UseSingleJsDocAsteriskConfiguration" },
|
|
1212
1212
|
{ "type": "null" }
|
|
1213
1213
|
]
|
|
1214
1214
|
},
|
|
1215
1215
|
"useUniqueElementIds": {
|
|
1216
|
-
"description": "Prevent the usage of static string literal id attribute on elements.\nSee https://biomejs.dev/linter/rules/use-unique-element-ids",
|
|
1216
|
+
"description": "Prevent the usage of static string literal id attribute on elements.\nSee <https://biomejs.dev/linter/rules/use-unique-element-ids>",
|
|
1217
1217
|
"anyOf": [
|
|
1218
1218
|
{ "$ref": "#/$defs/UseUniqueElementIdsConfiguration" },
|
|
1219
1219
|
{ "type": "null" }
|
|
1220
1220
|
]
|
|
1221
1221
|
},
|
|
1222
1222
|
"useValidForDirection": {
|
|
1223
|
-
"description": "Enforce \"for\" loop update clause moving the counter in the right direction.\nSee https://biomejs.dev/linter/rules/use-valid-for-direction",
|
|
1223
|
+
"description": "Enforce \"for\" loop update clause moving the counter in the right direction.\nSee <https://biomejs.dev/linter/rules/use-valid-for-direction>",
|
|
1224
1224
|
"anyOf": [
|
|
1225
1225
|
{ "$ref": "#/$defs/UseValidForDirectionConfiguration" },
|
|
1226
1226
|
{ "type": "null" }
|
|
1227
1227
|
]
|
|
1228
1228
|
},
|
|
1229
1229
|
"useValidTypeof": {
|
|
1230
|
-
"description": "This rule checks that the result of a typeof expression is compared to a valid value.\nSee https://biomejs.dev/linter/rules/use-valid-typeof",
|
|
1230
|
+
"description": "This rule checks that the result of a typeof expression is compared to a valid value.\nSee <https://biomejs.dev/linter/rules/use-valid-typeof>",
|
|
1231
1231
|
"anyOf": [
|
|
1232
1232
|
{ "$ref": "#/$defs/UseValidTypeofConfiguration" },
|
|
1233
1233
|
{ "type": "null" }
|
|
1234
1234
|
]
|
|
1235
1235
|
},
|
|
1236
1236
|
"useYield": {
|
|
1237
|
-
"description": "Require generator functions to contain yield.\nSee https://biomejs.dev/linter/rules/use-yield",
|
|
1237
|
+
"description": "Require generator functions to contain yield.\nSee <https://biomejs.dev/linter/rules/use-yield>",
|
|
1238
1238
|
"anyOf": [
|
|
1239
1239
|
{ "$ref": "#/$defs/UseYieldConfiguration" },
|
|
1240
1240
|
{ "type": "null" }
|
|
@@ -1949,8 +1949,12 @@
|
|
|
1949
1949
|
},
|
|
1950
1950
|
"IndentStyle": {
|
|
1951
1951
|
"oneOf": [
|
|
1952
|
-
{ "description": "Tab", "type": "string", "const": "tab" },
|
|
1953
|
-
{
|
|
1952
|
+
{ "description": "Indent with Tab", "type": "string", "const": "tab" },
|
|
1953
|
+
{
|
|
1954
|
+
"description": "Indent with Space",
|
|
1955
|
+
"type": "string",
|
|
1956
|
+
"const": "space"
|
|
1957
|
+
}
|
|
1954
1958
|
]
|
|
1955
1959
|
},
|
|
1956
1960
|
"IndentWidth": {
|
|
@@ -4201,6 +4205,13 @@
|
|
|
4201
4205
|
},
|
|
4202
4206
|
"additionalProperties": false
|
|
4203
4207
|
},
|
|
4208
|
+
"NoScriptUrlConfiguration": {
|
|
4209
|
+
"oneOf": [
|
|
4210
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4211
|
+
{ "$ref": "#/$defs/RuleWithNoScriptUrlOptions" }
|
|
4212
|
+
]
|
|
4213
|
+
},
|
|
4214
|
+
"NoScriptUrlOptions": { "type": "object", "additionalProperties": false },
|
|
4204
4215
|
"NoSecretsConfiguration": {
|
|
4205
4216
|
"oneOf": [
|
|
4206
4217
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5050,6 +5061,16 @@
|
|
|
5050
5061
|
"type": "object",
|
|
5051
5062
|
"additionalProperties": false
|
|
5052
5063
|
},
|
|
5064
|
+
"NoVueSetupPropsReactivityLossConfiguration": {
|
|
5065
|
+
"oneOf": [
|
|
5066
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5067
|
+
{ "$ref": "#/$defs/RuleWithNoVueSetupPropsReactivityLossOptions" }
|
|
5068
|
+
]
|
|
5069
|
+
},
|
|
5070
|
+
"NoVueSetupPropsReactivityLossOptions": {
|
|
5071
|
+
"type": "object",
|
|
5072
|
+
"additionalProperties": false
|
|
5073
|
+
},
|
|
5053
5074
|
"NoVueVIfWithVForConfiguration": {
|
|
5054
5075
|
"oneOf": [
|
|
5055
5076
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5086,224 +5107,238 @@
|
|
|
5086
5107
|
"type": "object",
|
|
5087
5108
|
"properties": {
|
|
5088
5109
|
"noContinue": {
|
|
5089
|
-
"description": "Disallow continue statements.\nSee https://biomejs.dev/linter/rules/no-continue",
|
|
5110
|
+
"description": "Disallow continue statements.\nSee <https://biomejs.dev/linter/rules/no-continue>",
|
|
5090
5111
|
"anyOf": [
|
|
5091
5112
|
{ "$ref": "#/$defs/NoContinueConfiguration" },
|
|
5092
5113
|
{ "type": "null" }
|
|
5093
5114
|
]
|
|
5094
5115
|
},
|
|
5095
5116
|
"noDeprecatedImports": {
|
|
5096
|
-
"description": "Restrict imports of deprecated exports.\nSee https://biomejs.dev/linter/rules/no-deprecated-imports",
|
|
5117
|
+
"description": "Restrict imports of deprecated exports.\nSee <https://biomejs.dev/linter/rules/no-deprecated-imports>",
|
|
5097
5118
|
"anyOf": [
|
|
5098
5119
|
{ "$ref": "#/$defs/NoDeprecatedImportsConfiguration" },
|
|
5099
5120
|
{ "type": "null" }
|
|
5100
5121
|
]
|
|
5101
5122
|
},
|
|
5102
5123
|
"noDuplicateDependencies": {
|
|
5103
|
-
"description": "Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: \"bundledDependencies\", \"bundleDependencies\", \"dependencies\", \"devDependencies\", \"overrides\", \"optionalDependencies\", and \"peerDependencies\".\nSee https://biomejs.dev/linter/rules/no-duplicate-dependencies",
|
|
5124
|
+
"description": "Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: \"bundledDependencies\", \"bundleDependencies\", \"dependencies\", \"devDependencies\", \"overrides\", \"optionalDependencies\", and \"peerDependencies\".\nSee <https://biomejs.dev/linter/rules/no-duplicate-dependencies>",
|
|
5104
5125
|
"anyOf": [
|
|
5105
5126
|
{ "$ref": "#/$defs/NoDuplicateDependenciesConfiguration" },
|
|
5106
5127
|
{ "type": "null" }
|
|
5107
5128
|
]
|
|
5108
5129
|
},
|
|
5109
5130
|
"noDuplicatedSpreadProps": {
|
|
5110
|
-
"description": "Disallow JSX prop spreading the same identifier multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicated-spread-props",
|
|
5131
|
+
"description": "Disallow JSX prop spreading the same identifier multiple times.\nSee <https://biomejs.dev/linter/rules/no-duplicated-spread-props>",
|
|
5111
5132
|
"anyOf": [
|
|
5112
5133
|
{ "$ref": "#/$defs/NoDuplicatedSpreadPropsConfiguration" },
|
|
5113
5134
|
{ "type": "null" }
|
|
5114
5135
|
]
|
|
5115
5136
|
},
|
|
5116
5137
|
"noEmptySource": {
|
|
5117
|
-
"description": "Disallow empty sources.\nSee https://biomejs.dev/linter/rules/no-empty-source",
|
|
5138
|
+
"description": "Disallow empty sources.\nSee <https://biomejs.dev/linter/rules/no-empty-source>",
|
|
5118
5139
|
"anyOf": [
|
|
5119
5140
|
{ "$ref": "#/$defs/NoEmptySourceConfiguration" },
|
|
5120
5141
|
{ "type": "null" }
|
|
5121
5142
|
]
|
|
5122
5143
|
},
|
|
5123
5144
|
"noEqualsToNull": {
|
|
5124
|
-
"description": "Require the use of === or !== for comparison with null.\nSee https://biomejs.dev/linter/rules/no-equals-to-null",
|
|
5145
|
+
"description": "Require the use of === or !== for comparison with null.\nSee <https://biomejs.dev/linter/rules/no-equals-to-null>",
|
|
5125
5146
|
"anyOf": [
|
|
5126
5147
|
{ "$ref": "#/$defs/NoEqualsToNullConfiguration" },
|
|
5127
5148
|
{ "type": "null" }
|
|
5128
5149
|
]
|
|
5129
5150
|
},
|
|
5130
5151
|
"noFloatingPromises": {
|
|
5131
|
-
"description": "Require Promise-like statements to be handled appropriately.\nSee https://biomejs.dev/linter/rules/no-floating-promises",
|
|
5152
|
+
"description": "Require Promise-like statements to be handled appropriately.\nSee <https://biomejs.dev/linter/rules/no-floating-promises>",
|
|
5132
5153
|
"anyOf": [
|
|
5133
5154
|
{ "$ref": "#/$defs/NoFloatingPromisesConfiguration" },
|
|
5134
5155
|
{ "type": "null" }
|
|
5135
5156
|
]
|
|
5136
5157
|
},
|
|
5137
5158
|
"noForIn": {
|
|
5138
|
-
"description": "Disallow iterating using a for-in loop.\nSee https://biomejs.dev/linter/rules/no-for-in",
|
|
5159
|
+
"description": "Disallow iterating using a for-in loop.\nSee <https://biomejs.dev/linter/rules/no-for-in>",
|
|
5139
5160
|
"anyOf": [
|
|
5140
5161
|
{ "$ref": "#/$defs/NoForInConfiguration" },
|
|
5141
5162
|
{ "type": "null" }
|
|
5142
5163
|
]
|
|
5143
5164
|
},
|
|
5144
5165
|
"noImportCycles": {
|
|
5145
|
-
"description": "Prevent import cycles.\nSee https://biomejs.dev/linter/rules/no-import-cycles",
|
|
5166
|
+
"description": "Prevent import cycles.\nSee <https://biomejs.dev/linter/rules/no-import-cycles>",
|
|
5146
5167
|
"anyOf": [
|
|
5147
5168
|
{ "$ref": "#/$defs/NoImportCyclesConfiguration" },
|
|
5148
5169
|
{ "type": "null" }
|
|
5149
5170
|
]
|
|
5150
5171
|
},
|
|
5151
5172
|
"noIncrementDecrement": {
|
|
5152
|
-
"description": "Disallows the usage of the unary operators ++ and --.\nSee https://biomejs.dev/linter/rules/no-increment-decrement",
|
|
5173
|
+
"description": "Disallows the usage of the unary operators ++ and --.\nSee <https://biomejs.dev/linter/rules/no-increment-decrement>",
|
|
5153
5174
|
"anyOf": [
|
|
5154
5175
|
{ "$ref": "#/$defs/NoIncrementDecrementConfiguration" },
|
|
5155
5176
|
{ "type": "null" }
|
|
5156
5177
|
]
|
|
5157
5178
|
},
|
|
5158
5179
|
"noJsxLiterals": {
|
|
5159
|
-
"description": "Disallow string literals inside JSX elements.\nSee https://biomejs.dev/linter/rules/no-jsx-literals",
|
|
5180
|
+
"description": "Disallow string literals inside JSX elements.\nSee <https://biomejs.dev/linter/rules/no-jsx-literals>",
|
|
5160
5181
|
"anyOf": [
|
|
5161
5182
|
{ "$ref": "#/$defs/NoJsxLiteralsConfiguration" },
|
|
5162
5183
|
{ "type": "null" }
|
|
5163
5184
|
]
|
|
5164
5185
|
},
|
|
5165
5186
|
"noLeakedRender": {
|
|
5166
|
-
"description": "Prevent problematic leaked values from being rendered.\nSee https://biomejs.dev/linter/rules/no-leaked-render",
|
|
5187
|
+
"description": "Prevent problematic leaked values from being rendered.\nSee <https://biomejs.dev/linter/rules/no-leaked-render>",
|
|
5167
5188
|
"anyOf": [
|
|
5168
5189
|
{ "$ref": "#/$defs/NoLeakedRenderConfiguration" },
|
|
5169
5190
|
{ "type": "null" }
|
|
5170
5191
|
]
|
|
5171
5192
|
},
|
|
5172
5193
|
"noMisusedPromises": {
|
|
5173
|
-
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee https://biomejs.dev/linter/rules/no-misused-promises",
|
|
5194
|
+
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee <https://biomejs.dev/linter/rules/no-misused-promises>",
|
|
5174
5195
|
"anyOf": [
|
|
5175
5196
|
{ "$ref": "#/$defs/NoMisusedPromisesConfiguration" },
|
|
5176
5197
|
{ "type": "null" }
|
|
5177
5198
|
]
|
|
5178
5199
|
},
|
|
5179
5200
|
"noMultiStr": {
|
|
5180
|
-
"description": "Disallow creating multiline strings by escaping newlines.\nSee https://biomejs.dev/linter/rules/no-multi-str",
|
|
5201
|
+
"description": "Disallow creating multiline strings by escaping newlines.\nSee <https://biomejs.dev/linter/rules/no-multi-str>",
|
|
5181
5202
|
"anyOf": [
|
|
5182
5203
|
{ "$ref": "#/$defs/NoMultiStrConfiguration" },
|
|
5183
5204
|
{ "type": "null" }
|
|
5184
5205
|
]
|
|
5185
5206
|
},
|
|
5186
5207
|
"noNextAsyncClientComponent": {
|
|
5187
|
-
"description": "Prevent client components from being async functions.\nSee https://biomejs.dev/linter/rules/no-next-async-client-component",
|
|
5208
|
+
"description": "Prevent client components from being async functions.\nSee <https://biomejs.dev/linter/rules/no-next-async-client-component>",
|
|
5188
5209
|
"anyOf": [
|
|
5189
5210
|
{ "$ref": "#/$defs/NoNextAsyncClientComponentConfiguration" },
|
|
5190
5211
|
{ "type": "null" }
|
|
5191
5212
|
]
|
|
5192
5213
|
},
|
|
5193
5214
|
"noParametersOnlyUsedInRecursion": {
|
|
5194
|
-
"description": "Disallow function parameters that are only used in recursive calls.\nSee https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion",
|
|
5215
|
+
"description": "Disallow function parameters that are only used in recursive calls.\nSee <https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion>",
|
|
5195
5216
|
"anyOf": [
|
|
5196
5217
|
{ "$ref": "#/$defs/NoParametersOnlyUsedInRecursionConfiguration" },
|
|
5197
5218
|
{ "type": "null" }
|
|
5198
5219
|
]
|
|
5199
5220
|
},
|
|
5200
5221
|
"noProto": {
|
|
5201
|
-
"description": "Disallow the use of the __proto__ property.\nSee https://biomejs.dev/linter/rules/no-proto",
|
|
5222
|
+
"description": "Disallow the use of the deprecated __proto__ object property.\nSee <https://biomejs.dev/linter/rules/no-proto>",
|
|
5202
5223
|
"anyOf": [
|
|
5203
5224
|
{ "$ref": "#/$defs/NoProtoConfiguration" },
|
|
5204
5225
|
{ "type": "null" }
|
|
5205
5226
|
]
|
|
5206
5227
|
},
|
|
5207
5228
|
"noReactForwardRef": {
|
|
5208
|
-
"description": "Replaces usages of forwardRef with passing ref as a prop.\nSee https://biomejs.dev/linter/rules/no-react-forward-ref",
|
|
5229
|
+
"description": "Replaces usages of forwardRef with passing ref as a prop.\nSee <https://biomejs.dev/linter/rules/no-react-forward-ref>",
|
|
5209
5230
|
"anyOf": [
|
|
5210
5231
|
{ "$ref": "#/$defs/NoReactForwardRefConfiguration" },
|
|
5211
5232
|
{ "type": "null" }
|
|
5212
5233
|
]
|
|
5213
5234
|
},
|
|
5235
|
+
"noScriptUrl": {
|
|
5236
|
+
"description": "Disallow javascript: URLs in HTML.\nSee <https://biomejs.dev/linter/rules/no-script-url>",
|
|
5237
|
+
"anyOf": [
|
|
5238
|
+
{ "$ref": "#/$defs/NoScriptUrlConfiguration" },
|
|
5239
|
+
{ "type": "null" }
|
|
5240
|
+
]
|
|
5241
|
+
},
|
|
5214
5242
|
"noShadow": {
|
|
5215
|
-
"description": "Disallow variable declarations from shadowing variables declared in the outer scope.\nSee https://biomejs.dev/linter/rules/no-shadow",
|
|
5243
|
+
"description": "Disallow variable declarations from shadowing variables declared in the outer scope.\nSee <https://biomejs.dev/linter/rules/no-shadow>",
|
|
5216
5244
|
"anyOf": [
|
|
5217
5245
|
{ "$ref": "#/$defs/NoShadowConfiguration" },
|
|
5218
5246
|
{ "type": "null" }
|
|
5219
5247
|
]
|
|
5220
5248
|
},
|
|
5221
5249
|
"noSyncScripts": {
|
|
5222
|
-
"description": "Prevent the usage of synchronous scripts.\nSee https://biomejs.dev/linter/rules/no-sync-scripts",
|
|
5250
|
+
"description": "Prevent the usage of synchronous scripts.\nSee <https://biomejs.dev/linter/rules/no-sync-scripts>",
|
|
5223
5251
|
"anyOf": [
|
|
5224
5252
|
{ "$ref": "#/$defs/NoSyncScriptsConfiguration" },
|
|
5225
5253
|
{ "type": "null" }
|
|
5226
5254
|
]
|
|
5227
5255
|
},
|
|
5228
5256
|
"noTernary": {
|
|
5229
|
-
"description": "Disallow ternary operators.\nSee https://biomejs.dev/linter/rules/no-ternary",
|
|
5257
|
+
"description": "Disallow ternary operators.\nSee <https://biomejs.dev/linter/rules/no-ternary>",
|
|
5230
5258
|
"anyOf": [
|
|
5231
5259
|
{ "$ref": "#/$defs/NoTernaryConfiguration" },
|
|
5232
5260
|
{ "type": "null" }
|
|
5233
5261
|
]
|
|
5234
5262
|
},
|
|
5235
5263
|
"noUnknownAttribute": {
|
|
5236
|
-
"description": "Disallow unknown DOM properties.\nSee https://biomejs.dev/linter/rules/no-unknown-attribute",
|
|
5264
|
+
"description": "Disallow unknown DOM properties.\nSee <https://biomejs.dev/linter/rules/no-unknown-attribute>",
|
|
5237
5265
|
"anyOf": [
|
|
5238
5266
|
{ "$ref": "#/$defs/NoUnknownAttributeConfiguration" },
|
|
5239
5267
|
{ "type": "null" }
|
|
5240
5268
|
]
|
|
5241
5269
|
},
|
|
5242
5270
|
"noUnnecessaryConditions": {
|
|
5243
|
-
"description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.\nSee https://biomejs.dev/linter/rules/no-unnecessary-conditions",
|
|
5271
|
+
"description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.\nSee <https://biomejs.dev/linter/rules/no-unnecessary-conditions>",
|
|
5244
5272
|
"anyOf": [
|
|
5245
5273
|
{ "$ref": "#/$defs/NoUnnecessaryConditionsConfiguration" },
|
|
5246
5274
|
{ "type": "null" }
|
|
5247
5275
|
]
|
|
5248
5276
|
},
|
|
5249
5277
|
"noUnresolvedImports": {
|
|
5250
|
-
"description": "Warn when importing non-existing exports.\nSee https://biomejs.dev/linter/rules/no-unresolved-imports",
|
|
5278
|
+
"description": "Warn when importing non-existing exports.\nSee <https://biomejs.dev/linter/rules/no-unresolved-imports>",
|
|
5251
5279
|
"anyOf": [
|
|
5252
5280
|
{ "$ref": "#/$defs/NoUnresolvedImportsConfiguration" },
|
|
5253
5281
|
{ "type": "null" }
|
|
5254
5282
|
]
|
|
5255
5283
|
},
|
|
5256
5284
|
"noUnusedExpressions": {
|
|
5257
|
-
"description": "Disallow expression statements that are neither a function call nor an assignment.\nSee https://biomejs.dev/linter/rules/no-unused-expressions",
|
|
5285
|
+
"description": "Disallow expression statements that are neither a function call nor an assignment.\nSee <https://biomejs.dev/linter/rules/no-unused-expressions>",
|
|
5258
5286
|
"anyOf": [
|
|
5259
5287
|
{ "$ref": "#/$defs/NoUnusedExpressionsConfiguration" },
|
|
5260
5288
|
{ "type": "null" }
|
|
5261
5289
|
]
|
|
5262
5290
|
},
|
|
5263
5291
|
"noUselessCatchBinding": {
|
|
5264
|
-
"description": "Disallow unused catch bindings.\nSee https://biomejs.dev/linter/rules/no-useless-catch-binding",
|
|
5292
|
+
"description": "Disallow unused catch bindings.\nSee <https://biomejs.dev/linter/rules/no-useless-catch-binding>",
|
|
5265
5293
|
"anyOf": [
|
|
5266
5294
|
{ "$ref": "#/$defs/NoUselessCatchBindingConfiguration" },
|
|
5267
5295
|
{ "type": "null" }
|
|
5268
5296
|
]
|
|
5269
5297
|
},
|
|
5270
5298
|
"noUselessUndefined": {
|
|
5271
|
-
"description": "Disallow the use of useless undefined.\nSee https://biomejs.dev/linter/rules/no-useless-undefined",
|
|
5299
|
+
"description": "Disallow the use of useless undefined.\nSee <https://biomejs.dev/linter/rules/no-useless-undefined>",
|
|
5272
5300
|
"anyOf": [
|
|
5273
5301
|
{ "$ref": "#/$defs/NoUselessUndefinedConfiguration" },
|
|
5274
5302
|
{ "type": "null" }
|
|
5275
5303
|
]
|
|
5276
5304
|
},
|
|
5277
5305
|
"noVueDataObjectDeclaration": {
|
|
5278
|
-
"description": "Enforce that Vue component data options are declared as functions.\nSee https://biomejs.dev/linter/rules/no-vue-data-object-declaration",
|
|
5306
|
+
"description": "Enforce that Vue component data options are declared as functions.\nSee <https://biomejs.dev/linter/rules/no-vue-data-object-declaration>",
|
|
5279
5307
|
"anyOf": [
|
|
5280
5308
|
{ "$ref": "#/$defs/NoVueDataObjectDeclarationConfiguration" },
|
|
5281
5309
|
{ "type": "null" }
|
|
5282
5310
|
]
|
|
5283
5311
|
},
|
|
5284
5312
|
"noVueDuplicateKeys": {
|
|
5285
|
-
"description": "Disallow duplicate keys in Vue component data, methods, computed properties, and other options.\nSee https://biomejs.dev/linter/rules/no-vue-duplicate-keys",
|
|
5313
|
+
"description": "Disallow duplicate keys in Vue component data, methods, computed properties, and other options.\nSee <https://biomejs.dev/linter/rules/no-vue-duplicate-keys>",
|
|
5286
5314
|
"anyOf": [
|
|
5287
5315
|
{ "$ref": "#/$defs/NoVueDuplicateKeysConfiguration" },
|
|
5288
5316
|
{ "type": "null" }
|
|
5289
5317
|
]
|
|
5290
5318
|
},
|
|
5291
5319
|
"noVueReservedKeys": {
|
|
5292
|
-
"description": "Disallow reserved keys in Vue component data and computed properties.\nSee https://biomejs.dev/linter/rules/no-vue-reserved-keys",
|
|
5320
|
+
"description": "Disallow reserved keys in Vue component data and computed properties.\nSee <https://biomejs.dev/linter/rules/no-vue-reserved-keys>",
|
|
5293
5321
|
"anyOf": [
|
|
5294
5322
|
{ "$ref": "#/$defs/NoVueReservedKeysConfiguration" },
|
|
5295
5323
|
{ "type": "null" }
|
|
5296
5324
|
]
|
|
5297
5325
|
},
|
|
5298
5326
|
"noVueReservedProps": {
|
|
5299
|
-
"description": "Disallow reserved names to be used as props.\nSee https://biomejs.dev/linter/rules/no-vue-reserved-props",
|
|
5327
|
+
"description": "Disallow reserved names to be used as props.\nSee <https://biomejs.dev/linter/rules/no-vue-reserved-props>",
|
|
5300
5328
|
"anyOf": [
|
|
5301
5329
|
{ "$ref": "#/$defs/NoVueReservedPropsConfiguration" },
|
|
5302
5330
|
{ "type": "null" }
|
|
5303
5331
|
]
|
|
5304
5332
|
},
|
|
5333
|
+
"noVueSetupPropsReactivityLoss": {
|
|
5334
|
+
"description": "Disallow destructuring of props passed to setup in Vue projects.\nSee <https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss>",
|
|
5335
|
+
"anyOf": [
|
|
5336
|
+
{ "$ref": "#/$defs/NoVueSetupPropsReactivityLossConfiguration" },
|
|
5337
|
+
{ "type": "null" }
|
|
5338
|
+
]
|
|
5339
|
+
},
|
|
5305
5340
|
"noVueVIfWithVFor": {
|
|
5306
|
-
"description": "Disallow using v-if and v-for directives on the same element.\nSee https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for",
|
|
5341
|
+
"description": "Disallow using v-if and v-for directives on the same element.\nSee <https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for>",
|
|
5307
5342
|
"anyOf": [
|
|
5308
5343
|
{ "$ref": "#/$defs/NoVueVIfWithVForConfiguration" },
|
|
5309
5344
|
{ "type": "null" }
|
|
@@ -5314,161 +5349,189 @@
|
|
|
5314
5349
|
"type": ["boolean", "null"]
|
|
5315
5350
|
},
|
|
5316
5351
|
"useArraySortCompare": {
|
|
5317
|
-
"description": "Require Array#sort and Array#toSorted calls to always provide a compareFunction.\nSee https://biomejs.dev/linter/rules/use-array-sort-compare",
|
|
5352
|
+
"description": "Require Array#sort and Array#toSorted calls to always provide a compareFunction.\nSee <https://biomejs.dev/linter/rules/use-array-sort-compare>",
|
|
5318
5353
|
"anyOf": [
|
|
5319
5354
|
{ "$ref": "#/$defs/UseArraySortCompareConfiguration" },
|
|
5320
5355
|
{ "type": "null" }
|
|
5321
5356
|
]
|
|
5322
5357
|
},
|
|
5358
|
+
"useAwaitThenable": {
|
|
5359
|
+
"description": "Enforce that await is only used on Promise values.\nSee <https://biomejs.dev/linter/rules/use-await-thenable>",
|
|
5360
|
+
"anyOf": [
|
|
5361
|
+
{ "$ref": "#/$defs/UseAwaitThenableConfiguration" },
|
|
5362
|
+
{ "type": "null" }
|
|
5363
|
+
]
|
|
5364
|
+
},
|
|
5323
5365
|
"useConsistentArrowReturn": {
|
|
5324
|
-
"description": "Enforce consistent arrow function bodies.\nSee https://biomejs.dev/linter/rules/use-consistent-arrow-return",
|
|
5366
|
+
"description": "Enforce consistent arrow function bodies.\nSee <https://biomejs.dev/linter/rules/use-consistent-arrow-return>",
|
|
5325
5367
|
"anyOf": [
|
|
5326
5368
|
{ "$ref": "#/$defs/UseConsistentArrowReturnConfiguration" },
|
|
5327
5369
|
{ "type": "null" }
|
|
5328
5370
|
]
|
|
5329
5371
|
},
|
|
5330
5372
|
"useConsistentGraphqlDescriptions": {
|
|
5331
|
-
"description": "Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.\nSee https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions",
|
|
5373
|
+
"description": "Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.\nSee <https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions>",
|
|
5332
5374
|
"anyOf": [
|
|
5333
5375
|
{ "$ref": "#/$defs/UseConsistentGraphqlDescriptionsConfiguration" },
|
|
5334
5376
|
{ "type": "null" }
|
|
5335
5377
|
]
|
|
5336
5378
|
},
|
|
5337
5379
|
"useDeprecatedDate": {
|
|
5338
|
-
"description": "Require the @deprecated directive to specify a deletion date.\nSee https://biomejs.dev/linter/rules/use-deprecated-date",
|
|
5380
|
+
"description": "Require the @deprecated directive to specify a deletion date.\nSee <https://biomejs.dev/linter/rules/use-deprecated-date>",
|
|
5339
5381
|
"anyOf": [
|
|
5340
5382
|
{ "$ref": "#/$defs/UseDeprecatedDateConfiguration" },
|
|
5341
5383
|
{ "type": "null" }
|
|
5342
5384
|
]
|
|
5343
5385
|
},
|
|
5386
|
+
"useDestructuring": {
|
|
5387
|
+
"description": "Require destructuring from arrays and/or objects.\nSee <https://biomejs.dev/linter/rules/use-destructuring>",
|
|
5388
|
+
"anyOf": [
|
|
5389
|
+
{ "$ref": "#/$defs/UseDestructuringConfiguration" },
|
|
5390
|
+
{ "type": "null" }
|
|
5391
|
+
]
|
|
5392
|
+
},
|
|
5344
5393
|
"useExhaustiveSwitchCases": {
|
|
5345
|
-
"description": "Require switch-case statements to be exhaustive.\nSee https://biomejs.dev/linter/rules/use-exhaustive-switch-cases",
|
|
5394
|
+
"description": "Require switch-case statements to be exhaustive.\nSee <https://biomejs.dev/linter/rules/use-exhaustive-switch-cases>",
|
|
5346
5395
|
"anyOf": [
|
|
5347
5396
|
{ "$ref": "#/$defs/UseExhaustiveSwitchCasesConfiguration" },
|
|
5348
5397
|
{ "type": "null" }
|
|
5349
5398
|
]
|
|
5350
5399
|
},
|
|
5351
5400
|
"useExplicitType": {
|
|
5352
|
-
"description": "Enforce types in functions, methods, variables, and parameters.\nSee https://biomejs.dev/linter/rules/use-explicit-type",
|
|
5401
|
+
"description": "Enforce types in functions, methods, variables, and parameters.\nSee <https://biomejs.dev/linter/rules/use-explicit-type>",
|
|
5353
5402
|
"anyOf": [
|
|
5354
5403
|
{ "$ref": "#/$defs/UseExplicitTypeConfiguration" },
|
|
5355
5404
|
{ "type": "null" }
|
|
5356
5405
|
]
|
|
5357
5406
|
},
|
|
5358
5407
|
"useFind": {
|
|
5359
|
-
"description": "Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.\nSee https://biomejs.dev/linter/rules/use-find",
|
|
5408
|
+
"description": "Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.\nSee <https://biomejs.dev/linter/rules/use-find>",
|
|
5360
5409
|
"anyOf": [
|
|
5361
5410
|
{ "$ref": "#/$defs/UseFindConfiguration" },
|
|
5362
5411
|
{ "type": "null" }
|
|
5363
5412
|
]
|
|
5364
5413
|
},
|
|
5365
5414
|
"useMaxParams": {
|
|
5366
|
-
"description": "Enforce a maximum number of parameters in function definitions.\nSee https://biomejs.dev/linter/rules/use-max-params",
|
|
5415
|
+
"description": "Enforce a maximum number of parameters in function definitions.\nSee <https://biomejs.dev/linter/rules/use-max-params>",
|
|
5367
5416
|
"anyOf": [
|
|
5368
5417
|
{ "$ref": "#/$defs/UseMaxParamsConfiguration" },
|
|
5369
5418
|
{ "type": "null" }
|
|
5370
5419
|
]
|
|
5371
5420
|
},
|
|
5372
5421
|
"useQwikMethodUsage": {
|
|
5373
|
-
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee https://biomejs.dev/linter/rules/use-qwik-method-usage",
|
|
5422
|
+
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee <https://biomejs.dev/linter/rules/use-qwik-method-usage>",
|
|
5374
5423
|
"anyOf": [
|
|
5375
5424
|
{ "$ref": "#/$defs/UseQwikMethodUsageConfiguration" },
|
|
5376
5425
|
{ "type": "null" }
|
|
5377
5426
|
]
|
|
5378
5427
|
},
|
|
5379
5428
|
"useQwikValidLexicalScope": {
|
|
5380
|
-
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope",
|
|
5429
|
+
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee <https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope>",
|
|
5381
5430
|
"anyOf": [
|
|
5382
5431
|
{ "$ref": "#/$defs/UseQwikValidLexicalScopeConfiguration" },
|
|
5383
5432
|
{ "type": "null" }
|
|
5384
5433
|
]
|
|
5385
5434
|
},
|
|
5435
|
+
"useRegexpExec": {
|
|
5436
|
+
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee <https://biomejs.dev/linter/rules/use-regexp-exec>",
|
|
5437
|
+
"anyOf": [
|
|
5438
|
+
{ "$ref": "#/$defs/UseRegexpExecConfiguration" },
|
|
5439
|
+
{ "type": "null" }
|
|
5440
|
+
]
|
|
5441
|
+
},
|
|
5442
|
+
"useRequiredScripts": {
|
|
5443
|
+
"description": "Enforce the presence of required scripts in package.json.\nSee <https://biomejs.dev/linter/rules/use-required-scripts>",
|
|
5444
|
+
"anyOf": [
|
|
5445
|
+
{ "$ref": "#/$defs/UseRequiredScriptsConfiguration" },
|
|
5446
|
+
{ "type": "null" }
|
|
5447
|
+
]
|
|
5448
|
+
},
|
|
5386
5449
|
"useSortedClasses": {
|
|
5387
|
-
"description": "Enforce the sorting of CSS utility classes.\nSee https://biomejs.dev/linter/rules/use-sorted-classes",
|
|
5450
|
+
"description": "Enforce the sorting of CSS utility classes.\nSee <https://biomejs.dev/linter/rules/use-sorted-classes>",
|
|
5388
5451
|
"anyOf": [
|
|
5389
5452
|
{ "$ref": "#/$defs/UseSortedClassesConfiguration" },
|
|
5390
5453
|
{ "type": "null" }
|
|
5391
5454
|
]
|
|
5392
5455
|
},
|
|
5393
5456
|
"useSpread": {
|
|
5394
|
-
"description": "Enforce the use of the spread operator over .apply().\nSee https://biomejs.dev/linter/rules/use-spread",
|
|
5457
|
+
"description": "Enforce the use of the spread operator over .apply().\nSee <https://biomejs.dev/linter/rules/use-spread>",
|
|
5395
5458
|
"anyOf": [
|
|
5396
5459
|
{ "$ref": "#/$defs/UseSpreadConfiguration" },
|
|
5397
5460
|
{ "type": "null" }
|
|
5398
5461
|
]
|
|
5399
5462
|
},
|
|
5400
5463
|
"useUniqueGraphqlOperationName": {
|
|
5401
|
-
"description": "Enforce unique operation names across a GraphQL document.\nSee https://biomejs.dev/linter/rules/use-unique-graphql-operation-name",
|
|
5464
|
+
"description": "Enforce unique operation names across a GraphQL document.\nSee <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>",
|
|
5402
5465
|
"anyOf": [
|
|
5403
5466
|
{ "$ref": "#/$defs/UseUniqueGraphqlOperationNameConfiguration" },
|
|
5404
5467
|
{ "type": "null" }
|
|
5405
5468
|
]
|
|
5406
5469
|
},
|
|
5407
5470
|
"useVueDefineMacrosOrder": {
|
|
5408
|
-
"description": "Enforce specific order of Vue compiler macros.\nSee https://biomejs.dev/linter/rules/use-vue-define-macros-order",
|
|
5471
|
+
"description": "Enforce specific order of Vue compiler macros.\nSee <https://biomejs.dev/linter/rules/use-vue-define-macros-order>",
|
|
5409
5472
|
"anyOf": [
|
|
5410
5473
|
{ "$ref": "#/$defs/UseVueDefineMacrosOrderConfiguration" },
|
|
5411
5474
|
{ "type": "null" }
|
|
5412
5475
|
]
|
|
5413
5476
|
},
|
|
5414
5477
|
"useVueHyphenatedAttributes": {
|
|
5415
|
-
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes",
|
|
5478
|
+
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee <https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes>",
|
|
5416
5479
|
"anyOf": [
|
|
5417
5480
|
{ "$ref": "#/$defs/UseVueHyphenatedAttributesConfiguration" },
|
|
5418
5481
|
{ "type": "null" }
|
|
5419
5482
|
]
|
|
5420
5483
|
},
|
|
5421
5484
|
"useVueMultiWordComponentNames": {
|
|
5422
|
-
"description": "Enforce multi-word component names in Vue components.\nSee https://biomejs.dev/linter/rules/use-vue-multi-word-component-names",
|
|
5485
|
+
"description": "Enforce multi-word component names in Vue components.\nSee <https://biomejs.dev/linter/rules/use-vue-multi-word-component-names>",
|
|
5423
5486
|
"anyOf": [
|
|
5424
5487
|
{ "$ref": "#/$defs/UseVueMultiWordComponentNamesConfiguration" },
|
|
5425
5488
|
{ "type": "null" }
|
|
5426
5489
|
]
|
|
5427
5490
|
},
|
|
5428
5491
|
"useVueValidVBind": {
|
|
5429
|
-
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-bind",
|
|
5492
|
+
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>",
|
|
5430
5493
|
"anyOf": [
|
|
5431
5494
|
{ "$ref": "#/$defs/UseVueValidVBindConfiguration" },
|
|
5432
5495
|
{ "type": "null" }
|
|
5433
5496
|
]
|
|
5434
5497
|
},
|
|
5435
5498
|
"useVueValidVElse": {
|
|
5436
|
-
"description": "Enforce valid usage of v-else.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else",
|
|
5499
|
+
"description": "Enforce valid usage of v-else.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-else>",
|
|
5437
5500
|
"anyOf": [
|
|
5438
5501
|
{ "$ref": "#/$defs/UseVueValidVElseConfiguration" },
|
|
5439
5502
|
{ "type": "null" }
|
|
5440
5503
|
]
|
|
5441
5504
|
},
|
|
5442
5505
|
"useVueValidVElseIf": {
|
|
5443
|
-
"description": "Enforce valid v-else-if directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else-if",
|
|
5506
|
+
"description": "Enforce valid v-else-if directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-else-if>",
|
|
5444
5507
|
"anyOf": [
|
|
5445
5508
|
{ "$ref": "#/$defs/UseVueValidVElseIfConfiguration" },
|
|
5446
5509
|
{ "type": "null" }
|
|
5447
5510
|
]
|
|
5448
5511
|
},
|
|
5449
5512
|
"useVueValidVHtml": {
|
|
5450
|
-
"description": "Enforce valid v-html directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-html",
|
|
5513
|
+
"description": "Enforce valid v-html directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-html>",
|
|
5451
5514
|
"anyOf": [
|
|
5452
5515
|
{ "$ref": "#/$defs/UseVueValidVHtmlConfiguration" },
|
|
5453
5516
|
{ "type": "null" }
|
|
5454
5517
|
]
|
|
5455
5518
|
},
|
|
5456
5519
|
"useVueValidVIf": {
|
|
5457
|
-
"description": "Enforces valid v-if usage for Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-if",
|
|
5520
|
+
"description": "Enforces valid v-if usage for Vue templates.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-if>",
|
|
5458
5521
|
"anyOf": [
|
|
5459
5522
|
{ "$ref": "#/$defs/UseVueValidVIfConfiguration" },
|
|
5460
5523
|
{ "type": "null" }
|
|
5461
5524
|
]
|
|
5462
5525
|
},
|
|
5463
5526
|
"useVueValidVOn": {
|
|
5464
|
-
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-on",
|
|
5527
|
+
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-on>",
|
|
5465
5528
|
"anyOf": [
|
|
5466
5529
|
{ "$ref": "#/$defs/UseVueValidVOnConfiguration" },
|
|
5467
5530
|
{ "type": "null" }
|
|
5468
5531
|
]
|
|
5469
5532
|
},
|
|
5470
5533
|
"useVueValidVText": {
|
|
5471
|
-
"description": "Enforce valid v-text Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-text",
|
|
5534
|
+
"description": "Enforce valid v-text Vue directives.\nSee <https://biomejs.dev/linter/rules/use-vue-valid-v-text>",
|
|
5472
5535
|
"anyOf": [
|
|
5473
5536
|
{ "$ref": "#/$defs/UseVueValidVTextConfiguration" },
|
|
5474
5537
|
{ "type": "null" }
|
|
@@ -5745,63 +5808,63 @@
|
|
|
5745
5808
|
"type": "object",
|
|
5746
5809
|
"properties": {
|
|
5747
5810
|
"noAccumulatingSpread": {
|
|
5748
|
-
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee https://biomejs.dev/linter/rules/no-accumulating-spread",
|
|
5811
|
+
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee <https://biomejs.dev/linter/rules/no-accumulating-spread>",
|
|
5749
5812
|
"anyOf": [
|
|
5750
5813
|
{ "$ref": "#/$defs/NoAccumulatingSpreadConfiguration" },
|
|
5751
5814
|
{ "type": "null" }
|
|
5752
5815
|
]
|
|
5753
5816
|
},
|
|
5754
5817
|
"noAwaitInLoops": {
|
|
5755
|
-
"description": "Disallow await inside loops.\nSee https://biomejs.dev/linter/rules/no-await-in-loops",
|
|
5818
|
+
"description": "Disallow await inside loops.\nSee <https://biomejs.dev/linter/rules/no-await-in-loops>",
|
|
5756
5819
|
"anyOf": [
|
|
5757
5820
|
{ "$ref": "#/$defs/NoAwaitInLoopsConfiguration" },
|
|
5758
5821
|
{ "type": "null" }
|
|
5759
5822
|
]
|
|
5760
5823
|
},
|
|
5761
5824
|
"noBarrelFile": {
|
|
5762
|
-
"description": "Disallow the use of barrel file.\nSee https://biomejs.dev/linter/rules/no-barrel-file",
|
|
5825
|
+
"description": "Disallow the use of barrel file.\nSee <https://biomejs.dev/linter/rules/no-barrel-file>",
|
|
5763
5826
|
"anyOf": [
|
|
5764
5827
|
{ "$ref": "#/$defs/NoBarrelFileConfiguration" },
|
|
5765
5828
|
{ "type": "null" }
|
|
5766
5829
|
]
|
|
5767
5830
|
},
|
|
5768
5831
|
"noDelete": {
|
|
5769
|
-
"description": "Disallow the use of the delete operator.\nSee https://biomejs.dev/linter/rules/no-delete",
|
|
5832
|
+
"description": "Disallow the use of the delete operator.\nSee <https://biomejs.dev/linter/rules/no-delete>",
|
|
5770
5833
|
"anyOf": [
|
|
5771
5834
|
{ "$ref": "#/$defs/NoDeleteConfiguration" },
|
|
5772
5835
|
{ "type": "null" }
|
|
5773
5836
|
]
|
|
5774
5837
|
},
|
|
5775
5838
|
"noDynamicNamespaceImportAccess": {
|
|
5776
|
-
"description": "Disallow accessing namespace imports dynamically.\nSee https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access",
|
|
5839
|
+
"description": "Disallow accessing namespace imports dynamically.\nSee <https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access>",
|
|
5777
5840
|
"anyOf": [
|
|
5778
5841
|
{ "$ref": "#/$defs/NoDynamicNamespaceImportAccessConfiguration" },
|
|
5779
5842
|
{ "type": "null" }
|
|
5780
5843
|
]
|
|
5781
5844
|
},
|
|
5782
5845
|
"noImgElement": {
|
|
5783
|
-
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-img-element",
|
|
5846
|
+
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee <https://biomejs.dev/linter/rules/no-img-element>",
|
|
5784
5847
|
"anyOf": [
|
|
5785
5848
|
{ "$ref": "#/$defs/NoImgElementConfiguration" },
|
|
5786
5849
|
{ "type": "null" }
|
|
5787
5850
|
]
|
|
5788
5851
|
},
|
|
5789
5852
|
"noNamespaceImport": {
|
|
5790
|
-
"description": "Disallow the use of namespace imports.\nSee https://biomejs.dev/linter/rules/no-namespace-import",
|
|
5853
|
+
"description": "Disallow the use of namespace imports.\nSee <https://biomejs.dev/linter/rules/no-namespace-import>",
|
|
5791
5854
|
"anyOf": [
|
|
5792
5855
|
{ "$ref": "#/$defs/NoNamespaceImportConfiguration" },
|
|
5793
5856
|
{ "type": "null" }
|
|
5794
5857
|
]
|
|
5795
5858
|
},
|
|
5796
5859
|
"noReExportAll": {
|
|
5797
|
-
"description": "Avoid re-export all.\nSee https://biomejs.dev/linter/rules/no-re-export-all",
|
|
5860
|
+
"description": "Avoid re-export all.\nSee <https://biomejs.dev/linter/rules/no-re-export-all>",
|
|
5798
5861
|
"anyOf": [
|
|
5799
5862
|
{ "$ref": "#/$defs/NoReExportAllConfiguration" },
|
|
5800
5863
|
{ "type": "null" }
|
|
5801
5864
|
]
|
|
5802
5865
|
},
|
|
5803
5866
|
"noUnwantedPolyfillio": {
|
|
5804
|
-
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee https://biomejs.dev/linter/rules/no-unwanted-polyfillio",
|
|
5867
|
+
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee <https://biomejs.dev/linter/rules/no-unwanted-polyfillio>",
|
|
5805
5868
|
"anyOf": [
|
|
5806
5869
|
{ "$ref": "#/$defs/NoUnwantedPolyfillioConfiguration" },
|
|
5807
5870
|
{ "type": "null" }
|
|
@@ -5812,21 +5875,21 @@
|
|
|
5812
5875
|
"type": ["boolean", "null"]
|
|
5813
5876
|
},
|
|
5814
5877
|
"useGoogleFontPreconnect": {
|
|
5815
|
-
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-preconnect",
|
|
5878
|
+
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee <https://biomejs.dev/linter/rules/use-google-font-preconnect>",
|
|
5816
5879
|
"anyOf": [
|
|
5817
5880
|
{ "$ref": "#/$defs/UseGoogleFontPreconnectConfiguration" },
|
|
5818
5881
|
{ "type": "null" }
|
|
5819
5882
|
]
|
|
5820
5883
|
},
|
|
5821
5884
|
"useSolidForComponent": {
|
|
5822
|
-
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee https://biomejs.dev/linter/rules/use-solid-for-component",
|
|
5885
|
+
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee <https://biomejs.dev/linter/rules/use-solid-for-component>",
|
|
5823
5886
|
"anyOf": [
|
|
5824
5887
|
{ "$ref": "#/$defs/UseSolidForComponentConfiguration" },
|
|
5825
5888
|
{ "type": "null" }
|
|
5826
5889
|
]
|
|
5827
5890
|
},
|
|
5828
5891
|
"useTopLevelRegex": {
|
|
5829
|
-
"description": "Require regex literals to be declared at the top level.\nSee https://biomejs.dev/linter/rules/use-top-level-regex",
|
|
5892
|
+
"description": "Require regex literals to be declared at the top level.\nSee <https://biomejs.dev/linter/rules/use-top-level-regex>",
|
|
5830
5893
|
"anyOf": [
|
|
5831
5894
|
{ "$ref": "#/$defs/UseTopLevelRegexConfiguration" },
|
|
5832
5895
|
{ "type": "null" }
|
|
@@ -7565,6 +7628,15 @@
|
|
|
7565
7628
|
"additionalProperties": false,
|
|
7566
7629
|
"required": ["level"]
|
|
7567
7630
|
},
|
|
7631
|
+
"RuleWithNoScriptUrlOptions": {
|
|
7632
|
+
"type": "object",
|
|
7633
|
+
"properties": {
|
|
7634
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7635
|
+
"options": { "$ref": "#/$defs/NoScriptUrlOptions" }
|
|
7636
|
+
},
|
|
7637
|
+
"additionalProperties": false,
|
|
7638
|
+
"required": ["level"]
|
|
7639
|
+
},
|
|
7568
7640
|
"RuleWithNoSecretsOptions": {
|
|
7569
7641
|
"type": "object",
|
|
7570
7642
|
"properties": {
|
|
@@ -8349,6 +8421,15 @@
|
|
|
8349
8421
|
"additionalProperties": false,
|
|
8350
8422
|
"required": ["level"]
|
|
8351
8423
|
},
|
|
8424
|
+
"RuleWithNoVueSetupPropsReactivityLossOptions": {
|
|
8425
|
+
"type": "object",
|
|
8426
|
+
"properties": {
|
|
8427
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8428
|
+
"options": { "$ref": "#/$defs/NoVueSetupPropsReactivityLossOptions" }
|
|
8429
|
+
},
|
|
8430
|
+
"additionalProperties": false,
|
|
8431
|
+
"required": ["level"]
|
|
8432
|
+
},
|
|
8352
8433
|
"RuleWithNoVueVIfWithVForOptions": {
|
|
8353
8434
|
"type": "object",
|
|
8354
8435
|
"properties": {
|
|
@@ -8493,6 +8574,15 @@
|
|
|
8493
8574
|
"additionalProperties": false,
|
|
8494
8575
|
"required": ["level"]
|
|
8495
8576
|
},
|
|
8577
|
+
"RuleWithUseAwaitThenableOptions": {
|
|
8578
|
+
"type": "object",
|
|
8579
|
+
"properties": {
|
|
8580
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8581
|
+
"options": { "$ref": "#/$defs/UseAwaitThenableOptions" }
|
|
8582
|
+
},
|
|
8583
|
+
"additionalProperties": false,
|
|
8584
|
+
"required": ["level"]
|
|
8585
|
+
},
|
|
8496
8586
|
"RuleWithUseBiomeIgnoreFolderOptions": {
|
|
8497
8587
|
"type": "object",
|
|
8498
8588
|
"properties": {
|
|
@@ -8697,6 +8787,15 @@
|
|
|
8697
8787
|
"additionalProperties": false,
|
|
8698
8788
|
"required": ["level"]
|
|
8699
8789
|
},
|
|
8790
|
+
"RuleWithUseDestructuringOptions": {
|
|
8791
|
+
"type": "object",
|
|
8792
|
+
"properties": {
|
|
8793
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8794
|
+
"options": { "$ref": "#/$defs/UseDestructuringOptions" }
|
|
8795
|
+
},
|
|
8796
|
+
"additionalProperties": false,
|
|
8797
|
+
"required": ["level"]
|
|
8798
|
+
},
|
|
8700
8799
|
"RuleWithUseEnumInitializersOptions": {
|
|
8701
8800
|
"type": "object",
|
|
8702
8801
|
"properties": {
|
|
@@ -9258,6 +9357,24 @@
|
|
|
9258
9357
|
"additionalProperties": false,
|
|
9259
9358
|
"required": ["level"]
|
|
9260
9359
|
},
|
|
9360
|
+
"RuleWithUseRegexpExecOptions": {
|
|
9361
|
+
"type": "object",
|
|
9362
|
+
"properties": {
|
|
9363
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9364
|
+
"options": { "$ref": "#/$defs/UseRegexpExecOptions" }
|
|
9365
|
+
},
|
|
9366
|
+
"additionalProperties": false,
|
|
9367
|
+
"required": ["level"]
|
|
9368
|
+
},
|
|
9369
|
+
"RuleWithUseRequiredScriptsOptions": {
|
|
9370
|
+
"type": "object",
|
|
9371
|
+
"properties": {
|
|
9372
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9373
|
+
"options": { "$ref": "#/$defs/UseRequiredScriptsOptions" }
|
|
9374
|
+
},
|
|
9375
|
+
"additionalProperties": false,
|
|
9376
|
+
"required": ["level"]
|
|
9377
|
+
},
|
|
9261
9378
|
"RuleWithUseSelfClosingElementsOptions": {
|
|
9262
9379
|
"type": "object",
|
|
9263
9380
|
"properties": {
|
|
@@ -9713,21 +9830,21 @@
|
|
|
9713
9830
|
"type": "object",
|
|
9714
9831
|
"properties": {
|
|
9715
9832
|
"noBlankTarget": {
|
|
9716
|
-
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee https://biomejs.dev/linter/rules/no-blank-target",
|
|
9833
|
+
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee <https://biomejs.dev/linter/rules/no-blank-target>",
|
|
9717
9834
|
"anyOf": [
|
|
9718
9835
|
{ "$ref": "#/$defs/NoBlankTargetConfiguration" },
|
|
9719
9836
|
{ "type": "null" }
|
|
9720
9837
|
]
|
|
9721
9838
|
},
|
|
9722
9839
|
"noDangerouslySetInnerHtml": {
|
|
9723
|
-
"description": "Prevent the usage of dangerous JSX props.\nSee https://biomejs.dev/linter/rules/no-dangerously-set-inner-html",
|
|
9840
|
+
"description": "Prevent the usage of dangerous JSX props.\nSee <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html>",
|
|
9724
9841
|
"anyOf": [
|
|
9725
9842
|
{ "$ref": "#/$defs/NoDangerouslySetInnerHtmlConfiguration" },
|
|
9726
9843
|
{ "type": "null" }
|
|
9727
9844
|
]
|
|
9728
9845
|
},
|
|
9729
9846
|
"noDangerouslySetInnerHtmlWithChildren": {
|
|
9730
|
-
"description": "Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.\nSee https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children",
|
|
9847
|
+
"description": "Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.\nSee <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children>",
|
|
9731
9848
|
"anyOf": [
|
|
9732
9849
|
{
|
|
9733
9850
|
"$ref": "#/$defs/NoDangerouslySetInnerHtmlWithChildrenConfiguration"
|
|
@@ -9736,14 +9853,14 @@
|
|
|
9736
9853
|
]
|
|
9737
9854
|
},
|
|
9738
9855
|
"noGlobalEval": {
|
|
9739
|
-
"description": "Disallow the use of global eval().\nSee https://biomejs.dev/linter/rules/no-global-eval",
|
|
9856
|
+
"description": "Disallow the use of global eval().\nSee <https://biomejs.dev/linter/rules/no-global-eval>",
|
|
9740
9857
|
"anyOf": [
|
|
9741
9858
|
{ "$ref": "#/$defs/NoGlobalEvalConfiguration" },
|
|
9742
9859
|
{ "type": "null" }
|
|
9743
9860
|
]
|
|
9744
9861
|
},
|
|
9745
9862
|
"noSecrets": {
|
|
9746
|
-
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee https://biomejs.dev/linter/rules/no-secrets",
|
|
9863
|
+
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee <https://biomejs.dev/linter/rules/no-secrets>",
|
|
9747
9864
|
"anyOf": [
|
|
9748
9865
|
{ "$ref": "#/$defs/NoSecretsConfiguration" },
|
|
9749
9866
|
{ "type": "null" }
|
|
@@ -9841,7 +9958,7 @@
|
|
|
9841
9958
|
"type": "object",
|
|
9842
9959
|
"properties": {
|
|
9843
9960
|
"organizeImports": {
|
|
9844
|
-
"description": "Provides a code action to sort the imports and exports in the file using a built-in or custom order.\nSee https://biomejs.dev/assist/actions/organize-imports",
|
|
9961
|
+
"description": "Provides a code action to sort the imports and exports in the file using a built-in or custom order.\nSee <https://biomejs.dev/assist/actions/organize-imports>",
|
|
9845
9962
|
"anyOf": [
|
|
9846
9963
|
{ "$ref": "#/$defs/OrganizeImportsConfiguration" },
|
|
9847
9964
|
{ "type": "null" }
|
|
@@ -9852,21 +9969,21 @@
|
|
|
9852
9969
|
"type": ["boolean", "null"]
|
|
9853
9970
|
},
|
|
9854
9971
|
"useSortedAttributes": {
|
|
9855
|
-
"description": "Enforce attribute sorting in JSX elements.\nSee https://biomejs.dev/assist/actions/use-sorted-attributes",
|
|
9972
|
+
"description": "Enforce attribute sorting in JSX elements.\nSee <https://biomejs.dev/assist/actions/use-sorted-attributes>",
|
|
9856
9973
|
"anyOf": [
|
|
9857
9974
|
{ "$ref": "#/$defs/UseSortedAttributesConfiguration" },
|
|
9858
9975
|
{ "type": "null" }
|
|
9859
9976
|
]
|
|
9860
9977
|
},
|
|
9861
9978
|
"useSortedKeys": {
|
|
9862
|
-
"description": "Sort the keys of a JSON object in natural order.\nSee https://biomejs.dev/assist/actions/use-sorted-keys",
|
|
9979
|
+
"description": "Sort the keys of a JSON object in natural order.\nSee <https://biomejs.dev/assist/actions/use-sorted-keys>",
|
|
9863
9980
|
"anyOf": [
|
|
9864
9981
|
{ "$ref": "#/$defs/UseSortedKeysConfiguration" },
|
|
9865
9982
|
{ "type": "null" }
|
|
9866
9983
|
]
|
|
9867
9984
|
},
|
|
9868
9985
|
"useSortedProperties": {
|
|
9869
|
-
"description": "Enforce ordering of CSS properties and nested rules.\nSee https://biomejs.dev/assist/actions/use-sorted-properties",
|
|
9986
|
+
"description": "Enforce ordering of CSS properties and nested rules.\nSee <https://biomejs.dev/assist/actions/use-sorted-properties>",
|
|
9870
9987
|
"anyOf": [
|
|
9871
9988
|
{ "$ref": "#/$defs/UseSortedPropertiesConfiguration" },
|
|
9872
9989
|
{ "type": "null" }
|
|
@@ -9917,182 +10034,182 @@
|
|
|
9917
10034
|
"type": "object",
|
|
9918
10035
|
"properties": {
|
|
9919
10036
|
"noCommonJs": {
|
|
9920
|
-
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee https://biomejs.dev/linter/rules/no-common-js",
|
|
10037
|
+
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee <https://biomejs.dev/linter/rules/no-common-js>",
|
|
9921
10038
|
"anyOf": [
|
|
9922
10039
|
{ "$ref": "#/$defs/NoCommonJsConfiguration" },
|
|
9923
10040
|
{ "type": "null" }
|
|
9924
10041
|
]
|
|
9925
10042
|
},
|
|
9926
10043
|
"noDefaultExport": {
|
|
9927
|
-
"description": "Disallow default exports.\nSee https://biomejs.dev/linter/rules/no-default-export",
|
|
10044
|
+
"description": "Disallow default exports.\nSee <https://biomejs.dev/linter/rules/no-default-export>",
|
|
9928
10045
|
"anyOf": [
|
|
9929
10046
|
{ "$ref": "#/$defs/NoDefaultExportConfiguration" },
|
|
9930
10047
|
{ "type": "null" }
|
|
9931
10048
|
]
|
|
9932
10049
|
},
|
|
9933
10050
|
"noDescendingSpecificity": {
|
|
9934
|
-
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee https://biomejs.dev/linter/rules/no-descending-specificity",
|
|
10051
|
+
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee <https://biomejs.dev/linter/rules/no-descending-specificity>",
|
|
9935
10052
|
"anyOf": [
|
|
9936
10053
|
{ "$ref": "#/$defs/NoDescendingSpecificityConfiguration" },
|
|
9937
10054
|
{ "type": "null" }
|
|
9938
10055
|
]
|
|
9939
10056
|
},
|
|
9940
10057
|
"noDoneCallback": {
|
|
9941
|
-
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee https://biomejs.dev/linter/rules/no-done-callback",
|
|
10058
|
+
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee <https://biomejs.dev/linter/rules/no-done-callback>",
|
|
9942
10059
|
"anyOf": [
|
|
9943
10060
|
{ "$ref": "#/$defs/NoDoneCallbackConfiguration" },
|
|
9944
10061
|
{ "type": "null" }
|
|
9945
10062
|
]
|
|
9946
10063
|
},
|
|
9947
10064
|
"noEnum": {
|
|
9948
|
-
"description": "Disallow TypeScript enum.\nSee https://biomejs.dev/linter/rules/no-enum",
|
|
10065
|
+
"description": "Disallow TypeScript enum.\nSee <https://biomejs.dev/linter/rules/no-enum>",
|
|
9949
10066
|
"anyOf": [
|
|
9950
10067
|
{ "$ref": "#/$defs/NoEnumConfiguration" },
|
|
9951
10068
|
{ "type": "null" }
|
|
9952
10069
|
]
|
|
9953
10070
|
},
|
|
9954
10071
|
"noExportedImports": {
|
|
9955
|
-
"description": "Disallow exporting an imported variable.\nSee https://biomejs.dev/linter/rules/no-exported-imports",
|
|
10072
|
+
"description": "Disallow exporting an imported variable.\nSee <https://biomejs.dev/linter/rules/no-exported-imports>",
|
|
9956
10073
|
"anyOf": [
|
|
9957
10074
|
{ "$ref": "#/$defs/NoExportedImportsConfiguration" },
|
|
9958
10075
|
{ "type": "null" }
|
|
9959
10076
|
]
|
|
9960
10077
|
},
|
|
9961
10078
|
"noHeadElement": {
|
|
9962
|
-
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-head-element",
|
|
10079
|
+
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee <https://biomejs.dev/linter/rules/no-head-element>",
|
|
9963
10080
|
"anyOf": [
|
|
9964
10081
|
{ "$ref": "#/$defs/NoHeadElementConfiguration" },
|
|
9965
10082
|
{ "type": "null" }
|
|
9966
10083
|
]
|
|
9967
10084
|
},
|
|
9968
10085
|
"noImplicitBoolean": {
|
|
9969
|
-
"description": "Disallow implicit true values on JSX boolean attributes.\nSee https://biomejs.dev/linter/rules/no-implicit-boolean",
|
|
10086
|
+
"description": "Disallow implicit true values on JSX boolean attributes.\nSee <https://biomejs.dev/linter/rules/no-implicit-boolean>",
|
|
9970
10087
|
"anyOf": [
|
|
9971
10088
|
{ "$ref": "#/$defs/NoImplicitBooleanConfiguration" },
|
|
9972
10089
|
{ "type": "null" }
|
|
9973
10090
|
]
|
|
9974
10091
|
},
|
|
9975
10092
|
"noInferrableTypes": {
|
|
9976
|
-
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee https://biomejs.dev/linter/rules/no-inferrable-types",
|
|
10093
|
+
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee <https://biomejs.dev/linter/rules/no-inferrable-types>",
|
|
9977
10094
|
"anyOf": [
|
|
9978
10095
|
{ "$ref": "#/$defs/NoInferrableTypesConfiguration" },
|
|
9979
10096
|
{ "type": "null" }
|
|
9980
10097
|
]
|
|
9981
10098
|
},
|
|
9982
10099
|
"noMagicNumbers": {
|
|
9983
|
-
"description": "Reports usage of \"magic numbers\" — numbers used directly instead of being assigned to named constants.\nSee https://biomejs.dev/linter/rules/no-magic-numbers",
|
|
10100
|
+
"description": "Reports usage of \"magic numbers\" — numbers used directly instead of being assigned to named constants.\nSee <https://biomejs.dev/linter/rules/no-magic-numbers>",
|
|
9984
10101
|
"anyOf": [
|
|
9985
10102
|
{ "$ref": "#/$defs/NoMagicNumbersConfiguration" },
|
|
9986
10103
|
{ "type": "null" }
|
|
9987
10104
|
]
|
|
9988
10105
|
},
|
|
9989
10106
|
"noNamespace": {
|
|
9990
|
-
"description": "Disallow the use of TypeScript's namespaces.\nSee https://biomejs.dev/linter/rules/no-namespace",
|
|
10107
|
+
"description": "Disallow the use of TypeScript's namespaces.\nSee <https://biomejs.dev/linter/rules/no-namespace>",
|
|
9991
10108
|
"anyOf": [
|
|
9992
10109
|
{ "$ref": "#/$defs/NoNamespaceConfiguration" },
|
|
9993
10110
|
{ "type": "null" }
|
|
9994
10111
|
]
|
|
9995
10112
|
},
|
|
9996
10113
|
"noNegationElse": {
|
|
9997
|
-
"description": "Disallow negation in the condition of an if statement if it has an else clause.\nSee https://biomejs.dev/linter/rules/no-negation-else",
|
|
10114
|
+
"description": "Disallow negation in the condition of an if statement if it has an else clause.\nSee <https://biomejs.dev/linter/rules/no-negation-else>",
|
|
9998
10115
|
"anyOf": [
|
|
9999
10116
|
{ "$ref": "#/$defs/NoNegationElseConfiguration" },
|
|
10000
10117
|
{ "type": "null" }
|
|
10001
10118
|
]
|
|
10002
10119
|
},
|
|
10003
10120
|
"noNestedTernary": {
|
|
10004
|
-
"description": "Disallow nested ternary expressions.\nSee https://biomejs.dev/linter/rules/no-nested-ternary",
|
|
10121
|
+
"description": "Disallow nested ternary expressions.\nSee <https://biomejs.dev/linter/rules/no-nested-ternary>",
|
|
10005
10122
|
"anyOf": [
|
|
10006
10123
|
{ "$ref": "#/$defs/NoNestedTernaryConfiguration" },
|
|
10007
10124
|
{ "type": "null" }
|
|
10008
10125
|
]
|
|
10009
10126
|
},
|
|
10010
10127
|
"noNonNullAssertion": {
|
|
10011
|
-
"description": "Disallow non-null assertions using the ! postfix operator.\nSee https://biomejs.dev/linter/rules/no-non-null-assertion",
|
|
10128
|
+
"description": "Disallow non-null assertions using the ! postfix operator.\nSee <https://biomejs.dev/linter/rules/no-non-null-assertion>",
|
|
10012
10129
|
"anyOf": [
|
|
10013
10130
|
{ "$ref": "#/$defs/NoNonNullAssertionConfiguration" },
|
|
10014
10131
|
{ "type": "null" }
|
|
10015
10132
|
]
|
|
10016
10133
|
},
|
|
10017
10134
|
"noParameterAssign": {
|
|
10018
|
-
"description": "Disallow reassigning function parameters.\nSee https://biomejs.dev/linter/rules/no-parameter-assign",
|
|
10135
|
+
"description": "Disallow reassigning function parameters.\nSee <https://biomejs.dev/linter/rules/no-parameter-assign>",
|
|
10019
10136
|
"anyOf": [
|
|
10020
10137
|
{ "$ref": "#/$defs/NoParameterAssignConfiguration" },
|
|
10021
10138
|
{ "type": "null" }
|
|
10022
10139
|
]
|
|
10023
10140
|
},
|
|
10024
10141
|
"noParameterProperties": {
|
|
10025
|
-
"description": "Disallow the use of parameter properties in class constructors.\nSee https://biomejs.dev/linter/rules/no-parameter-properties",
|
|
10142
|
+
"description": "Disallow the use of parameter properties in class constructors.\nSee <https://biomejs.dev/linter/rules/no-parameter-properties>",
|
|
10026
10143
|
"anyOf": [
|
|
10027
10144
|
{ "$ref": "#/$defs/NoParameterPropertiesConfiguration" },
|
|
10028
10145
|
{ "type": "null" }
|
|
10029
10146
|
]
|
|
10030
10147
|
},
|
|
10031
10148
|
"noProcessEnv": {
|
|
10032
|
-
"description": "Disallow the use of process.env.\nSee https://biomejs.dev/linter/rules/no-process-env",
|
|
10149
|
+
"description": "Disallow the use of process.env.\nSee <https://biomejs.dev/linter/rules/no-process-env>",
|
|
10033
10150
|
"anyOf": [
|
|
10034
10151
|
{ "$ref": "#/$defs/NoProcessEnvConfiguration" },
|
|
10035
10152
|
{ "type": "null" }
|
|
10036
10153
|
]
|
|
10037
10154
|
},
|
|
10038
10155
|
"noRestrictedGlobals": {
|
|
10039
|
-
"description": "This rule allows you to specify global variable names that you don’t want to use in your application.\nSee https://biomejs.dev/linter/rules/no-restricted-globals",
|
|
10156
|
+
"description": "This rule allows you to specify global variable names that you don’t want to use in your application.\nSee <https://biomejs.dev/linter/rules/no-restricted-globals>",
|
|
10040
10157
|
"anyOf": [
|
|
10041
10158
|
{ "$ref": "#/$defs/NoRestrictedGlobalsConfiguration" },
|
|
10042
10159
|
{ "type": "null" }
|
|
10043
10160
|
]
|
|
10044
10161
|
},
|
|
10045
10162
|
"noRestrictedImports": {
|
|
10046
|
-
"description": "Disallow specified modules when loaded by import or require.\nSee https://biomejs.dev/linter/rules/no-restricted-imports",
|
|
10163
|
+
"description": "Disallow specified modules when loaded by import or require.\nSee <https://biomejs.dev/linter/rules/no-restricted-imports>",
|
|
10047
10164
|
"anyOf": [
|
|
10048
10165
|
{ "$ref": "#/$defs/NoRestrictedImportsConfiguration" },
|
|
10049
10166
|
{ "type": "null" }
|
|
10050
10167
|
]
|
|
10051
10168
|
},
|
|
10052
10169
|
"noRestrictedTypes": {
|
|
10053
|
-
"description": "Disallow user defined types.\nSee https://biomejs.dev/linter/rules/no-restricted-types",
|
|
10170
|
+
"description": "Disallow user defined types.\nSee <https://biomejs.dev/linter/rules/no-restricted-types>",
|
|
10054
10171
|
"anyOf": [
|
|
10055
10172
|
{ "$ref": "#/$defs/NoRestrictedTypesConfiguration" },
|
|
10056
10173
|
{ "type": "null" }
|
|
10057
10174
|
]
|
|
10058
10175
|
},
|
|
10059
10176
|
"noShoutyConstants": {
|
|
10060
|
-
"description": "Disallow the use of constants which its value is the upper-case version of its name.\nSee https://biomejs.dev/linter/rules/no-shouty-constants",
|
|
10177
|
+
"description": "Disallow the use of constants which its value is the upper-case version of its name.\nSee <https://biomejs.dev/linter/rules/no-shouty-constants>",
|
|
10061
10178
|
"anyOf": [
|
|
10062
10179
|
{ "$ref": "#/$defs/NoShoutyConstantsConfiguration" },
|
|
10063
10180
|
{ "type": "null" }
|
|
10064
10181
|
]
|
|
10065
10182
|
},
|
|
10066
10183
|
"noSubstr": {
|
|
10067
|
-
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee https://biomejs.dev/linter/rules/no-substr",
|
|
10184
|
+
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee <https://biomejs.dev/linter/rules/no-substr>",
|
|
10068
10185
|
"anyOf": [
|
|
10069
10186
|
{ "$ref": "#/$defs/NoSubstrConfiguration" },
|
|
10070
10187
|
{ "type": "null" }
|
|
10071
10188
|
]
|
|
10072
10189
|
},
|
|
10073
10190
|
"noUnusedTemplateLiteral": {
|
|
10074
|
-
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee https://biomejs.dev/linter/rules/no-unused-template-literal",
|
|
10191
|
+
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee <https://biomejs.dev/linter/rules/no-unused-template-literal>",
|
|
10075
10192
|
"anyOf": [
|
|
10076
10193
|
{ "$ref": "#/$defs/NoUnusedTemplateLiteralConfiguration" },
|
|
10077
10194
|
{ "type": "null" }
|
|
10078
10195
|
]
|
|
10079
10196
|
},
|
|
10080
10197
|
"noUselessElse": {
|
|
10081
|
-
"description": "Disallow else block when the if block breaks early.\nSee https://biomejs.dev/linter/rules/no-useless-else",
|
|
10198
|
+
"description": "Disallow else block when the if block breaks early.\nSee <https://biomejs.dev/linter/rules/no-useless-else>",
|
|
10082
10199
|
"anyOf": [
|
|
10083
10200
|
{ "$ref": "#/$defs/NoUselessElseConfiguration" },
|
|
10084
10201
|
{ "type": "null" }
|
|
10085
10202
|
]
|
|
10086
10203
|
},
|
|
10087
10204
|
"noValueAtRule": {
|
|
10088
|
-
"description": "Disallow use of @value rule in css modules.\nSee https://biomejs.dev/linter/rules/no-value-at-rule",
|
|
10205
|
+
"description": "Disallow use of @value rule in css modules.\nSee <https://biomejs.dev/linter/rules/no-value-at-rule>",
|
|
10089
10206
|
"anyOf": [
|
|
10090
10207
|
{ "$ref": "#/$defs/NoValueAtRuleConfiguration" },
|
|
10091
10208
|
{ "type": "null" }
|
|
10092
10209
|
]
|
|
10093
10210
|
},
|
|
10094
10211
|
"noYodaExpression": {
|
|
10095
|
-
"description": "Disallow the use of yoda expressions.\nSee https://biomejs.dev/linter/rules/no-yoda-expression",
|
|
10212
|
+
"description": "Disallow the use of yoda expressions.\nSee <https://biomejs.dev/linter/rules/no-yoda-expression>",
|
|
10096
10213
|
"anyOf": [
|
|
10097
10214
|
{ "$ref": "#/$defs/NoYodaExpressionConfiguration" },
|
|
10098
10215
|
{ "type": "null" }
|
|
@@ -10103,63 +10220,63 @@
|
|
|
10103
10220
|
"type": ["boolean", "null"]
|
|
10104
10221
|
},
|
|
10105
10222
|
"useArrayLiterals": {
|
|
10106
|
-
"description": "Disallow Array constructors.\nSee https://biomejs.dev/linter/rules/use-array-literals",
|
|
10223
|
+
"description": "Disallow Array constructors.\nSee <https://biomejs.dev/linter/rules/use-array-literals>",
|
|
10107
10224
|
"anyOf": [
|
|
10108
10225
|
{ "$ref": "#/$defs/UseArrayLiteralsConfiguration" },
|
|
10109
10226
|
{ "type": "null" }
|
|
10110
10227
|
]
|
|
10111
10228
|
},
|
|
10112
10229
|
"useAsConstAssertion": {
|
|
10113
|
-
"description": "Enforce the use of as const over literal type and type annotation.\nSee https://biomejs.dev/linter/rules/use-as-const-assertion",
|
|
10230
|
+
"description": "Enforce the use of as const over literal type and type annotation.\nSee <https://biomejs.dev/linter/rules/use-as-const-assertion>",
|
|
10114
10231
|
"anyOf": [
|
|
10115
10232
|
{ "$ref": "#/$defs/UseAsConstAssertionConfiguration" },
|
|
10116
10233
|
{ "type": "null" }
|
|
10117
10234
|
]
|
|
10118
10235
|
},
|
|
10119
10236
|
"useAtIndex": {
|
|
10120
|
-
"description": "Use at() instead of integer index access.\nSee https://biomejs.dev/linter/rules/use-at-index",
|
|
10237
|
+
"description": "Use at() instead of integer index access.\nSee <https://biomejs.dev/linter/rules/use-at-index>",
|
|
10121
10238
|
"anyOf": [
|
|
10122
10239
|
{ "$ref": "#/$defs/UseAtIndexConfiguration" },
|
|
10123
10240
|
{ "type": "null" }
|
|
10124
10241
|
]
|
|
10125
10242
|
},
|
|
10126
10243
|
"useBlockStatements": {
|
|
10127
|
-
"description": "Requires following curly brace conventions.\nSee https://biomejs.dev/linter/rules/use-block-statements",
|
|
10244
|
+
"description": "Requires following curly brace conventions.\nSee <https://biomejs.dev/linter/rules/use-block-statements>",
|
|
10128
10245
|
"anyOf": [
|
|
10129
10246
|
{ "$ref": "#/$defs/UseBlockStatementsConfiguration" },
|
|
10130
10247
|
{ "type": "null" }
|
|
10131
10248
|
]
|
|
10132
10249
|
},
|
|
10133
10250
|
"useCollapsedElseIf": {
|
|
10134
|
-
"description": "Enforce using else if instead of nested if in else clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-else-if",
|
|
10251
|
+
"description": "Enforce using else if instead of nested if in else clauses.\nSee <https://biomejs.dev/linter/rules/use-collapsed-else-if>",
|
|
10135
10252
|
"anyOf": [
|
|
10136
10253
|
{ "$ref": "#/$defs/UseCollapsedElseIfConfiguration" },
|
|
10137
10254
|
{ "type": "null" }
|
|
10138
10255
|
]
|
|
10139
10256
|
},
|
|
10140
10257
|
"useCollapsedIf": {
|
|
10141
|
-
"description": "Enforce using single if instead of nested if clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-if",
|
|
10258
|
+
"description": "Enforce using single if instead of nested if clauses.\nSee <https://biomejs.dev/linter/rules/use-collapsed-if>",
|
|
10142
10259
|
"anyOf": [
|
|
10143
10260
|
{ "$ref": "#/$defs/UseCollapsedIfConfiguration" },
|
|
10144
10261
|
{ "type": "null" }
|
|
10145
10262
|
]
|
|
10146
10263
|
},
|
|
10147
10264
|
"useComponentExportOnlyModules": {
|
|
10148
|
-
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee https://biomejs.dev/linter/rules/use-component-export-only-modules",
|
|
10265
|
+
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee <https://biomejs.dev/linter/rules/use-component-export-only-modules>",
|
|
10149
10266
|
"anyOf": [
|
|
10150
10267
|
{ "$ref": "#/$defs/UseComponentExportOnlyModulesConfiguration" },
|
|
10151
10268
|
{ "type": "null" }
|
|
10152
10269
|
]
|
|
10153
10270
|
},
|
|
10154
10271
|
"useConsistentArrayType": {
|
|
10155
|
-
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee https://biomejs.dev/linter/rules/use-consistent-array-type",
|
|
10272
|
+
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee <https://biomejs.dev/linter/rules/use-consistent-array-type>",
|
|
10156
10273
|
"anyOf": [
|
|
10157
10274
|
{ "$ref": "#/$defs/UseConsistentArrayTypeConfiguration" },
|
|
10158
10275
|
{ "type": "null" }
|
|
10159
10276
|
]
|
|
10160
10277
|
},
|
|
10161
10278
|
"useConsistentBuiltinInstantiation": {
|
|
10162
|
-
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation",
|
|
10279
|
+
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee <https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation>",
|
|
10163
10280
|
"anyOf": [
|
|
10164
10281
|
{
|
|
10165
10282
|
"$ref": "#/$defs/UseConsistentBuiltinInstantiationConfiguration"
|
|
@@ -10168,266 +10285,266 @@
|
|
|
10168
10285
|
]
|
|
10169
10286
|
},
|
|
10170
10287
|
"useConsistentCurlyBraces": {
|
|
10171
|
-
"description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.\nSee https://biomejs.dev/linter/rules/use-consistent-curly-braces",
|
|
10288
|
+
"description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.\nSee <https://biomejs.dev/linter/rules/use-consistent-curly-braces>",
|
|
10172
10289
|
"anyOf": [
|
|
10173
10290
|
{ "$ref": "#/$defs/UseConsistentCurlyBracesConfiguration" },
|
|
10174
10291
|
{ "type": "null" }
|
|
10175
10292
|
]
|
|
10176
10293
|
},
|
|
10177
10294
|
"useConsistentMemberAccessibility": {
|
|
10178
|
-
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee https://biomejs.dev/linter/rules/use-consistent-member-accessibility",
|
|
10295
|
+
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee <https://biomejs.dev/linter/rules/use-consistent-member-accessibility>",
|
|
10179
10296
|
"anyOf": [
|
|
10180
10297
|
{ "$ref": "#/$defs/UseConsistentMemberAccessibilityConfiguration" },
|
|
10181
10298
|
{ "type": "null" }
|
|
10182
10299
|
]
|
|
10183
10300
|
},
|
|
10184
10301
|
"useConsistentObjectDefinitions": {
|
|
10185
|
-
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee https://biomejs.dev/linter/rules/use-consistent-object-definitions",
|
|
10302
|
+
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee <https://biomejs.dev/linter/rules/use-consistent-object-definitions>",
|
|
10186
10303
|
"anyOf": [
|
|
10187
10304
|
{ "$ref": "#/$defs/UseConsistentObjectDefinitionsConfiguration" },
|
|
10188
10305
|
{ "type": "null" }
|
|
10189
10306
|
]
|
|
10190
10307
|
},
|
|
10191
10308
|
"useConsistentTypeDefinitions": {
|
|
10192
|
-
"description": "Enforce type definitions to consistently use either interface or type.\nSee https://biomejs.dev/linter/rules/use-consistent-type-definitions",
|
|
10309
|
+
"description": "Enforce type definitions to consistently use either interface or type.\nSee <https://biomejs.dev/linter/rules/use-consistent-type-definitions>",
|
|
10193
10310
|
"anyOf": [
|
|
10194
10311
|
{ "$ref": "#/$defs/UseConsistentTypeDefinitionsConfiguration" },
|
|
10195
10312
|
{ "type": "null" }
|
|
10196
10313
|
]
|
|
10197
10314
|
},
|
|
10198
10315
|
"useConst": {
|
|
10199
|
-
"description": "Require const declarations for variables that are only assigned once.\nSee https://biomejs.dev/linter/rules/use-const",
|
|
10316
|
+
"description": "Require const declarations for variables that are only assigned once.\nSee <https://biomejs.dev/linter/rules/use-const>",
|
|
10200
10317
|
"anyOf": [
|
|
10201
10318
|
{ "$ref": "#/$defs/UseConstConfiguration" },
|
|
10202
10319
|
{ "type": "null" }
|
|
10203
10320
|
]
|
|
10204
10321
|
},
|
|
10205
10322
|
"useDefaultParameterLast": {
|
|
10206
|
-
"description": "Enforce default function parameters and optional function parameters to be last.\nSee https://biomejs.dev/linter/rules/use-default-parameter-last",
|
|
10323
|
+
"description": "Enforce default function parameters and optional function parameters to be last.\nSee <https://biomejs.dev/linter/rules/use-default-parameter-last>",
|
|
10207
10324
|
"anyOf": [
|
|
10208
10325
|
{ "$ref": "#/$defs/UseDefaultParameterLastConfiguration" },
|
|
10209
10326
|
{ "type": "null" }
|
|
10210
10327
|
]
|
|
10211
10328
|
},
|
|
10212
10329
|
"useDefaultSwitchClause": {
|
|
10213
|
-
"description": "Require the default clause in switch statements.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause",
|
|
10330
|
+
"description": "Require the default clause in switch statements.\nSee <https://biomejs.dev/linter/rules/use-default-switch-clause>",
|
|
10214
10331
|
"anyOf": [
|
|
10215
10332
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseConfiguration" },
|
|
10216
10333
|
{ "type": "null" }
|
|
10217
10334
|
]
|
|
10218
10335
|
},
|
|
10219
10336
|
"useDeprecatedReason": {
|
|
10220
|
-
"description": "Require specifying the reason argument when using @deprecated directive.\nSee https://biomejs.dev/linter/rules/use-deprecated-reason",
|
|
10337
|
+
"description": "Require specifying the reason argument when using @deprecated directive.\nSee <https://biomejs.dev/linter/rules/use-deprecated-reason>",
|
|
10221
10338
|
"anyOf": [
|
|
10222
10339
|
{ "$ref": "#/$defs/UseDeprecatedReasonConfiguration" },
|
|
10223
10340
|
{ "type": "null" }
|
|
10224
10341
|
]
|
|
10225
10342
|
},
|
|
10226
10343
|
"useEnumInitializers": {
|
|
10227
|
-
"description": "Require that each enum member value be explicitly initialized.\nSee https://biomejs.dev/linter/rules/use-enum-initializers",
|
|
10344
|
+
"description": "Require that each enum member value be explicitly initialized.\nSee <https://biomejs.dev/linter/rules/use-enum-initializers>",
|
|
10228
10345
|
"anyOf": [
|
|
10229
10346
|
{ "$ref": "#/$defs/UseEnumInitializersConfiguration" },
|
|
10230
10347
|
{ "type": "null" }
|
|
10231
10348
|
]
|
|
10232
10349
|
},
|
|
10233
10350
|
"useExplicitLengthCheck": {
|
|
10234
|
-
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee https://biomejs.dev/linter/rules/use-explicit-length-check",
|
|
10351
|
+
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee <https://biomejs.dev/linter/rules/use-explicit-length-check>",
|
|
10235
10352
|
"anyOf": [
|
|
10236
10353
|
{ "$ref": "#/$defs/UseExplicitLengthCheckConfiguration" },
|
|
10237
10354
|
{ "type": "null" }
|
|
10238
10355
|
]
|
|
10239
10356
|
},
|
|
10240
10357
|
"useExponentiationOperator": {
|
|
10241
|
-
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee https://biomejs.dev/linter/rules/use-exponentiation-operator",
|
|
10358
|
+
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee <https://biomejs.dev/linter/rules/use-exponentiation-operator>",
|
|
10242
10359
|
"anyOf": [
|
|
10243
10360
|
{ "$ref": "#/$defs/UseExponentiationOperatorConfiguration" },
|
|
10244
10361
|
{ "type": "null" }
|
|
10245
10362
|
]
|
|
10246
10363
|
},
|
|
10247
10364
|
"useExportType": {
|
|
10248
|
-
"description": "Promotes the use of export type for types.\nSee https://biomejs.dev/linter/rules/use-export-type",
|
|
10365
|
+
"description": "Promotes the use of export type for types.\nSee <https://biomejs.dev/linter/rules/use-export-type>",
|
|
10249
10366
|
"anyOf": [
|
|
10250
10367
|
{ "$ref": "#/$defs/UseExportTypeConfiguration" },
|
|
10251
10368
|
{ "type": "null" }
|
|
10252
10369
|
]
|
|
10253
10370
|
},
|
|
10254
10371
|
"useExportsLast": {
|
|
10255
|
-
"description": "Require that all exports are declared after all non-export statements.\nSee https://biomejs.dev/linter/rules/use-exports-last",
|
|
10372
|
+
"description": "Require that all exports are declared after all non-export statements.\nSee <https://biomejs.dev/linter/rules/use-exports-last>",
|
|
10256
10373
|
"anyOf": [
|
|
10257
10374
|
{ "$ref": "#/$defs/UseExportsLastConfiguration" },
|
|
10258
10375
|
{ "type": "null" }
|
|
10259
10376
|
]
|
|
10260
10377
|
},
|
|
10261
10378
|
"useFilenamingConvention": {
|
|
10262
|
-
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee https://biomejs.dev/linter/rules/use-filenaming-convention",
|
|
10379
|
+
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee <https://biomejs.dev/linter/rules/use-filenaming-convention>",
|
|
10263
10380
|
"anyOf": [
|
|
10264
10381
|
{ "$ref": "#/$defs/UseFilenamingConventionConfiguration" },
|
|
10265
10382
|
{ "type": "null" }
|
|
10266
10383
|
]
|
|
10267
10384
|
},
|
|
10268
10385
|
"useForOf": {
|
|
10269
|
-
"description": "Prefer using for...of loops over standard for loops where possible.\nSee https://biomejs.dev/linter/rules/use-for-of",
|
|
10386
|
+
"description": "Prefer using for...of loops over standard for loops where possible.\nSee <https://biomejs.dev/linter/rules/use-for-of>",
|
|
10270
10387
|
"anyOf": [
|
|
10271
10388
|
{ "$ref": "#/$defs/UseForOfConfiguration" },
|
|
10272
10389
|
{ "type": "null" }
|
|
10273
10390
|
]
|
|
10274
10391
|
},
|
|
10275
10392
|
"useFragmentSyntax": {
|
|
10276
|
-
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee https://biomejs.dev/linter/rules/use-fragment-syntax",
|
|
10393
|
+
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee <https://biomejs.dev/linter/rules/use-fragment-syntax>",
|
|
10277
10394
|
"anyOf": [
|
|
10278
10395
|
{ "$ref": "#/$defs/UseFragmentSyntaxConfiguration" },
|
|
10279
10396
|
{ "type": "null" }
|
|
10280
10397
|
]
|
|
10281
10398
|
},
|
|
10282
10399
|
"useGraphqlNamingConvention": {
|
|
10283
|
-
"description": "Validates that all enum values are capitalized.\nSee https://biomejs.dev/linter/rules/use-graphql-naming-convention",
|
|
10400
|
+
"description": "Validates that all enum values are capitalized.\nSee <https://biomejs.dev/linter/rules/use-graphql-naming-convention>",
|
|
10284
10401
|
"anyOf": [
|
|
10285
10402
|
{ "$ref": "#/$defs/UseGraphqlNamingConventionConfiguration" },
|
|
10286
10403
|
{ "type": "null" }
|
|
10287
10404
|
]
|
|
10288
10405
|
},
|
|
10289
10406
|
"useGroupedAccessorPairs": {
|
|
10290
|
-
"description": "Enforce that getters and setters for the same property are adjacent in class and object definitions.\nSee https://biomejs.dev/linter/rules/use-grouped-accessor-pairs",
|
|
10407
|
+
"description": "Enforce that getters and setters for the same property are adjacent in class and object definitions.\nSee <https://biomejs.dev/linter/rules/use-grouped-accessor-pairs>",
|
|
10291
10408
|
"anyOf": [
|
|
10292
10409
|
{ "$ref": "#/$defs/UseGroupedAccessorPairsConfiguration" },
|
|
10293
10410
|
{ "type": "null" }
|
|
10294
10411
|
]
|
|
10295
10412
|
},
|
|
10296
10413
|
"useImportType": {
|
|
10297
|
-
"description": "Promotes the use of import type for types.\nSee https://biomejs.dev/linter/rules/use-import-type",
|
|
10414
|
+
"description": "Promotes the use of import type for types.\nSee <https://biomejs.dev/linter/rules/use-import-type>",
|
|
10298
10415
|
"anyOf": [
|
|
10299
10416
|
{ "$ref": "#/$defs/UseImportTypeConfiguration" },
|
|
10300
10417
|
{ "type": "null" }
|
|
10301
10418
|
]
|
|
10302
10419
|
},
|
|
10303
10420
|
"useLiteralEnumMembers": {
|
|
10304
|
-
"description": "Require all enum members to be literal values.\nSee https://biomejs.dev/linter/rules/use-literal-enum-members",
|
|
10421
|
+
"description": "Require all enum members to be literal values.\nSee <https://biomejs.dev/linter/rules/use-literal-enum-members>",
|
|
10305
10422
|
"anyOf": [
|
|
10306
10423
|
{ "$ref": "#/$defs/UseLiteralEnumMembersConfiguration" },
|
|
10307
10424
|
{ "type": "null" }
|
|
10308
10425
|
]
|
|
10309
10426
|
},
|
|
10310
10427
|
"useNamingConvention": {
|
|
10311
|
-
"description": "Enforce naming conventions for everything across a codebase.\nSee https://biomejs.dev/linter/rules/use-naming-convention",
|
|
10428
|
+
"description": "Enforce naming conventions for everything across a codebase.\nSee <https://biomejs.dev/linter/rules/use-naming-convention>",
|
|
10312
10429
|
"anyOf": [
|
|
10313
10430
|
{ "$ref": "#/$defs/UseNamingConventionConfiguration" },
|
|
10314
10431
|
{ "type": "null" }
|
|
10315
10432
|
]
|
|
10316
10433
|
},
|
|
10317
10434
|
"useNodeAssertStrict": {
|
|
10318
|
-
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee https://biomejs.dev/linter/rules/use-node-assert-strict",
|
|
10435
|
+
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee <https://biomejs.dev/linter/rules/use-node-assert-strict>",
|
|
10319
10436
|
"anyOf": [
|
|
10320
10437
|
{ "$ref": "#/$defs/UseNodeAssertStrictConfiguration" },
|
|
10321
10438
|
{ "type": "null" }
|
|
10322
10439
|
]
|
|
10323
10440
|
},
|
|
10324
10441
|
"useNodejsImportProtocol": {
|
|
10325
|
-
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee https://biomejs.dev/linter/rules/use-nodejs-import-protocol",
|
|
10442
|
+
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee <https://biomejs.dev/linter/rules/use-nodejs-import-protocol>",
|
|
10326
10443
|
"anyOf": [
|
|
10327
10444
|
{ "$ref": "#/$defs/UseNodejsImportProtocolConfiguration" },
|
|
10328
10445
|
{ "type": "null" }
|
|
10329
10446
|
]
|
|
10330
10447
|
},
|
|
10331
10448
|
"useNumberNamespace": {
|
|
10332
|
-
"description": "Use the Number properties instead of global ones.\nSee https://biomejs.dev/linter/rules/use-number-namespace",
|
|
10449
|
+
"description": "Use the Number properties instead of global ones.\nSee <https://biomejs.dev/linter/rules/use-number-namespace>",
|
|
10333
10450
|
"anyOf": [
|
|
10334
10451
|
{ "$ref": "#/$defs/UseNumberNamespaceConfiguration" },
|
|
10335
10452
|
{ "type": "null" }
|
|
10336
10453
|
]
|
|
10337
10454
|
},
|
|
10338
10455
|
"useNumericSeparators": {
|
|
10339
|
-
"description": "Enforce the use of numeric separators in numeric literals.\nSee https://biomejs.dev/linter/rules/use-numeric-separators",
|
|
10456
|
+
"description": "Enforce the use of numeric separators in numeric literals.\nSee <https://biomejs.dev/linter/rules/use-numeric-separators>",
|
|
10340
10457
|
"anyOf": [
|
|
10341
10458
|
{ "$ref": "#/$defs/UseNumericSeparatorsConfiguration" },
|
|
10342
10459
|
{ "type": "null" }
|
|
10343
10460
|
]
|
|
10344
10461
|
},
|
|
10345
10462
|
"useObjectSpread": {
|
|
10346
|
-
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee https://biomejs.dev/linter/rules/use-object-spread",
|
|
10463
|
+
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee <https://biomejs.dev/linter/rules/use-object-spread>",
|
|
10347
10464
|
"anyOf": [
|
|
10348
10465
|
{ "$ref": "#/$defs/UseObjectSpreadConfiguration" },
|
|
10349
10466
|
{ "type": "null" }
|
|
10350
10467
|
]
|
|
10351
10468
|
},
|
|
10352
10469
|
"useReactFunctionComponents": {
|
|
10353
|
-
"description": "Enforce that components are defined as functions and never as classes.\nSee https://biomejs.dev/linter/rules/use-react-function-components",
|
|
10470
|
+
"description": "Enforce that components are defined as functions and never as classes.\nSee <https://biomejs.dev/linter/rules/use-react-function-components>",
|
|
10354
10471
|
"anyOf": [
|
|
10355
10472
|
{ "$ref": "#/$defs/UseReactFunctionComponentsConfiguration" },
|
|
10356
10473
|
{ "type": "null" }
|
|
10357
10474
|
]
|
|
10358
10475
|
},
|
|
10359
10476
|
"useReadonlyClassProperties": {
|
|
10360
|
-
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee https://biomejs.dev/linter/rules/use-readonly-class-properties",
|
|
10477
|
+
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee <https://biomejs.dev/linter/rules/use-readonly-class-properties>",
|
|
10361
10478
|
"anyOf": [
|
|
10362
10479
|
{ "$ref": "#/$defs/UseReadonlyClassPropertiesConfiguration" },
|
|
10363
10480
|
{ "type": "null" }
|
|
10364
10481
|
]
|
|
10365
10482
|
},
|
|
10366
10483
|
"useSelfClosingElements": {
|
|
10367
|
-
"description": "Prevent extra closing tags for components without children.\nSee https://biomejs.dev/linter/rules/use-self-closing-elements",
|
|
10484
|
+
"description": "Prevent extra closing tags for components without children.\nSee <https://biomejs.dev/linter/rules/use-self-closing-elements>",
|
|
10368
10485
|
"anyOf": [
|
|
10369
10486
|
{ "$ref": "#/$defs/UseSelfClosingElementsConfiguration" },
|
|
10370
10487
|
{ "type": "null" }
|
|
10371
10488
|
]
|
|
10372
10489
|
},
|
|
10373
10490
|
"useShorthandAssign": {
|
|
10374
|
-
"description": "Require assignment operator shorthand where possible.\nSee https://biomejs.dev/linter/rules/use-shorthand-assign",
|
|
10491
|
+
"description": "Require assignment operator shorthand where possible.\nSee <https://biomejs.dev/linter/rules/use-shorthand-assign>",
|
|
10375
10492
|
"anyOf": [
|
|
10376
10493
|
{ "$ref": "#/$defs/UseShorthandAssignConfiguration" },
|
|
10377
10494
|
{ "type": "null" }
|
|
10378
10495
|
]
|
|
10379
10496
|
},
|
|
10380
10497
|
"useShorthandFunctionType": {
|
|
10381
|
-
"description": "Enforce using function types instead of object type with call signatures.\nSee https://biomejs.dev/linter/rules/use-shorthand-function-type",
|
|
10498
|
+
"description": "Enforce using function types instead of object type with call signatures.\nSee <https://biomejs.dev/linter/rules/use-shorthand-function-type>",
|
|
10382
10499
|
"anyOf": [
|
|
10383
10500
|
{ "$ref": "#/$defs/UseShorthandFunctionTypeConfiguration" },
|
|
10384
10501
|
{ "type": "null" }
|
|
10385
10502
|
]
|
|
10386
10503
|
},
|
|
10387
10504
|
"useSingleVarDeclarator": {
|
|
10388
|
-
"description": "Disallow multiple variable declarations in the same variable statement.\nSee https://biomejs.dev/linter/rules/use-single-var-declarator",
|
|
10505
|
+
"description": "Disallow multiple variable declarations in the same variable statement.\nSee <https://biomejs.dev/linter/rules/use-single-var-declarator>",
|
|
10389
10506
|
"anyOf": [
|
|
10390
10507
|
{ "$ref": "#/$defs/UseSingleVarDeclaratorConfiguration" },
|
|
10391
10508
|
{ "type": "null" }
|
|
10392
10509
|
]
|
|
10393
10510
|
},
|
|
10394
10511
|
"useSymbolDescription": {
|
|
10395
|
-
"description": "Require a description parameter for the Symbol().\nSee https://biomejs.dev/linter/rules/use-symbol-description",
|
|
10512
|
+
"description": "Require a description parameter for the Symbol().\nSee <https://biomejs.dev/linter/rules/use-symbol-description>",
|
|
10396
10513
|
"anyOf": [
|
|
10397
10514
|
{ "$ref": "#/$defs/UseSymbolDescriptionConfiguration" },
|
|
10398
10515
|
{ "type": "null" }
|
|
10399
10516
|
]
|
|
10400
10517
|
},
|
|
10401
10518
|
"useTemplate": {
|
|
10402
|
-
"description": "Prefer template literals over string concatenation.\nSee https://biomejs.dev/linter/rules/use-template",
|
|
10519
|
+
"description": "Prefer template literals over string concatenation.\nSee <https://biomejs.dev/linter/rules/use-template>",
|
|
10403
10520
|
"anyOf": [
|
|
10404
10521
|
{ "$ref": "#/$defs/UseTemplateConfiguration" },
|
|
10405
10522
|
{ "type": "null" }
|
|
10406
10523
|
]
|
|
10407
10524
|
},
|
|
10408
10525
|
"useThrowNewError": {
|
|
10409
|
-
"description": "Require new when throwing an error.\nSee https://biomejs.dev/linter/rules/use-throw-new-error",
|
|
10526
|
+
"description": "Require new when throwing an error.\nSee <https://biomejs.dev/linter/rules/use-throw-new-error>",
|
|
10410
10527
|
"anyOf": [
|
|
10411
10528
|
{ "$ref": "#/$defs/UseThrowNewErrorConfiguration" },
|
|
10412
10529
|
{ "type": "null" }
|
|
10413
10530
|
]
|
|
10414
10531
|
},
|
|
10415
10532
|
"useThrowOnlyError": {
|
|
10416
|
-
"description": "Disallow throwing non-Error values.\nSee https://biomejs.dev/linter/rules/use-throw-only-error",
|
|
10533
|
+
"description": "Disallow throwing non-Error values.\nSee <https://biomejs.dev/linter/rules/use-throw-only-error>",
|
|
10417
10534
|
"anyOf": [
|
|
10418
10535
|
{ "$ref": "#/$defs/UseThrowOnlyErrorConfiguration" },
|
|
10419
10536
|
{ "type": "null" }
|
|
10420
10537
|
]
|
|
10421
10538
|
},
|
|
10422
10539
|
"useTrimStartEnd": {
|
|
10423
|
-
"description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().\nSee https://biomejs.dev/linter/rules/use-trim-start-end",
|
|
10540
|
+
"description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().\nSee <https://biomejs.dev/linter/rules/use-trim-start-end>",
|
|
10424
10541
|
"anyOf": [
|
|
10425
10542
|
{ "$ref": "#/$defs/UseTrimStartEndConfiguration" },
|
|
10426
10543
|
{ "type": "null" }
|
|
10427
10544
|
]
|
|
10428
10545
|
},
|
|
10429
10546
|
"useUnifiedTypeSignatures": {
|
|
10430
|
-
"description": "Disallow overload signatures that can be unified into a single signature.\nSee https://biomejs.dev/linter/rules/use-unified-type-signatures",
|
|
10547
|
+
"description": "Disallow overload signatures that can be unified into a single signature.\nSee <https://biomejs.dev/linter/rules/use-unified-type-signatures>",
|
|
10431
10548
|
"anyOf": [
|
|
10432
10549
|
{ "$ref": "#/$defs/UseUnifiedTypeSignaturesConfiguration" },
|
|
10433
10550
|
{ "type": "null" }
|
|
@@ -10441,231 +10558,231 @@
|
|
|
10441
10558
|
"type": "object",
|
|
10442
10559
|
"properties": {
|
|
10443
10560
|
"noAlert": {
|
|
10444
|
-
"description": "Disallow the use of alert, confirm, and prompt.\nSee https://biomejs.dev/linter/rules/no-alert",
|
|
10561
|
+
"description": "Disallow the use of alert, confirm, and prompt.\nSee <https://biomejs.dev/linter/rules/no-alert>",
|
|
10445
10562
|
"anyOf": [
|
|
10446
10563
|
{ "$ref": "#/$defs/NoAlertConfiguration" },
|
|
10447
10564
|
{ "type": "null" }
|
|
10448
10565
|
]
|
|
10449
10566
|
},
|
|
10450
10567
|
"noApproximativeNumericConstant": {
|
|
10451
|
-
"description": "Use standard constants instead of approximated literals.\nSee https://biomejs.dev/linter/rules/no-approximative-numeric-constant",
|
|
10568
|
+
"description": "Use standard constants instead of approximated literals.\nSee <https://biomejs.dev/linter/rules/no-approximative-numeric-constant>",
|
|
10452
10569
|
"anyOf": [
|
|
10453
10570
|
{ "$ref": "#/$defs/NoApproximativeNumericConstantConfiguration" },
|
|
10454
10571
|
{ "type": "null" }
|
|
10455
10572
|
]
|
|
10456
10573
|
},
|
|
10457
10574
|
"noArrayIndexKey": {
|
|
10458
|
-
"description": "Discourage the usage of Array index in keys.\nSee https://biomejs.dev/linter/rules/no-array-index-key",
|
|
10575
|
+
"description": "Discourage the usage of Array index in keys.\nSee <https://biomejs.dev/linter/rules/no-array-index-key>",
|
|
10459
10576
|
"anyOf": [
|
|
10460
10577
|
{ "$ref": "#/$defs/NoArrayIndexKeyConfiguration" },
|
|
10461
10578
|
{ "type": "null" }
|
|
10462
10579
|
]
|
|
10463
10580
|
},
|
|
10464
10581
|
"noAssignInExpressions": {
|
|
10465
|
-
"description": "Disallow assignments in expressions.\nSee https://biomejs.dev/linter/rules/no-assign-in-expressions",
|
|
10582
|
+
"description": "Disallow assignments in expressions.\nSee <https://biomejs.dev/linter/rules/no-assign-in-expressions>",
|
|
10466
10583
|
"anyOf": [
|
|
10467
10584
|
{ "$ref": "#/$defs/NoAssignInExpressionsConfiguration" },
|
|
10468
10585
|
{ "type": "null" }
|
|
10469
10586
|
]
|
|
10470
10587
|
},
|
|
10471
10588
|
"noAsyncPromiseExecutor": {
|
|
10472
|
-
"description": "Disallows using an async function as a Promise executor.\nSee https://biomejs.dev/linter/rules/no-async-promise-executor",
|
|
10589
|
+
"description": "Disallows using an async function as a Promise executor.\nSee <https://biomejs.dev/linter/rules/no-async-promise-executor>",
|
|
10473
10590
|
"anyOf": [
|
|
10474
10591
|
{ "$ref": "#/$defs/NoAsyncPromiseExecutorConfiguration" },
|
|
10475
10592
|
{ "type": "null" }
|
|
10476
10593
|
]
|
|
10477
10594
|
},
|
|
10478
10595
|
"noBiomeFirstException": {
|
|
10479
|
-
"description": "Prevents the
|
|
10596
|
+
"description": "Prevents the misuse of glob patterns inside the files.includes field.\nSee <https://biomejs.dev/linter/rules/no-biome-first-exception>",
|
|
10480
10597
|
"anyOf": [
|
|
10481
10598
|
{ "$ref": "#/$defs/NoBiomeFirstExceptionConfiguration" },
|
|
10482
10599
|
{ "type": "null" }
|
|
10483
10600
|
]
|
|
10484
10601
|
},
|
|
10485
10602
|
"noBitwiseOperators": {
|
|
10486
|
-
"description": "Disallow bitwise operators.\nSee https://biomejs.dev/linter/rules/no-bitwise-operators",
|
|
10603
|
+
"description": "Disallow bitwise operators.\nSee <https://biomejs.dev/linter/rules/no-bitwise-operators>",
|
|
10487
10604
|
"anyOf": [
|
|
10488
10605
|
{ "$ref": "#/$defs/NoBitwiseOperatorsConfiguration" },
|
|
10489
10606
|
{ "type": "null" }
|
|
10490
10607
|
]
|
|
10491
10608
|
},
|
|
10492
10609
|
"noCatchAssign": {
|
|
10493
|
-
"description": "Disallow reassigning exceptions in catch clauses.\nSee https://biomejs.dev/linter/rules/no-catch-assign",
|
|
10610
|
+
"description": "Disallow reassigning exceptions in catch clauses.\nSee <https://biomejs.dev/linter/rules/no-catch-assign>",
|
|
10494
10611
|
"anyOf": [
|
|
10495
10612
|
{ "$ref": "#/$defs/NoCatchAssignConfiguration" },
|
|
10496
10613
|
{ "type": "null" }
|
|
10497
10614
|
]
|
|
10498
10615
|
},
|
|
10499
10616
|
"noClassAssign": {
|
|
10500
|
-
"description": "Disallow reassigning class members.\nSee https://biomejs.dev/linter/rules/no-class-assign",
|
|
10617
|
+
"description": "Disallow reassigning class members.\nSee <https://biomejs.dev/linter/rules/no-class-assign>",
|
|
10501
10618
|
"anyOf": [
|
|
10502
10619
|
{ "$ref": "#/$defs/NoClassAssignConfiguration" },
|
|
10503
10620
|
{ "type": "null" }
|
|
10504
10621
|
]
|
|
10505
10622
|
},
|
|
10506
10623
|
"noCommentText": {
|
|
10507
|
-
"description": "Prevent comments from being inserted as text nodes.\nSee https://biomejs.dev/linter/rules/no-comment-text",
|
|
10624
|
+
"description": "Prevent comments from being inserted as text nodes.\nSee <https://biomejs.dev/linter/rules/no-comment-text>",
|
|
10508
10625
|
"anyOf": [
|
|
10509
10626
|
{ "$ref": "#/$defs/NoCommentTextConfiguration" },
|
|
10510
10627
|
{ "type": "null" }
|
|
10511
10628
|
]
|
|
10512
10629
|
},
|
|
10513
10630
|
"noCompareNegZero": {
|
|
10514
|
-
"description": "Disallow comparing against -0.\nSee https://biomejs.dev/linter/rules/no-compare-neg-zero",
|
|
10631
|
+
"description": "Disallow comparing against -0.\nSee <https://biomejs.dev/linter/rules/no-compare-neg-zero>",
|
|
10515
10632
|
"anyOf": [
|
|
10516
10633
|
{ "$ref": "#/$defs/NoCompareNegZeroConfiguration" },
|
|
10517
10634
|
{ "type": "null" }
|
|
10518
10635
|
]
|
|
10519
10636
|
},
|
|
10520
10637
|
"noConfusingLabels": {
|
|
10521
|
-
"description": "Disallow labeled statements that are not loops.\nSee https://biomejs.dev/linter/rules/no-confusing-labels",
|
|
10638
|
+
"description": "Disallow labeled statements that are not loops.\nSee <https://biomejs.dev/linter/rules/no-confusing-labels>",
|
|
10522
10639
|
"anyOf": [
|
|
10523
10640
|
{ "$ref": "#/$defs/NoConfusingLabelsConfiguration" },
|
|
10524
10641
|
{ "type": "null" }
|
|
10525
10642
|
]
|
|
10526
10643
|
},
|
|
10527
10644
|
"noConfusingVoidType": {
|
|
10528
|
-
"description": "Disallow void type outside of generic or return types.\nSee https://biomejs.dev/linter/rules/no-confusing-void-type",
|
|
10645
|
+
"description": "Disallow void type outside of generic or return types.\nSee <https://biomejs.dev/linter/rules/no-confusing-void-type>",
|
|
10529
10646
|
"anyOf": [
|
|
10530
10647
|
{ "$ref": "#/$defs/NoConfusingVoidTypeConfiguration" },
|
|
10531
10648
|
{ "type": "null" }
|
|
10532
10649
|
]
|
|
10533
10650
|
},
|
|
10534
10651
|
"noConsole": {
|
|
10535
|
-
"description": "Disallow the use of console.\nSee https://biomejs.dev/linter/rules/no-console",
|
|
10652
|
+
"description": "Disallow the use of console.\nSee <https://biomejs.dev/linter/rules/no-console>",
|
|
10536
10653
|
"anyOf": [
|
|
10537
10654
|
{ "$ref": "#/$defs/NoConsoleConfiguration" },
|
|
10538
10655
|
{ "type": "null" }
|
|
10539
10656
|
]
|
|
10540
10657
|
},
|
|
10541
10658
|
"noConstEnum": {
|
|
10542
|
-
"description": "Disallow TypeScript const enum.\nSee https://biomejs.dev/linter/rules/no-const-enum",
|
|
10659
|
+
"description": "Disallow TypeScript const enum.\nSee <https://biomejs.dev/linter/rules/no-const-enum>",
|
|
10543
10660
|
"anyOf": [
|
|
10544
10661
|
{ "$ref": "#/$defs/NoConstEnumConfiguration" },
|
|
10545
10662
|
{ "type": "null" }
|
|
10546
10663
|
]
|
|
10547
10664
|
},
|
|
10548
10665
|
"noConstantBinaryExpressions": {
|
|
10549
|
-
"description": "Disallow expressions where the operation doesn't affect the value.\nSee https://biomejs.dev/linter/rules/no-constant-binary-expressions",
|
|
10666
|
+
"description": "Disallow expressions where the operation doesn't affect the value.\nSee <https://biomejs.dev/linter/rules/no-constant-binary-expressions>",
|
|
10550
10667
|
"anyOf": [
|
|
10551
10668
|
{ "$ref": "#/$defs/NoConstantBinaryExpressionsConfiguration" },
|
|
10552
10669
|
{ "type": "null" }
|
|
10553
10670
|
]
|
|
10554
10671
|
},
|
|
10555
10672
|
"noControlCharactersInRegex": {
|
|
10556
|
-
"description": "Prevents from having control characters and some escape sequences that match control characters in regular expression literals.\nSee https://biomejs.dev/linter/rules/no-control-characters-in-regex",
|
|
10673
|
+
"description": "Prevents from having control characters and some escape sequences that match control characters in regular expression literals.\nSee <https://biomejs.dev/linter/rules/no-control-characters-in-regex>",
|
|
10557
10674
|
"anyOf": [
|
|
10558
10675
|
{ "$ref": "#/$defs/NoControlCharactersInRegexConfiguration" },
|
|
10559
10676
|
{ "type": "null" }
|
|
10560
10677
|
]
|
|
10561
10678
|
},
|
|
10562
10679
|
"noDebugger": {
|
|
10563
|
-
"description": "Disallow the use of debugger.\nSee https://biomejs.dev/linter/rules/no-debugger",
|
|
10680
|
+
"description": "Disallow the use of debugger.\nSee <https://biomejs.dev/linter/rules/no-debugger>",
|
|
10564
10681
|
"anyOf": [
|
|
10565
10682
|
{ "$ref": "#/$defs/NoDebuggerConfiguration" },
|
|
10566
10683
|
{ "type": "null" }
|
|
10567
10684
|
]
|
|
10568
10685
|
},
|
|
10569
10686
|
"noDocumentCookie": {
|
|
10570
|
-
"description": "Disallow direct assignments to document.cookie.\nSee https://biomejs.dev/linter/rules/no-document-cookie",
|
|
10687
|
+
"description": "Disallow direct assignments to document.cookie.\nSee <https://biomejs.dev/linter/rules/no-document-cookie>",
|
|
10571
10688
|
"anyOf": [
|
|
10572
10689
|
{ "$ref": "#/$defs/NoDocumentCookieConfiguration" },
|
|
10573
10690
|
{ "type": "null" }
|
|
10574
10691
|
]
|
|
10575
10692
|
},
|
|
10576
10693
|
"noDocumentImportInPage": {
|
|
10577
|
-
"description": "Prevents importing next/document outside of pages/_document.jsx in Next.js projects.\nSee https://biomejs.dev/linter/rules/no-document-import-in-page",
|
|
10694
|
+
"description": "Prevents importing next/document outside of pages/_document.jsx in Next.js projects.\nSee <https://biomejs.dev/linter/rules/no-document-import-in-page>",
|
|
10578
10695
|
"anyOf": [
|
|
10579
10696
|
{ "$ref": "#/$defs/NoDocumentImportInPageConfiguration" },
|
|
10580
10697
|
{ "type": "null" }
|
|
10581
10698
|
]
|
|
10582
10699
|
},
|
|
10583
10700
|
"noDoubleEquals": {
|
|
10584
|
-
"description": "Require the use of === and !==.\nSee https://biomejs.dev/linter/rules/no-double-equals",
|
|
10701
|
+
"description": "Require the use of === and !==.\nSee <https://biomejs.dev/linter/rules/no-double-equals>",
|
|
10585
10702
|
"anyOf": [
|
|
10586
10703
|
{ "$ref": "#/$defs/NoDoubleEqualsConfiguration" },
|
|
10587
10704
|
{ "type": "null" }
|
|
10588
10705
|
]
|
|
10589
10706
|
},
|
|
10590
10707
|
"noDuplicateAtImportRules": {
|
|
10591
|
-
"description": "Disallow duplicate @import rules.\nSee https://biomejs.dev/linter/rules/no-duplicate-at-import-rules",
|
|
10708
|
+
"description": "Disallow duplicate @import rules.\nSee <https://biomejs.dev/linter/rules/no-duplicate-at-import-rules>",
|
|
10592
10709
|
"anyOf": [
|
|
10593
10710
|
{ "$ref": "#/$defs/NoDuplicateAtImportRulesConfiguration" },
|
|
10594
10711
|
{ "type": "null" }
|
|
10595
10712
|
]
|
|
10596
10713
|
},
|
|
10597
10714
|
"noDuplicateCase": {
|
|
10598
|
-
"description": "Disallow duplicate case labels.\nSee https://biomejs.dev/linter/rules/no-duplicate-case",
|
|
10715
|
+
"description": "Disallow duplicate case labels.\nSee <https://biomejs.dev/linter/rules/no-duplicate-case>",
|
|
10599
10716
|
"anyOf": [
|
|
10600
10717
|
{ "$ref": "#/$defs/NoDuplicateCaseConfiguration" },
|
|
10601
10718
|
{ "type": "null" }
|
|
10602
10719
|
]
|
|
10603
10720
|
},
|
|
10604
10721
|
"noDuplicateClassMembers": {
|
|
10605
|
-
"description": "Disallow duplicate class members.\nSee https://biomejs.dev/linter/rules/no-duplicate-class-members",
|
|
10722
|
+
"description": "Disallow duplicate class members.\nSee <https://biomejs.dev/linter/rules/no-duplicate-class-members>",
|
|
10606
10723
|
"anyOf": [
|
|
10607
10724
|
{ "$ref": "#/$defs/NoDuplicateClassMembersConfiguration" },
|
|
10608
10725
|
{ "type": "null" }
|
|
10609
10726
|
]
|
|
10610
10727
|
},
|
|
10611
10728
|
"noDuplicateCustomProperties": {
|
|
10612
|
-
"description": "Disallow duplicate custom properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-custom-properties",
|
|
10729
|
+
"description": "Disallow duplicate custom properties within declaration blocks.\nSee <https://biomejs.dev/linter/rules/no-duplicate-custom-properties>",
|
|
10613
10730
|
"anyOf": [
|
|
10614
10731
|
{ "$ref": "#/$defs/NoDuplicateCustomPropertiesConfiguration" },
|
|
10615
10732
|
{ "type": "null" }
|
|
10616
10733
|
]
|
|
10617
10734
|
},
|
|
10618
10735
|
"noDuplicateElseIf": {
|
|
10619
|
-
"description": "Disallow duplicate conditions in if-else-if chains.\nSee https://biomejs.dev/linter/rules/no-duplicate-else-if",
|
|
10736
|
+
"description": "Disallow duplicate conditions in if-else-if chains.\nSee <https://biomejs.dev/linter/rules/no-duplicate-else-if>",
|
|
10620
10737
|
"anyOf": [
|
|
10621
10738
|
{ "$ref": "#/$defs/NoDuplicateElseIfConfiguration" },
|
|
10622
10739
|
{ "type": "null" }
|
|
10623
10740
|
]
|
|
10624
10741
|
},
|
|
10625
10742
|
"noDuplicateFields": {
|
|
10626
|
-
"description": "No duplicated fields in GraphQL operations.\nSee https://biomejs.dev/linter/rules/no-duplicate-fields",
|
|
10743
|
+
"description": "No duplicated fields in GraphQL operations.\nSee <https://biomejs.dev/linter/rules/no-duplicate-fields>",
|
|
10627
10744
|
"anyOf": [
|
|
10628
10745
|
{ "$ref": "#/$defs/NoDuplicateFieldsConfiguration" },
|
|
10629
10746
|
{ "type": "null" }
|
|
10630
10747
|
]
|
|
10631
10748
|
},
|
|
10632
10749
|
"noDuplicateFontNames": {
|
|
10633
|
-
"description": "Disallow duplicate names within font families.\nSee https://biomejs.dev/linter/rules/no-duplicate-font-names",
|
|
10750
|
+
"description": "Disallow duplicate names within font families.\nSee <https://biomejs.dev/linter/rules/no-duplicate-font-names>",
|
|
10634
10751
|
"anyOf": [
|
|
10635
10752
|
{ "$ref": "#/$defs/NoDuplicateFontNamesConfiguration" },
|
|
10636
10753
|
{ "type": "null" }
|
|
10637
10754
|
]
|
|
10638
10755
|
},
|
|
10639
10756
|
"noDuplicateJsxProps": {
|
|
10640
|
-
"description": "Prevents JSX properties to be assigned multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicate-jsx-props",
|
|
10757
|
+
"description": "Prevents JSX properties to be assigned multiple times.\nSee <https://biomejs.dev/linter/rules/no-duplicate-jsx-props>",
|
|
10641
10758
|
"anyOf": [
|
|
10642
10759
|
{ "$ref": "#/$defs/NoDuplicateJsxPropsConfiguration" },
|
|
10643
10760
|
{ "type": "null" }
|
|
10644
10761
|
]
|
|
10645
10762
|
},
|
|
10646
10763
|
"noDuplicateObjectKeys": {
|
|
10647
|
-
"description": "Disallow two keys with the same name inside objects.\nSee https://biomejs.dev/linter/rules/no-duplicate-object-keys",
|
|
10764
|
+
"description": "Disallow two keys with the same name inside objects.\nSee <https://biomejs.dev/linter/rules/no-duplicate-object-keys>",
|
|
10648
10765
|
"anyOf": [
|
|
10649
10766
|
{ "$ref": "#/$defs/NoDuplicateObjectKeysConfiguration" },
|
|
10650
10767
|
{ "type": "null" }
|
|
10651
10768
|
]
|
|
10652
10769
|
},
|
|
10653
10770
|
"noDuplicateParameters": {
|
|
10654
|
-
"description": "Disallow duplicate function parameter name.\nSee https://biomejs.dev/linter/rules/no-duplicate-parameters",
|
|
10771
|
+
"description": "Disallow duplicate function parameter name.\nSee <https://biomejs.dev/linter/rules/no-duplicate-parameters>",
|
|
10655
10772
|
"anyOf": [
|
|
10656
10773
|
{ "$ref": "#/$defs/NoDuplicateParametersConfiguration" },
|
|
10657
10774
|
{ "type": "null" }
|
|
10658
10775
|
]
|
|
10659
10776
|
},
|
|
10660
10777
|
"noDuplicateProperties": {
|
|
10661
|
-
"description": "Disallow duplicate properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-properties",
|
|
10778
|
+
"description": "Disallow duplicate properties within declaration blocks.\nSee <https://biomejs.dev/linter/rules/no-duplicate-properties>",
|
|
10662
10779
|
"anyOf": [
|
|
10663
10780
|
{ "$ref": "#/$defs/NoDuplicatePropertiesConfiguration" },
|
|
10664
10781
|
{ "type": "null" }
|
|
10665
10782
|
]
|
|
10666
10783
|
},
|
|
10667
10784
|
"noDuplicateSelectorsKeyframeBlock": {
|
|
10668
|
-
"description": "Disallow duplicate selectors within keyframe blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block",
|
|
10785
|
+
"description": "Disallow duplicate selectors within keyframe blocks.\nSee <https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block>",
|
|
10669
10786
|
"anyOf": [
|
|
10670
10787
|
{
|
|
10671
10788
|
"$ref": "#/$defs/NoDuplicateSelectorsKeyframeBlockConfiguration"
|
|
@@ -10674,336 +10791,336 @@
|
|
|
10674
10791
|
]
|
|
10675
10792
|
},
|
|
10676
10793
|
"noDuplicateTestHooks": {
|
|
10677
|
-
"description": "A describe block should not contain duplicate hooks.\nSee https://biomejs.dev/linter/rules/no-duplicate-test-hooks",
|
|
10794
|
+
"description": "A describe block should not contain duplicate hooks.\nSee <https://biomejs.dev/linter/rules/no-duplicate-test-hooks>",
|
|
10678
10795
|
"anyOf": [
|
|
10679
10796
|
{ "$ref": "#/$defs/NoDuplicateTestHooksConfiguration" },
|
|
10680
10797
|
{ "type": "null" }
|
|
10681
10798
|
]
|
|
10682
10799
|
},
|
|
10683
10800
|
"noEmptyBlock": {
|
|
10684
|
-
"description": "Disallow CSS empty blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block",
|
|
10801
|
+
"description": "Disallow CSS empty blocks.\nSee <https://biomejs.dev/linter/rules/no-empty-block>",
|
|
10685
10802
|
"anyOf": [
|
|
10686
10803
|
{ "$ref": "#/$defs/NoEmptyBlockConfiguration" },
|
|
10687
10804
|
{ "type": "null" }
|
|
10688
10805
|
]
|
|
10689
10806
|
},
|
|
10690
10807
|
"noEmptyBlockStatements": {
|
|
10691
|
-
"description": "Disallow empty block statements and static blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block-statements",
|
|
10808
|
+
"description": "Disallow empty block statements and static blocks.\nSee <https://biomejs.dev/linter/rules/no-empty-block-statements>",
|
|
10692
10809
|
"anyOf": [
|
|
10693
10810
|
{ "$ref": "#/$defs/NoEmptyBlockStatementsConfiguration" },
|
|
10694
10811
|
{ "type": "null" }
|
|
10695
10812
|
]
|
|
10696
10813
|
},
|
|
10697
10814
|
"noEmptyInterface": {
|
|
10698
|
-
"description": "Disallow the declaration of empty interfaces.\nSee https://biomejs.dev/linter/rules/no-empty-interface",
|
|
10815
|
+
"description": "Disallow the declaration of empty interfaces.\nSee <https://biomejs.dev/linter/rules/no-empty-interface>",
|
|
10699
10816
|
"anyOf": [
|
|
10700
10817
|
{ "$ref": "#/$defs/NoEmptyInterfaceConfiguration" },
|
|
10701
10818
|
{ "type": "null" }
|
|
10702
10819
|
]
|
|
10703
10820
|
},
|
|
10704
10821
|
"noEvolvingTypes": {
|
|
10705
|
-
"description": "Disallow variables from evolving into any type through reassignments.\nSee https://biomejs.dev/linter/rules/no-evolving-types",
|
|
10822
|
+
"description": "Disallow variables from evolving into any type through reassignments.\nSee <https://biomejs.dev/linter/rules/no-evolving-types>",
|
|
10706
10823
|
"anyOf": [
|
|
10707
10824
|
{ "$ref": "#/$defs/NoEvolvingTypesConfiguration" },
|
|
10708
10825
|
{ "type": "null" }
|
|
10709
10826
|
]
|
|
10710
10827
|
},
|
|
10711
10828
|
"noExplicitAny": {
|
|
10712
|
-
"description": "Disallow the any type usage.\nSee https://biomejs.dev/linter/rules/no-explicit-any",
|
|
10829
|
+
"description": "Disallow the any type usage.\nSee <https://biomejs.dev/linter/rules/no-explicit-any>",
|
|
10713
10830
|
"anyOf": [
|
|
10714
10831
|
{ "$ref": "#/$defs/NoExplicitAnyConfiguration" },
|
|
10715
10832
|
{ "type": "null" }
|
|
10716
10833
|
]
|
|
10717
10834
|
},
|
|
10718
10835
|
"noExportsInTest": {
|
|
10719
|
-
"description": "Disallow using export or module.exports in files containing tests.\nSee https://biomejs.dev/linter/rules/no-exports-in-test",
|
|
10836
|
+
"description": "Disallow using export or module.exports in files containing tests.\nSee <https://biomejs.dev/linter/rules/no-exports-in-test>",
|
|
10720
10837
|
"anyOf": [
|
|
10721
10838
|
{ "$ref": "#/$defs/NoExportsInTestConfiguration" },
|
|
10722
10839
|
{ "type": "null" }
|
|
10723
10840
|
]
|
|
10724
10841
|
},
|
|
10725
10842
|
"noExtraNonNullAssertion": {
|
|
10726
|
-
"description": "Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.\nSee https://biomejs.dev/linter/rules/no-extra-non-null-assertion",
|
|
10843
|
+
"description": "Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.\nSee <https://biomejs.dev/linter/rules/no-extra-non-null-assertion>",
|
|
10727
10844
|
"anyOf": [
|
|
10728
10845
|
{ "$ref": "#/$defs/NoExtraNonNullAssertionConfiguration" },
|
|
10729
10846
|
{ "type": "null" }
|
|
10730
10847
|
]
|
|
10731
10848
|
},
|
|
10732
10849
|
"noFallthroughSwitchClause": {
|
|
10733
|
-
"description": "Disallow fallthrough of switch clauses.\nSee https://biomejs.dev/linter/rules/no-fallthrough-switch-clause",
|
|
10850
|
+
"description": "Disallow fallthrough of switch clauses.\nSee <https://biomejs.dev/linter/rules/no-fallthrough-switch-clause>",
|
|
10734
10851
|
"anyOf": [
|
|
10735
10852
|
{ "$ref": "#/$defs/NoFallthroughSwitchClauseConfiguration" },
|
|
10736
10853
|
{ "type": "null" }
|
|
10737
10854
|
]
|
|
10738
10855
|
},
|
|
10739
10856
|
"noFocusedTests": {
|
|
10740
|
-
"description": "Disallow focused tests.\nSee https://biomejs.dev/linter/rules/no-focused-tests",
|
|
10857
|
+
"description": "Disallow focused tests.\nSee <https://biomejs.dev/linter/rules/no-focused-tests>",
|
|
10741
10858
|
"anyOf": [
|
|
10742
10859
|
{ "$ref": "#/$defs/NoFocusedTestsConfiguration" },
|
|
10743
10860
|
{ "type": "null" }
|
|
10744
10861
|
]
|
|
10745
10862
|
},
|
|
10746
10863
|
"noFunctionAssign": {
|
|
10747
|
-
"description": "Disallow reassigning function declarations.\nSee https://biomejs.dev/linter/rules/no-function-assign",
|
|
10864
|
+
"description": "Disallow reassigning function declarations.\nSee <https://biomejs.dev/linter/rules/no-function-assign>",
|
|
10748
10865
|
"anyOf": [
|
|
10749
10866
|
{ "$ref": "#/$defs/NoFunctionAssignConfiguration" },
|
|
10750
10867
|
{ "type": "null" }
|
|
10751
10868
|
]
|
|
10752
10869
|
},
|
|
10753
10870
|
"noGlobalAssign": {
|
|
10754
|
-
"description": "Disallow assignments to native objects and read-only global variables.\nSee https://biomejs.dev/linter/rules/no-global-assign",
|
|
10871
|
+
"description": "Disallow assignments to native objects and read-only global variables.\nSee <https://biomejs.dev/linter/rules/no-global-assign>",
|
|
10755
10872
|
"anyOf": [
|
|
10756
10873
|
{ "$ref": "#/$defs/NoGlobalAssignConfiguration" },
|
|
10757
10874
|
{ "type": "null" }
|
|
10758
10875
|
]
|
|
10759
10876
|
},
|
|
10760
10877
|
"noGlobalIsFinite": {
|
|
10761
|
-
"description": "Use Number.isFinite instead of global isFinite.\nSee https://biomejs.dev/linter/rules/no-global-is-finite",
|
|
10878
|
+
"description": "Use Number.isFinite instead of global isFinite.\nSee <https://biomejs.dev/linter/rules/no-global-is-finite>",
|
|
10762
10879
|
"anyOf": [
|
|
10763
10880
|
{ "$ref": "#/$defs/NoGlobalIsFiniteConfiguration" },
|
|
10764
10881
|
{ "type": "null" }
|
|
10765
10882
|
]
|
|
10766
10883
|
},
|
|
10767
10884
|
"noGlobalIsNan": {
|
|
10768
|
-
"description": "Use Number.isNaN instead of global isNaN.\nSee https://biomejs.dev/linter/rules/no-global-is-nan",
|
|
10885
|
+
"description": "Use Number.isNaN instead of global isNaN.\nSee <https://biomejs.dev/linter/rules/no-global-is-nan>",
|
|
10769
10886
|
"anyOf": [
|
|
10770
10887
|
{ "$ref": "#/$defs/NoGlobalIsNanConfiguration" },
|
|
10771
10888
|
{ "type": "null" }
|
|
10772
10889
|
]
|
|
10773
10890
|
},
|
|
10774
10891
|
"noHeadImportInDocument": {
|
|
10775
|
-
"description": "Prevent using the next/head module in pages/_document.js on Next.js projects.\nSee https://biomejs.dev/linter/rules/no-head-import-in-document",
|
|
10892
|
+
"description": "Prevent using the next/head module in pages/_document.js on Next.js projects.\nSee <https://biomejs.dev/linter/rules/no-head-import-in-document>",
|
|
10776
10893
|
"anyOf": [
|
|
10777
10894
|
{ "$ref": "#/$defs/NoHeadImportInDocumentConfiguration" },
|
|
10778
10895
|
{ "type": "null" }
|
|
10779
10896
|
]
|
|
10780
10897
|
},
|
|
10781
10898
|
"noImplicitAnyLet": {
|
|
10782
|
-
"description": "Disallow use of implicit any type on variable declarations.\nSee https://biomejs.dev/linter/rules/no-implicit-any-let",
|
|
10899
|
+
"description": "Disallow use of implicit any type on variable declarations.\nSee <https://biomejs.dev/linter/rules/no-implicit-any-let>",
|
|
10783
10900
|
"anyOf": [
|
|
10784
10901
|
{ "$ref": "#/$defs/NoImplicitAnyLetConfiguration" },
|
|
10785
10902
|
{ "type": "null" }
|
|
10786
10903
|
]
|
|
10787
10904
|
},
|
|
10788
10905
|
"noImportAssign": {
|
|
10789
|
-
"description": "Disallow assigning to imported bindings.\nSee https://biomejs.dev/linter/rules/no-import-assign",
|
|
10906
|
+
"description": "Disallow assigning to imported bindings.\nSee <https://biomejs.dev/linter/rules/no-import-assign>",
|
|
10790
10907
|
"anyOf": [
|
|
10791
10908
|
{ "$ref": "#/$defs/NoImportAssignConfiguration" },
|
|
10792
10909
|
{ "type": "null" }
|
|
10793
10910
|
]
|
|
10794
10911
|
},
|
|
10795
10912
|
"noImportantInKeyframe": {
|
|
10796
|
-
"description": "Disallow invalid !important within keyframe declarations.\nSee https://biomejs.dev/linter/rules/no-important-in-keyframe",
|
|
10913
|
+
"description": "Disallow invalid !important within keyframe declarations.\nSee <https://biomejs.dev/linter/rules/no-important-in-keyframe>",
|
|
10797
10914
|
"anyOf": [
|
|
10798
10915
|
{ "$ref": "#/$defs/NoImportantInKeyframeConfiguration" },
|
|
10799
10916
|
{ "type": "null" }
|
|
10800
10917
|
]
|
|
10801
10918
|
},
|
|
10802
10919
|
"noIrregularWhitespace": {
|
|
10803
|
-
"description": "Disallows the use of irregular whitespace characters.\nSee https://biomejs.dev/linter/rules/no-irregular-whitespace",
|
|
10920
|
+
"description": "Disallows the use of irregular whitespace characters.\nSee <https://biomejs.dev/linter/rules/no-irregular-whitespace>",
|
|
10804
10921
|
"anyOf": [
|
|
10805
10922
|
{ "$ref": "#/$defs/NoIrregularWhitespaceConfiguration" },
|
|
10806
10923
|
{ "type": "null" }
|
|
10807
10924
|
]
|
|
10808
10925
|
},
|
|
10809
10926
|
"noLabelVar": {
|
|
10810
|
-
"description": "Disallow labels that share a name with a variable.\nSee https://biomejs.dev/linter/rules/no-label-var",
|
|
10927
|
+
"description": "Disallow labels that share a name with a variable.\nSee <https://biomejs.dev/linter/rules/no-label-var>",
|
|
10811
10928
|
"anyOf": [
|
|
10812
10929
|
{ "$ref": "#/$defs/NoLabelVarConfiguration" },
|
|
10813
10930
|
{ "type": "null" }
|
|
10814
10931
|
]
|
|
10815
10932
|
},
|
|
10816
10933
|
"noMisleadingCharacterClass": {
|
|
10817
|
-
"description": "Disallow characters made with multiple code points in character class syntax.\nSee https://biomejs.dev/linter/rules/no-misleading-character-class",
|
|
10934
|
+
"description": "Disallow characters made with multiple code points in character class syntax.\nSee <https://biomejs.dev/linter/rules/no-misleading-character-class>",
|
|
10818
10935
|
"anyOf": [
|
|
10819
10936
|
{ "$ref": "#/$defs/NoMisleadingCharacterClassConfiguration" },
|
|
10820
10937
|
{ "type": "null" }
|
|
10821
10938
|
]
|
|
10822
10939
|
},
|
|
10823
10940
|
"noMisleadingInstantiator": {
|
|
10824
|
-
"description": "Enforce proper usage of new and constructor.\nSee https://biomejs.dev/linter/rules/no-misleading-instantiator",
|
|
10941
|
+
"description": "Enforce proper usage of new and constructor.\nSee <https://biomejs.dev/linter/rules/no-misleading-instantiator>",
|
|
10825
10942
|
"anyOf": [
|
|
10826
10943
|
{ "$ref": "#/$defs/NoMisleadingInstantiatorConfiguration" },
|
|
10827
10944
|
{ "type": "null" }
|
|
10828
10945
|
]
|
|
10829
10946
|
},
|
|
10830
10947
|
"noMisplacedAssertion": {
|
|
10831
|
-
"description": "Checks that the assertion function, for example expect, is placed inside an it() function call.\nSee https://biomejs.dev/linter/rules/no-misplaced-assertion",
|
|
10948
|
+
"description": "Checks that the assertion function, for example expect, is placed inside an it() function call.\nSee <https://biomejs.dev/linter/rules/no-misplaced-assertion>",
|
|
10832
10949
|
"anyOf": [
|
|
10833
10950
|
{ "$ref": "#/$defs/NoMisplacedAssertionConfiguration" },
|
|
10834
10951
|
{ "type": "null" }
|
|
10835
10952
|
]
|
|
10836
10953
|
},
|
|
10837
10954
|
"noMisrefactoredShorthandAssign": {
|
|
10838
|
-
"description": "Disallow shorthand assign when variable appears on both sides.\nSee https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign",
|
|
10955
|
+
"description": "Disallow shorthand assign when variable appears on both sides.\nSee <https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign>",
|
|
10839
10956
|
"anyOf": [
|
|
10840
10957
|
{ "$ref": "#/$defs/NoMisrefactoredShorthandAssignConfiguration" },
|
|
10841
10958
|
{ "type": "null" }
|
|
10842
10959
|
]
|
|
10843
10960
|
},
|
|
10844
10961
|
"noNonNullAssertedOptionalChain": {
|
|
10845
|
-
"description": "Disallow non-null assertions after optional chaining expressions.\nSee https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain",
|
|
10962
|
+
"description": "Disallow non-null assertions after optional chaining expressions.\nSee <https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain>",
|
|
10846
10963
|
"anyOf": [
|
|
10847
10964
|
{ "$ref": "#/$defs/NoNonNullAssertedOptionalChainConfiguration" },
|
|
10848
10965
|
{ "type": "null" }
|
|
10849
10966
|
]
|
|
10850
10967
|
},
|
|
10851
10968
|
"noOctalEscape": {
|
|
10852
|
-
"description": "Disallow octal escape sequences in string literals.\nSee https://biomejs.dev/linter/rules/no-octal-escape",
|
|
10969
|
+
"description": "Disallow octal escape sequences in string literals.\nSee <https://biomejs.dev/linter/rules/no-octal-escape>",
|
|
10853
10970
|
"anyOf": [
|
|
10854
10971
|
{ "$ref": "#/$defs/NoOctalEscapeConfiguration" },
|
|
10855
10972
|
{ "type": "null" }
|
|
10856
10973
|
]
|
|
10857
10974
|
},
|
|
10858
10975
|
"noPrototypeBuiltins": {
|
|
10859
|
-
"description": "Disallow direct use of Object.prototype builtins.\nSee https://biomejs.dev/linter/rules/no-prototype-builtins",
|
|
10976
|
+
"description": "Disallow direct use of Object.prototype builtins.\nSee <https://biomejs.dev/linter/rules/no-prototype-builtins>",
|
|
10860
10977
|
"anyOf": [
|
|
10861
10978
|
{ "$ref": "#/$defs/NoPrototypeBuiltinsConfiguration" },
|
|
10862
10979
|
{ "type": "null" }
|
|
10863
10980
|
]
|
|
10864
10981
|
},
|
|
10865
10982
|
"noQuickfixBiome": {
|
|
10866
|
-
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee https://biomejs.dev/linter/rules/no-quickfix-biome",
|
|
10983
|
+
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee <https://biomejs.dev/linter/rules/no-quickfix-biome>",
|
|
10867
10984
|
"anyOf": [
|
|
10868
10985
|
{ "$ref": "#/$defs/NoQuickfixBiomeConfiguration" },
|
|
10869
10986
|
{ "type": "null" }
|
|
10870
10987
|
]
|
|
10871
10988
|
},
|
|
10872
10989
|
"noReactSpecificProps": {
|
|
10873
|
-
"description": "Prevents React-specific JSX properties from being used.\nSee https://biomejs.dev/linter/rules/no-react-specific-props",
|
|
10990
|
+
"description": "Prevents React-specific JSX properties from being used.\nSee <https://biomejs.dev/linter/rules/no-react-specific-props>",
|
|
10874
10991
|
"anyOf": [
|
|
10875
10992
|
{ "$ref": "#/$defs/NoReactSpecificPropsConfiguration" },
|
|
10876
10993
|
{ "type": "null" }
|
|
10877
10994
|
]
|
|
10878
10995
|
},
|
|
10879
10996
|
"noRedeclare": {
|
|
10880
|
-
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee https://biomejs.dev/linter/rules/no-redeclare",
|
|
10997
|
+
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee <https://biomejs.dev/linter/rules/no-redeclare>",
|
|
10881
10998
|
"anyOf": [
|
|
10882
10999
|
{ "$ref": "#/$defs/NoRedeclareConfiguration" },
|
|
10883
11000
|
{ "type": "null" }
|
|
10884
11001
|
]
|
|
10885
11002
|
},
|
|
10886
11003
|
"noRedundantUseStrict": {
|
|
10887
|
-
"description": "Prevents from having redundant \"use strict\".\nSee https://biomejs.dev/linter/rules/no-redundant-use-strict",
|
|
11004
|
+
"description": "Prevents from having redundant \"use strict\".\nSee <https://biomejs.dev/linter/rules/no-redundant-use-strict>",
|
|
10888
11005
|
"anyOf": [
|
|
10889
11006
|
{ "$ref": "#/$defs/NoRedundantUseStrictConfiguration" },
|
|
10890
11007
|
{ "type": "null" }
|
|
10891
11008
|
]
|
|
10892
11009
|
},
|
|
10893
11010
|
"noSelfCompare": {
|
|
10894
|
-
"description": "Disallow comparisons where both sides are exactly the same.\nSee https://biomejs.dev/linter/rules/no-self-compare",
|
|
11011
|
+
"description": "Disallow comparisons where both sides are exactly the same.\nSee <https://biomejs.dev/linter/rules/no-self-compare>",
|
|
10895
11012
|
"anyOf": [
|
|
10896
11013
|
{ "$ref": "#/$defs/NoSelfCompareConfiguration" },
|
|
10897
11014
|
{ "type": "null" }
|
|
10898
11015
|
]
|
|
10899
11016
|
},
|
|
10900
11017
|
"noShadowRestrictedNames": {
|
|
10901
|
-
"description": "Disallow identifiers from shadowing restricted names.\nSee https://biomejs.dev/linter/rules/no-shadow-restricted-names",
|
|
11018
|
+
"description": "Disallow identifiers from shadowing restricted names.\nSee <https://biomejs.dev/linter/rules/no-shadow-restricted-names>",
|
|
10902
11019
|
"anyOf": [
|
|
10903
11020
|
{ "$ref": "#/$defs/NoShadowRestrictedNamesConfiguration" },
|
|
10904
11021
|
{ "type": "null" }
|
|
10905
11022
|
]
|
|
10906
11023
|
},
|
|
10907
11024
|
"noShorthandPropertyOverrides": {
|
|
10908
|
-
"description": "Disallow shorthand properties that override related longhand properties.\nSee https://biomejs.dev/linter/rules/no-shorthand-property-overrides",
|
|
11025
|
+
"description": "Disallow shorthand properties that override related longhand properties.\nSee <https://biomejs.dev/linter/rules/no-shorthand-property-overrides>",
|
|
10909
11026
|
"anyOf": [
|
|
10910
11027
|
{ "$ref": "#/$defs/NoShorthandPropertyOverridesConfiguration" },
|
|
10911
11028
|
{ "type": "null" }
|
|
10912
11029
|
]
|
|
10913
11030
|
},
|
|
10914
11031
|
"noSkippedTests": {
|
|
10915
|
-
"description": "Disallow disabled tests.\nSee https://biomejs.dev/linter/rules/no-skipped-tests",
|
|
11032
|
+
"description": "Disallow disabled tests.\nSee <https://biomejs.dev/linter/rules/no-skipped-tests>",
|
|
10916
11033
|
"anyOf": [
|
|
10917
11034
|
{ "$ref": "#/$defs/NoSkippedTestsConfiguration" },
|
|
10918
11035
|
{ "type": "null" }
|
|
10919
11036
|
]
|
|
10920
11037
|
},
|
|
10921
11038
|
"noSparseArray": {
|
|
10922
|
-
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee https://biomejs.dev/linter/rules/no-sparse-array",
|
|
11039
|
+
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee <https://biomejs.dev/linter/rules/no-sparse-array>",
|
|
10923
11040
|
"anyOf": [
|
|
10924
11041
|
{ "$ref": "#/$defs/NoSparseArrayConfiguration" },
|
|
10925
11042
|
{ "type": "null" }
|
|
10926
11043
|
]
|
|
10927
11044
|
},
|
|
10928
11045
|
"noSuspiciousSemicolonInJsx": {
|
|
10929
|
-
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx",
|
|
11046
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee <https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx>",
|
|
10930
11047
|
"anyOf": [
|
|
10931
11048
|
{ "$ref": "#/$defs/NoSuspiciousSemicolonInJsxConfiguration" },
|
|
10932
11049
|
{ "type": "null" }
|
|
10933
11050
|
]
|
|
10934
11051
|
},
|
|
10935
11052
|
"noTemplateCurlyInString": {
|
|
10936
|
-
"description": "Disallow template literal placeholder syntax in regular strings.\nSee https://biomejs.dev/linter/rules/no-template-curly-in-string",
|
|
11053
|
+
"description": "Disallow template literal placeholder syntax in regular strings.\nSee <https://biomejs.dev/linter/rules/no-template-curly-in-string>",
|
|
10937
11054
|
"anyOf": [
|
|
10938
11055
|
{ "$ref": "#/$defs/NoTemplateCurlyInStringConfiguration" },
|
|
10939
11056
|
{ "type": "null" }
|
|
10940
11057
|
]
|
|
10941
11058
|
},
|
|
10942
11059
|
"noThenProperty": {
|
|
10943
|
-
"description": "Disallow then property.\nSee https://biomejs.dev/linter/rules/no-then-property",
|
|
11060
|
+
"description": "Disallow then property.\nSee <https://biomejs.dev/linter/rules/no-then-property>",
|
|
10944
11061
|
"anyOf": [
|
|
10945
11062
|
{ "$ref": "#/$defs/NoThenPropertyConfiguration" },
|
|
10946
11063
|
{ "type": "null" }
|
|
10947
11064
|
]
|
|
10948
11065
|
},
|
|
10949
11066
|
"noTsIgnore": {
|
|
10950
|
-
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee https://biomejs.dev/linter/rules/no-ts-ignore",
|
|
11067
|
+
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee <https://biomejs.dev/linter/rules/no-ts-ignore>",
|
|
10951
11068
|
"anyOf": [
|
|
10952
11069
|
{ "$ref": "#/$defs/NoTsIgnoreConfiguration" },
|
|
10953
11070
|
{ "type": "null" }
|
|
10954
11071
|
]
|
|
10955
11072
|
},
|
|
10956
11073
|
"noUnassignedVariables": {
|
|
10957
|
-
"description": "Disallow let or var variables that are read but never assigned.\nSee https://biomejs.dev/linter/rules/no-unassigned-variables",
|
|
11074
|
+
"description": "Disallow let or var variables that are read but never assigned.\nSee <https://biomejs.dev/linter/rules/no-unassigned-variables>",
|
|
10958
11075
|
"anyOf": [
|
|
10959
11076
|
{ "$ref": "#/$defs/NoUnassignedVariablesConfiguration" },
|
|
10960
11077
|
{ "type": "null" }
|
|
10961
11078
|
]
|
|
10962
11079
|
},
|
|
10963
11080
|
"noUnknownAtRules": {
|
|
10964
|
-
"description": "Disallow unknown at-rules.\nSee https://biomejs.dev/linter/rules/no-unknown-at-rules",
|
|
11081
|
+
"description": "Disallow unknown at-rules.\nSee <https://biomejs.dev/linter/rules/no-unknown-at-rules>",
|
|
10965
11082
|
"anyOf": [
|
|
10966
11083
|
{ "$ref": "#/$defs/NoUnknownAtRulesConfiguration" },
|
|
10967
11084
|
{ "type": "null" }
|
|
10968
11085
|
]
|
|
10969
11086
|
},
|
|
10970
11087
|
"noUnsafeDeclarationMerging": {
|
|
10971
|
-
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee https://biomejs.dev/linter/rules/no-unsafe-declaration-merging",
|
|
11088
|
+
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee <https://biomejs.dev/linter/rules/no-unsafe-declaration-merging>",
|
|
10972
11089
|
"anyOf": [
|
|
10973
11090
|
{ "$ref": "#/$defs/NoUnsafeDeclarationMergingConfiguration" },
|
|
10974
11091
|
{ "type": "null" }
|
|
10975
11092
|
]
|
|
10976
11093
|
},
|
|
10977
11094
|
"noUnsafeNegation": {
|
|
10978
|
-
"description": "Disallow using unsafe negation.\nSee https://biomejs.dev/linter/rules/no-unsafe-negation",
|
|
11095
|
+
"description": "Disallow using unsafe negation.\nSee <https://biomejs.dev/linter/rules/no-unsafe-negation>",
|
|
10979
11096
|
"anyOf": [
|
|
10980
11097
|
{ "$ref": "#/$defs/NoUnsafeNegationConfiguration" },
|
|
10981
11098
|
{ "type": "null" }
|
|
10982
11099
|
]
|
|
10983
11100
|
},
|
|
10984
11101
|
"noUselessEscapeInString": {
|
|
10985
|
-
"description": "Disallow unnecessary escapes in string literals.\nSee https://biomejs.dev/linter/rules/no-useless-escape-in-string",
|
|
11102
|
+
"description": "Disallow unnecessary escapes in string literals.\nSee <https://biomejs.dev/linter/rules/no-useless-escape-in-string>",
|
|
10986
11103
|
"anyOf": [
|
|
10987
11104
|
{ "$ref": "#/$defs/NoUselessEscapeInStringConfiguration" },
|
|
10988
11105
|
{ "type": "null" }
|
|
10989
11106
|
]
|
|
10990
11107
|
},
|
|
10991
11108
|
"noUselessRegexBackrefs": {
|
|
10992
|
-
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee https://biomejs.dev/linter/rules/no-useless-regex-backrefs",
|
|
11109
|
+
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee <https://biomejs.dev/linter/rules/no-useless-regex-backrefs>",
|
|
10993
11110
|
"anyOf": [
|
|
10994
11111
|
{ "$ref": "#/$defs/NoUselessRegexBackrefsConfiguration" },
|
|
10995
11112
|
{ "type": "null" }
|
|
10996
11113
|
]
|
|
10997
11114
|
},
|
|
10998
11115
|
"noVar": {
|
|
10999
|
-
"description": "Disallow the use of var.\nSee https://biomejs.dev/linter/rules/no-var",
|
|
11116
|
+
"description": "Disallow the use of var.\nSee <https://biomejs.dev/linter/rules/no-var>",
|
|
11000
11117
|
"anyOf": [
|
|
11001
11118
|
{ "$ref": "#/$defs/NoVarConfiguration" },
|
|
11002
11119
|
{ "type": "null" }
|
|
11003
11120
|
]
|
|
11004
11121
|
},
|
|
11005
11122
|
"noWith": {
|
|
11006
|
-
"description": "Disallow with statements in non-strict contexts.\nSee https://biomejs.dev/linter/rules/no-with",
|
|
11123
|
+
"description": "Disallow with statements in non-strict contexts.\nSee <https://biomejs.dev/linter/rules/no-with>",
|
|
11007
11124
|
"anyOf": [
|
|
11008
11125
|
{ "$ref": "#/$defs/NoWithConfiguration" },
|
|
11009
11126
|
{ "type": "null" }
|
|
@@ -11014,98 +11131,98 @@
|
|
|
11014
11131
|
"type": ["boolean", "null"]
|
|
11015
11132
|
},
|
|
11016
11133
|
"useAdjacentOverloadSignatures": {
|
|
11017
|
-
"description": "Disallow the use of overload signatures that are not next to each other.\nSee https://biomejs.dev/linter/rules/use-adjacent-overload-signatures",
|
|
11134
|
+
"description": "Disallow the use of overload signatures that are not next to each other.\nSee <https://biomejs.dev/linter/rules/use-adjacent-overload-signatures>",
|
|
11018
11135
|
"anyOf": [
|
|
11019
11136
|
{ "$ref": "#/$defs/UseAdjacentOverloadSignaturesConfiguration" },
|
|
11020
11137
|
{ "type": "null" }
|
|
11021
11138
|
]
|
|
11022
11139
|
},
|
|
11023
11140
|
"useAwait": {
|
|
11024
|
-
"description": "Ensure async functions utilize await.\nSee https://biomejs.dev/linter/rules/use-await",
|
|
11141
|
+
"description": "Ensure async functions utilize await.\nSee <https://biomejs.dev/linter/rules/use-await>",
|
|
11025
11142
|
"anyOf": [
|
|
11026
11143
|
{ "$ref": "#/$defs/UseAwaitConfiguration" },
|
|
11027
11144
|
{ "type": "null" }
|
|
11028
11145
|
]
|
|
11029
11146
|
},
|
|
11030
11147
|
"useBiomeIgnoreFolder": {
|
|
11031
|
-
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee https://biomejs.dev/linter/rules/use-biome-ignore-folder",
|
|
11148
|
+
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee <https://biomejs.dev/linter/rules/use-biome-ignore-folder>",
|
|
11032
11149
|
"anyOf": [
|
|
11033
11150
|
{ "$ref": "#/$defs/UseBiomeIgnoreFolderConfiguration" },
|
|
11034
11151
|
{ "type": "null" }
|
|
11035
11152
|
]
|
|
11036
11153
|
},
|
|
11037
11154
|
"useDefaultSwitchClauseLast": {
|
|
11038
|
-
"description": "Enforce default clauses in switch statements to be last.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause-last",
|
|
11155
|
+
"description": "Enforce default clauses in switch statements to be last.\nSee <https://biomejs.dev/linter/rules/use-default-switch-clause-last>",
|
|
11039
11156
|
"anyOf": [
|
|
11040
11157
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseLastConfiguration" },
|
|
11041
11158
|
{ "type": "null" }
|
|
11042
11159
|
]
|
|
11043
11160
|
},
|
|
11044
11161
|
"useErrorMessage": {
|
|
11045
|
-
"description": "Enforce passing a message value when creating a built-in error.\nSee https://biomejs.dev/linter/rules/use-error-message",
|
|
11162
|
+
"description": "Enforce passing a message value when creating a built-in error.\nSee <https://biomejs.dev/linter/rules/use-error-message>",
|
|
11046
11163
|
"anyOf": [
|
|
11047
11164
|
{ "$ref": "#/$defs/UseErrorMessageConfiguration" },
|
|
11048
11165
|
{ "type": "null" }
|
|
11049
11166
|
]
|
|
11050
11167
|
},
|
|
11051
11168
|
"useGetterReturn": {
|
|
11052
|
-
"description": "Enforce get methods to always return a value.\nSee https://biomejs.dev/linter/rules/use-getter-return",
|
|
11169
|
+
"description": "Enforce get methods to always return a value.\nSee <https://biomejs.dev/linter/rules/use-getter-return>",
|
|
11053
11170
|
"anyOf": [
|
|
11054
11171
|
{ "$ref": "#/$defs/UseGetterReturnConfiguration" },
|
|
11055
11172
|
{ "type": "null" }
|
|
11056
11173
|
]
|
|
11057
11174
|
},
|
|
11058
11175
|
"useGoogleFontDisplay": {
|
|
11059
|
-
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-display",
|
|
11176
|
+
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee <https://biomejs.dev/linter/rules/use-google-font-display>",
|
|
11060
11177
|
"anyOf": [
|
|
11061
11178
|
{ "$ref": "#/$defs/UseGoogleFontDisplayConfiguration" },
|
|
11062
11179
|
{ "type": "null" }
|
|
11063
11180
|
]
|
|
11064
11181
|
},
|
|
11065
11182
|
"useGuardForIn": {
|
|
11066
|
-
"description": "Require for-in loops to include an if statement.\nSee https://biomejs.dev/linter/rules/use-guard-for-in",
|
|
11183
|
+
"description": "Require for-in loops to include an if statement.\nSee <https://biomejs.dev/linter/rules/use-guard-for-in>",
|
|
11067
11184
|
"anyOf": [
|
|
11068
11185
|
{ "$ref": "#/$defs/UseGuardForInConfiguration" },
|
|
11069
11186
|
{ "type": "null" }
|
|
11070
11187
|
]
|
|
11071
11188
|
},
|
|
11072
11189
|
"useIsArray": {
|
|
11073
|
-
"description": "Use Array.isArray() instead of instanceof Array.\nSee https://biomejs.dev/linter/rules/use-is-array",
|
|
11190
|
+
"description": "Use Array.isArray() instead of instanceof Array.\nSee <https://biomejs.dev/linter/rules/use-is-array>",
|
|
11074
11191
|
"anyOf": [
|
|
11075
11192
|
{ "$ref": "#/$defs/UseIsArrayConfiguration" },
|
|
11076
11193
|
{ "type": "null" }
|
|
11077
11194
|
]
|
|
11078
11195
|
},
|
|
11079
11196
|
"useIterableCallbackReturn": {
|
|
11080
|
-
"description": "Enforce consistent return values in iterable callbacks.\nSee https://biomejs.dev/linter/rules/use-iterable-callback-return",
|
|
11197
|
+
"description": "Enforce consistent return values in iterable callbacks.\nSee <https://biomejs.dev/linter/rules/use-iterable-callback-return>",
|
|
11081
11198
|
"anyOf": [
|
|
11082
11199
|
{ "$ref": "#/$defs/UseIterableCallbackReturnConfiguration" },
|
|
11083
11200
|
{ "type": "null" }
|
|
11084
11201
|
]
|
|
11085
11202
|
},
|
|
11086
11203
|
"useNamespaceKeyword": {
|
|
11087
|
-
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee https://biomejs.dev/linter/rules/use-namespace-keyword",
|
|
11204
|
+
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee <https://biomejs.dev/linter/rules/use-namespace-keyword>",
|
|
11088
11205
|
"anyOf": [
|
|
11089
11206
|
{ "$ref": "#/$defs/UseNamespaceKeywordConfiguration" },
|
|
11090
11207
|
{ "type": "null" }
|
|
11091
11208
|
]
|
|
11092
11209
|
},
|
|
11093
11210
|
"useNumberToFixedDigitsArgument": {
|
|
11094
|
-
"description": "Enforce using the digits argument with Number#toFixed().\nSee https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument",
|
|
11211
|
+
"description": "Enforce using the digits argument with Number#toFixed().\nSee <https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument>",
|
|
11095
11212
|
"anyOf": [
|
|
11096
11213
|
{ "$ref": "#/$defs/UseNumberToFixedDigitsArgumentConfiguration" },
|
|
11097
11214
|
{ "type": "null" }
|
|
11098
11215
|
]
|
|
11099
11216
|
},
|
|
11100
11217
|
"useStaticResponseMethods": {
|
|
11101
|
-
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee https://biomejs.dev/linter/rules/use-static-response-methods",
|
|
11218
|
+
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee <https://biomejs.dev/linter/rules/use-static-response-methods>",
|
|
11102
11219
|
"anyOf": [
|
|
11103
11220
|
{ "$ref": "#/$defs/UseStaticResponseMethodsConfiguration" },
|
|
11104
11221
|
{ "type": "null" }
|
|
11105
11222
|
]
|
|
11106
11223
|
},
|
|
11107
11224
|
"useStrictMode": {
|
|
11108
|
-
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee https://biomejs.dev/linter/rules/use-strict-mode",
|
|
11225
|
+
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee <https://biomejs.dev/linter/rules/use-strict-mode>",
|
|
11109
11226
|
"anyOf": [
|
|
11110
11227
|
{ "$ref": "#/$defs/UseStrictModeConfiguration" },
|
|
11111
11228
|
{ "type": "null" }
|
|
@@ -11225,6 +11342,16 @@
|
|
|
11225
11342
|
]
|
|
11226
11343
|
},
|
|
11227
11344
|
"UseAwaitOptions": { "type": "object", "additionalProperties": false },
|
|
11345
|
+
"UseAwaitThenableConfiguration": {
|
|
11346
|
+
"oneOf": [
|
|
11347
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11348
|
+
{ "$ref": "#/$defs/RuleWithUseAwaitThenableOptions" }
|
|
11349
|
+
]
|
|
11350
|
+
},
|
|
11351
|
+
"UseAwaitThenableOptions": {
|
|
11352
|
+
"type": "object",
|
|
11353
|
+
"additionalProperties": false
|
|
11354
|
+
},
|
|
11228
11355
|
"UseBiomeIgnoreFolderConfiguration": {
|
|
11229
11356
|
"oneOf": [
|
|
11230
11357
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -11518,6 +11645,16 @@
|
|
|
11518
11645
|
"type": "object",
|
|
11519
11646
|
"additionalProperties": false
|
|
11520
11647
|
},
|
|
11648
|
+
"UseDestructuringConfiguration": {
|
|
11649
|
+
"oneOf": [
|
|
11650
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11651
|
+
{ "$ref": "#/$defs/RuleWithUseDestructuringOptions" }
|
|
11652
|
+
]
|
|
11653
|
+
},
|
|
11654
|
+
"UseDestructuringOptions": {
|
|
11655
|
+
"type": "object",
|
|
11656
|
+
"additionalProperties": false
|
|
11657
|
+
},
|
|
11521
11658
|
"UseEnumInitializersConfiguration": {
|
|
11522
11659
|
"oneOf": [
|
|
11523
11660
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12168,6 +12305,31 @@
|
|
|
12168
12305
|
"type": "object",
|
|
12169
12306
|
"additionalProperties": false
|
|
12170
12307
|
},
|
|
12308
|
+
"UseRegexpExecConfiguration": {
|
|
12309
|
+
"oneOf": [
|
|
12310
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12311
|
+
{ "$ref": "#/$defs/RuleWithUseRegexpExecOptions" }
|
|
12312
|
+
]
|
|
12313
|
+
},
|
|
12314
|
+
"UseRegexpExecOptions": { "type": "object", "additionalProperties": false },
|
|
12315
|
+
"UseRequiredScriptsConfiguration": {
|
|
12316
|
+
"oneOf": [
|
|
12317
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12318
|
+
{ "$ref": "#/$defs/RuleWithUseRequiredScriptsOptions" }
|
|
12319
|
+
]
|
|
12320
|
+
},
|
|
12321
|
+
"UseRequiredScriptsOptions": {
|
|
12322
|
+
"type": "object",
|
|
12323
|
+
"properties": {
|
|
12324
|
+
"requiredScripts": {
|
|
12325
|
+
"description": "List of script names that must be present in package.json",
|
|
12326
|
+
"type": "array",
|
|
12327
|
+
"default": [],
|
|
12328
|
+
"items": { "type": "string" }
|
|
12329
|
+
}
|
|
12330
|
+
},
|
|
12331
|
+
"additionalProperties": false
|
|
12332
|
+
},
|
|
12171
12333
|
"UseSelfClosingElementsConfiguration": {
|
|
12172
12334
|
"oneOf": [
|
|
12173
12335
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|