@biomejs/biome 2.3.11 → 2.3.13
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 +0 -6
- package/README.fr.md +0 -6
- package/README.hi.md +0 -6
- package/README.ja.md +0 -6
- package/README.kr.md +0 -6
- package/README.md +0 -6
- package/README.pl.md +0 -6
- package/README.pt-BR.md +0 -6
- package/README.ru.md +0 -6
- package/README.uk.md +0 -6
- package/README.zh-CN.md +0 -6
- package/README.zh-TW.md +0 -6
- package/configuration_schema.json +941 -542
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 correct dependency usage within React hooks.\nSee
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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" }
|
|
@@ -2913,6 +2913,13 @@
|
|
|
2913
2913
|
"type": "object",
|
|
2914
2914
|
"additionalProperties": false
|
|
2915
2915
|
},
|
|
2916
|
+
"NoDivRegexConfiguration": {
|
|
2917
|
+
"oneOf": [
|
|
2918
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2919
|
+
{ "$ref": "#/$defs/RuleWithNoDivRegexOptions" }
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
"NoDivRegexOptions": { "type": "object", "additionalProperties": false },
|
|
2916
2923
|
"NoDocumentCookieConfiguration": {
|
|
2917
2924
|
"oneOf": [
|
|
2918
2925
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2959,6 +2966,16 @@
|
|
|
2959
2966
|
},
|
|
2960
2967
|
"additionalProperties": false
|
|
2961
2968
|
},
|
|
2969
|
+
"NoDuplicateArgumentNamesConfiguration": {
|
|
2970
|
+
"oneOf": [
|
|
2971
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2972
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateArgumentNamesOptions" }
|
|
2973
|
+
]
|
|
2974
|
+
},
|
|
2975
|
+
"NoDuplicateArgumentNamesOptions": {
|
|
2976
|
+
"type": "object",
|
|
2977
|
+
"additionalProperties": false
|
|
2978
|
+
},
|
|
2962
2979
|
"NoDuplicateAtImportRulesConfiguration": {
|
|
2963
2980
|
"oneOf": [
|
|
2964
2981
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2969,6 +2986,16 @@
|
|
|
2969
2986
|
"type": "object",
|
|
2970
2987
|
"additionalProperties": false
|
|
2971
2988
|
},
|
|
2989
|
+
"NoDuplicateAttributesConfiguration": {
|
|
2990
|
+
"oneOf": [
|
|
2991
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2992
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateAttributesOptions" }
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
"NoDuplicateAttributesOptions": {
|
|
2996
|
+
"type": "object",
|
|
2997
|
+
"additionalProperties": false
|
|
2998
|
+
},
|
|
2972
2999
|
"NoDuplicateCaseConfiguration": {
|
|
2973
3000
|
"oneOf": [
|
|
2974
3001
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3019,6 +3046,36 @@
|
|
|
3019
3046
|
"type": "object",
|
|
3020
3047
|
"additionalProperties": false
|
|
3021
3048
|
},
|
|
3049
|
+
"NoDuplicateEnumValueNamesConfiguration": {
|
|
3050
|
+
"oneOf": [
|
|
3051
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3052
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateEnumValueNamesOptions" }
|
|
3053
|
+
]
|
|
3054
|
+
},
|
|
3055
|
+
"NoDuplicateEnumValueNamesOptions": {
|
|
3056
|
+
"type": "object",
|
|
3057
|
+
"additionalProperties": false
|
|
3058
|
+
},
|
|
3059
|
+
"NoDuplicateEnumValuesConfiguration": {
|
|
3060
|
+
"oneOf": [
|
|
3061
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3062
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateEnumValuesOptions" }
|
|
3063
|
+
]
|
|
3064
|
+
},
|
|
3065
|
+
"NoDuplicateEnumValuesOptions": {
|
|
3066
|
+
"type": "object",
|
|
3067
|
+
"additionalProperties": false
|
|
3068
|
+
},
|
|
3069
|
+
"NoDuplicateFieldDefinitionNamesConfiguration": {
|
|
3070
|
+
"oneOf": [
|
|
3071
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3072
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateFieldDefinitionNamesOptions" }
|
|
3073
|
+
]
|
|
3074
|
+
},
|
|
3075
|
+
"NoDuplicateFieldDefinitionNamesOptions": {
|
|
3076
|
+
"type": "object",
|
|
3077
|
+
"additionalProperties": false
|
|
3078
|
+
},
|
|
3022
3079
|
"NoDuplicateFieldsConfiguration": {
|
|
3023
3080
|
"oneOf": [
|
|
3024
3081
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3039,6 +3096,26 @@
|
|
|
3039
3096
|
"type": "object",
|
|
3040
3097
|
"additionalProperties": false
|
|
3041
3098
|
},
|
|
3099
|
+
"NoDuplicateGraphqlOperationNameConfiguration": {
|
|
3100
|
+
"oneOf": [
|
|
3101
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3102
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateGraphqlOperationNameOptions" }
|
|
3103
|
+
]
|
|
3104
|
+
},
|
|
3105
|
+
"NoDuplicateGraphqlOperationNameOptions": {
|
|
3106
|
+
"type": "object",
|
|
3107
|
+
"additionalProperties": false
|
|
3108
|
+
},
|
|
3109
|
+
"NoDuplicateInputFieldNamesConfiguration": {
|
|
3110
|
+
"oneOf": [
|
|
3111
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3112
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateInputFieldNamesOptions" }
|
|
3113
|
+
]
|
|
3114
|
+
},
|
|
3115
|
+
"NoDuplicateInputFieldNamesOptions": {
|
|
3116
|
+
"type": "object",
|
|
3117
|
+
"additionalProperties": false
|
|
3118
|
+
},
|
|
3042
3119
|
"NoDuplicateJsxPropsConfiguration": {
|
|
3043
3120
|
"oneOf": [
|
|
3044
3121
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3099,6 +3176,16 @@
|
|
|
3099
3176
|
"type": "object",
|
|
3100
3177
|
"additionalProperties": false
|
|
3101
3178
|
},
|
|
3179
|
+
"NoDuplicateVariableNamesConfiguration": {
|
|
3180
|
+
"oneOf": [
|
|
3181
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3182
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateVariableNamesOptions" }
|
|
3183
|
+
]
|
|
3184
|
+
},
|
|
3185
|
+
"NoDuplicateVariableNamesOptions": {
|
|
3186
|
+
"type": "object",
|
|
3187
|
+
"additionalProperties": false
|
|
3188
|
+
},
|
|
3102
3189
|
"NoDuplicatedSpreadPropsConfiguration": {
|
|
3103
3190
|
"oneOf": [
|
|
3104
3191
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3219,6 +3306,25 @@
|
|
|
3219
3306
|
"type": "object",
|
|
3220
3307
|
"additionalProperties": false
|
|
3221
3308
|
},
|
|
3309
|
+
"NoExcessiveClassesPerFileConfiguration": {
|
|
3310
|
+
"oneOf": [
|
|
3311
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3312
|
+
{ "$ref": "#/$defs/RuleWithNoExcessiveClassesPerFileOptions" }
|
|
3313
|
+
]
|
|
3314
|
+
},
|
|
3315
|
+
"NoExcessiveClassesPerFileOptions": {
|
|
3316
|
+
"type": "object",
|
|
3317
|
+
"properties": {
|
|
3318
|
+
"maxClasses": {
|
|
3319
|
+
"description": "The maximum number of classes allowed in a file.",
|
|
3320
|
+
"type": ["integer", "null"],
|
|
3321
|
+
"format": "uint16",
|
|
3322
|
+
"maximum": 65535,
|
|
3323
|
+
"minimum": 1
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
"additionalProperties": false
|
|
3327
|
+
},
|
|
3222
3328
|
"NoExcessiveCognitiveComplexityConfiguration": {
|
|
3223
3329
|
"oneOf": [
|
|
3224
3330
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3238,6 +3344,29 @@
|
|
|
3238
3344
|
},
|
|
3239
3345
|
"additionalProperties": false
|
|
3240
3346
|
},
|
|
3347
|
+
"NoExcessiveLinesPerFileConfiguration": {
|
|
3348
|
+
"oneOf": [
|
|
3349
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3350
|
+
{ "$ref": "#/$defs/RuleWithNoExcessiveLinesPerFileOptions" }
|
|
3351
|
+
]
|
|
3352
|
+
},
|
|
3353
|
+
"NoExcessiveLinesPerFileOptions": {
|
|
3354
|
+
"type": "object",
|
|
3355
|
+
"properties": {
|
|
3356
|
+
"maxLines": {
|
|
3357
|
+
"description": "The maximum number of lines allowed in a file.",
|
|
3358
|
+
"type": ["integer", "null"],
|
|
3359
|
+
"format": "uint16",
|
|
3360
|
+
"maximum": 65535,
|
|
3361
|
+
"minimum": 1
|
|
3362
|
+
},
|
|
3363
|
+
"skipBlankLines": {
|
|
3364
|
+
"description": "When this option is set to `true`, blank lines are not counted towards the maximum line limit.",
|
|
3365
|
+
"type": ["boolean", "null"]
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
"additionalProperties": false
|
|
3369
|
+
},
|
|
3241
3370
|
"NoExcessiveLinesPerFunctionConfiguration": {
|
|
3242
3371
|
"oneOf": [
|
|
3243
3372
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3342,6 +3471,16 @@
|
|
|
3342
3471
|
"type": "object",
|
|
3343
3472
|
"additionalProperties": false
|
|
3344
3473
|
},
|
|
3474
|
+
"NoFloatingClassesConfiguration": {
|
|
3475
|
+
"oneOf": [
|
|
3476
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3477
|
+
{ "$ref": "#/$defs/RuleWithNoFloatingClassesOptions" }
|
|
3478
|
+
]
|
|
3479
|
+
},
|
|
3480
|
+
"NoFloatingClassesOptions": {
|
|
3481
|
+
"type": "object",
|
|
3482
|
+
"additionalProperties": false
|
|
3483
|
+
},
|
|
3345
3484
|
"NoFloatingPromisesConfiguration": {
|
|
3346
3485
|
"oneOf": [
|
|
3347
3486
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4276,6 +4415,23 @@
|
|
|
4276
4415
|
"type": "object",
|
|
4277
4416
|
"additionalProperties": false
|
|
4278
4417
|
},
|
|
4418
|
+
"NoRootTypeConfiguration": {
|
|
4419
|
+
"oneOf": [
|
|
4420
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4421
|
+
{ "$ref": "#/$defs/RuleWithNoRootTypeOptions" }
|
|
4422
|
+
]
|
|
4423
|
+
},
|
|
4424
|
+
"NoRootTypeOptions": {
|
|
4425
|
+
"type": "object",
|
|
4426
|
+
"properties": {
|
|
4427
|
+
"disallow": {
|
|
4428
|
+
"description": "A list of disallowed root types (e.g. \"mutation\" and/or \"subscription\").\nThe values of the list are case-insensitive.",
|
|
4429
|
+
"type": "array",
|
|
4430
|
+
"items": { "type": "string" }
|
|
4431
|
+
}
|
|
4432
|
+
},
|
|
4433
|
+
"additionalProperties": false
|
|
4434
|
+
},
|
|
4279
4435
|
"NoScriptUrlConfiguration": {
|
|
4280
4436
|
"oneOf": [
|
|
4281
4437
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5129,6 +5285,16 @@
|
|
|
5129
5285
|
"type": "object",
|
|
5130
5286
|
"additionalProperties": false
|
|
5131
5287
|
},
|
|
5288
|
+
"NoVueOptionsApiConfiguration": {
|
|
5289
|
+
"oneOf": [
|
|
5290
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5291
|
+
{ "$ref": "#/$defs/RuleWithNoVueOptionsApiOptions" }
|
|
5292
|
+
]
|
|
5293
|
+
},
|
|
5294
|
+
"NoVueOptionsApiOptions": {
|
|
5295
|
+
"type": "object",
|
|
5296
|
+
"additionalProperties": false
|
|
5297
|
+
},
|
|
5132
5298
|
"NoVueReservedKeysConfiguration": {
|
|
5133
5299
|
"oneOf": [
|
|
5134
5300
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5195,14 +5361,14 @@
|
|
|
5195
5361
|
"type": "object",
|
|
5196
5362
|
"properties": {
|
|
5197
5363
|
"noAmbiguousAnchorText": {
|
|
5198
|
-
"description": "Disallow ambiguous anchor descriptions.\nSee
|
|
5364
|
+
"description": "Disallow ambiguous anchor descriptions.\nSee https://biomejs.dev/linter/rules/no-ambiguous-anchor-text",
|
|
5199
5365
|
"anyOf": [
|
|
5200
5366
|
{ "$ref": "#/$defs/NoAmbiguousAnchorTextConfiguration" },
|
|
5201
5367
|
{ "type": "null" }
|
|
5202
5368
|
]
|
|
5203
5369
|
},
|
|
5204
5370
|
"noBeforeInteractiveScriptOutsideDocument": {
|
|
5205
|
-
"description": "Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.\nSee
|
|
5371
|
+
"description": "Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document",
|
|
5206
5372
|
"anyOf": [
|
|
5207
5373
|
{
|
|
5208
5374
|
"$ref": "#/$defs/NoBeforeInteractiveScriptOutsideDocumentConfiguration"
|
|
@@ -5211,266 +5377,364 @@
|
|
|
5211
5377
|
]
|
|
5212
5378
|
},
|
|
5213
5379
|
"noContinue": {
|
|
5214
|
-
"description": "Disallow continue statements.\nSee
|
|
5380
|
+
"description": "Disallow continue statements.\nSee https://biomejs.dev/linter/rules/no-continue",
|
|
5215
5381
|
"anyOf": [
|
|
5216
5382
|
{ "$ref": "#/$defs/NoContinueConfiguration" },
|
|
5217
5383
|
{ "type": "null" }
|
|
5218
5384
|
]
|
|
5219
5385
|
},
|
|
5220
5386
|
"noDeprecatedImports": {
|
|
5221
|
-
"description": "Restrict imports of deprecated exports.\nSee
|
|
5387
|
+
"description": "Restrict imports of deprecated exports.\nSee https://biomejs.dev/linter/rules/no-deprecated-imports",
|
|
5222
5388
|
"anyOf": [
|
|
5223
5389
|
{ "$ref": "#/$defs/NoDeprecatedImportsConfiguration" },
|
|
5224
5390
|
{ "type": "null" }
|
|
5225
5391
|
]
|
|
5226
5392
|
},
|
|
5393
|
+
"noDivRegex": {
|
|
5394
|
+
"description": "Disallow equal signs explicitly at the beginning of regular expressions.\nSee https://biomejs.dev/linter/rules/no-div-regex",
|
|
5395
|
+
"anyOf": [
|
|
5396
|
+
{ "$ref": "#/$defs/NoDivRegexConfiguration" },
|
|
5397
|
+
{ "type": "null" }
|
|
5398
|
+
]
|
|
5399
|
+
},
|
|
5400
|
+
"noDuplicateArgumentNames": {
|
|
5401
|
+
"description": "Require all argument names for fields & directives to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-argument-names",
|
|
5402
|
+
"anyOf": [
|
|
5403
|
+
{ "$ref": "#/$defs/NoDuplicateArgumentNamesConfiguration" },
|
|
5404
|
+
{ "type": "null" }
|
|
5405
|
+
]
|
|
5406
|
+
},
|
|
5407
|
+
"noDuplicateAttributes": {
|
|
5408
|
+
"description": "Disallow duplication of attributes.\nSee https://biomejs.dev/linter/rules/no-duplicate-attributes",
|
|
5409
|
+
"anyOf": [
|
|
5410
|
+
{ "$ref": "#/$defs/NoDuplicateAttributesConfiguration" },
|
|
5411
|
+
{ "type": "null" }
|
|
5412
|
+
]
|
|
5413
|
+
},
|
|
5227
5414
|
"noDuplicateDependencies": {
|
|
5228
|
-
"description": "Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: \"bundledDependencies\", \"bundleDependencies\", \"dependencies\", \"devDependencies\", \"overrides\", \"optionalDependencies\", and \"peerDependencies\".\nSee
|
|
5415
|
+
"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",
|
|
5229
5416
|
"anyOf": [
|
|
5230
5417
|
{ "$ref": "#/$defs/NoDuplicateDependenciesConfiguration" },
|
|
5231
5418
|
{ "type": "null" }
|
|
5232
5419
|
]
|
|
5233
5420
|
},
|
|
5421
|
+
"noDuplicateEnumValueNames": {
|
|
5422
|
+
"description": "Require all enum value names to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-enum-value-names",
|
|
5423
|
+
"anyOf": [
|
|
5424
|
+
{ "$ref": "#/$defs/NoDuplicateEnumValueNamesConfiguration" },
|
|
5425
|
+
{ "type": "null" }
|
|
5426
|
+
]
|
|
5427
|
+
},
|
|
5428
|
+
"noDuplicateEnumValues": {
|
|
5429
|
+
"description": "Disallow duplicate enum member values.\nSee https://biomejs.dev/linter/rules/no-duplicate-enum-values",
|
|
5430
|
+
"anyOf": [
|
|
5431
|
+
{ "$ref": "#/$defs/NoDuplicateEnumValuesConfiguration" },
|
|
5432
|
+
{ "type": "null" }
|
|
5433
|
+
]
|
|
5434
|
+
},
|
|
5435
|
+
"noDuplicateFieldDefinitionNames": {
|
|
5436
|
+
"description": "Require all fields of a type to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-field-definition-names",
|
|
5437
|
+
"anyOf": [
|
|
5438
|
+
{ "$ref": "#/$defs/NoDuplicateFieldDefinitionNamesConfiguration" },
|
|
5439
|
+
{ "type": "null" }
|
|
5440
|
+
]
|
|
5441
|
+
},
|
|
5442
|
+
"noDuplicateGraphqlOperationName": {
|
|
5443
|
+
"description": "Enforce unique operation names across a GraphQL document.\nSee https://biomejs.dev/linter/rules/no-duplicate-graphql-operation-name",
|
|
5444
|
+
"anyOf": [
|
|
5445
|
+
{ "$ref": "#/$defs/NoDuplicateGraphqlOperationNameConfiguration" },
|
|
5446
|
+
{ "type": "null" }
|
|
5447
|
+
]
|
|
5448
|
+
},
|
|
5449
|
+
"noDuplicateInputFieldNames": {
|
|
5450
|
+
"description": "Require fields within an input object to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-input-field-names",
|
|
5451
|
+
"anyOf": [
|
|
5452
|
+
{ "$ref": "#/$defs/NoDuplicateInputFieldNamesConfiguration" },
|
|
5453
|
+
{ "type": "null" }
|
|
5454
|
+
]
|
|
5455
|
+
},
|
|
5456
|
+
"noDuplicateVariableNames": {
|
|
5457
|
+
"description": "Require all variable definitions to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-variable-names",
|
|
5458
|
+
"anyOf": [
|
|
5459
|
+
{ "$ref": "#/$defs/NoDuplicateVariableNamesConfiguration" },
|
|
5460
|
+
{ "type": "null" }
|
|
5461
|
+
]
|
|
5462
|
+
},
|
|
5234
5463
|
"noDuplicatedSpreadProps": {
|
|
5235
|
-
"description": "Disallow JSX prop spreading the same identifier multiple times.\nSee
|
|
5464
|
+
"description": "Disallow JSX prop spreading the same identifier multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicated-spread-props",
|
|
5236
5465
|
"anyOf": [
|
|
5237
5466
|
{ "$ref": "#/$defs/NoDuplicatedSpreadPropsConfiguration" },
|
|
5238
5467
|
{ "type": "null" }
|
|
5239
5468
|
]
|
|
5240
5469
|
},
|
|
5241
5470
|
"noEmptySource": {
|
|
5242
|
-
"description": "Disallow empty sources.\nSee
|
|
5471
|
+
"description": "Disallow empty sources.\nSee https://biomejs.dev/linter/rules/no-empty-source",
|
|
5243
5472
|
"anyOf": [
|
|
5244
5473
|
{ "$ref": "#/$defs/NoEmptySourceConfiguration" },
|
|
5245
5474
|
{ "type": "null" }
|
|
5246
5475
|
]
|
|
5247
5476
|
},
|
|
5248
5477
|
"noEqualsToNull": {
|
|
5249
|
-
"description": "Require the use of === or !== for comparison with null.\nSee
|
|
5478
|
+
"description": "Require the use of === or !== for comparison with null.\nSee https://biomejs.dev/linter/rules/no-equals-to-null",
|
|
5250
5479
|
"anyOf": [
|
|
5251
5480
|
{ "$ref": "#/$defs/NoEqualsToNullConfiguration" },
|
|
5252
5481
|
{ "type": "null" }
|
|
5253
5482
|
]
|
|
5254
5483
|
},
|
|
5484
|
+
"noExcessiveClassesPerFile": {
|
|
5485
|
+
"description": "Enforce a maximum number of classes per file.\nSee https://biomejs.dev/linter/rules/no-excessive-classes-per-file",
|
|
5486
|
+
"anyOf": [
|
|
5487
|
+
{ "$ref": "#/$defs/NoExcessiveClassesPerFileConfiguration" },
|
|
5488
|
+
{ "type": "null" }
|
|
5489
|
+
]
|
|
5490
|
+
},
|
|
5491
|
+
"noExcessiveLinesPerFile": {
|
|
5492
|
+
"description": "Restrict the number of lines in a file.\nSee https://biomejs.dev/linter/rules/no-excessive-lines-per-file",
|
|
5493
|
+
"anyOf": [
|
|
5494
|
+
{ "$ref": "#/$defs/NoExcessiveLinesPerFileConfiguration" },
|
|
5495
|
+
{ "type": "null" }
|
|
5496
|
+
]
|
|
5497
|
+
},
|
|
5498
|
+
"noFloatingClasses": {
|
|
5499
|
+
"description": "Disallow new operators outside of assignments or comparisons.\nSee https://biomejs.dev/linter/rules/no-floating-classes",
|
|
5500
|
+
"anyOf": [
|
|
5501
|
+
{ "$ref": "#/$defs/NoFloatingClassesConfiguration" },
|
|
5502
|
+
{ "type": "null" }
|
|
5503
|
+
]
|
|
5504
|
+
},
|
|
5255
5505
|
"noFloatingPromises": {
|
|
5256
|
-
"description": "Require Promise-like statements to be handled appropriately.\nSee
|
|
5506
|
+
"description": "Require Promise-like statements to be handled appropriately.\nSee https://biomejs.dev/linter/rules/no-floating-promises",
|
|
5257
5507
|
"anyOf": [
|
|
5258
5508
|
{ "$ref": "#/$defs/NoFloatingPromisesConfiguration" },
|
|
5259
5509
|
{ "type": "null" }
|
|
5260
5510
|
]
|
|
5261
5511
|
},
|
|
5262
5512
|
"noForIn": {
|
|
5263
|
-
"description": "Disallow iterating using a for-in loop.\nSee
|
|
5513
|
+
"description": "Disallow iterating using a for-in loop.\nSee https://biomejs.dev/linter/rules/no-for-in",
|
|
5264
5514
|
"anyOf": [
|
|
5265
5515
|
{ "$ref": "#/$defs/NoForInConfiguration" },
|
|
5266
5516
|
{ "type": "null" }
|
|
5267
5517
|
]
|
|
5268
5518
|
},
|
|
5269
5519
|
"noImportCycles": {
|
|
5270
|
-
"description": "Prevent import cycles.\nSee
|
|
5520
|
+
"description": "Prevent import cycles.\nSee https://biomejs.dev/linter/rules/no-import-cycles",
|
|
5271
5521
|
"anyOf": [
|
|
5272
5522
|
{ "$ref": "#/$defs/NoImportCyclesConfiguration" },
|
|
5273
5523
|
{ "type": "null" }
|
|
5274
5524
|
]
|
|
5275
5525
|
},
|
|
5276
5526
|
"noIncrementDecrement": {
|
|
5277
|
-
"description": "Disallows the usage of the unary operators ++ and --.\nSee
|
|
5527
|
+
"description": "Disallows the usage of the unary operators ++ and --.\nSee https://biomejs.dev/linter/rules/no-increment-decrement",
|
|
5278
5528
|
"anyOf": [
|
|
5279
5529
|
{ "$ref": "#/$defs/NoIncrementDecrementConfiguration" },
|
|
5280
5530
|
{ "type": "null" }
|
|
5281
5531
|
]
|
|
5282
5532
|
},
|
|
5283
5533
|
"noJsxLiterals": {
|
|
5284
|
-
"description": "Disallow string literals inside JSX elements.\nSee
|
|
5534
|
+
"description": "Disallow string literals inside JSX elements.\nSee https://biomejs.dev/linter/rules/no-jsx-literals",
|
|
5285
5535
|
"anyOf": [
|
|
5286
5536
|
{ "$ref": "#/$defs/NoJsxLiteralsConfiguration" },
|
|
5287
5537
|
{ "type": "null" }
|
|
5288
5538
|
]
|
|
5289
5539
|
},
|
|
5290
5540
|
"noJsxPropsBind": {
|
|
5291
|
-
"description": "Disallow .bind(), arrow functions, or function expressions in JSX props.\nSee
|
|
5541
|
+
"description": "Disallow .bind(), arrow functions, or function expressions in JSX props.\nSee https://biomejs.dev/linter/rules/no-jsx-props-bind",
|
|
5292
5542
|
"anyOf": [
|
|
5293
5543
|
{ "$ref": "#/$defs/NoJsxPropsBindConfiguration" },
|
|
5294
5544
|
{ "type": "null" }
|
|
5295
5545
|
]
|
|
5296
5546
|
},
|
|
5297
5547
|
"noLeakedRender": {
|
|
5298
|
-
"description": "Prevent problematic leaked values from being rendered.\nSee
|
|
5548
|
+
"description": "Prevent problematic leaked values from being rendered.\nSee https://biomejs.dev/linter/rules/no-leaked-render",
|
|
5299
5549
|
"anyOf": [
|
|
5300
5550
|
{ "$ref": "#/$defs/NoLeakedRenderConfiguration" },
|
|
5301
5551
|
{ "type": "null" }
|
|
5302
5552
|
]
|
|
5303
5553
|
},
|
|
5304
5554
|
"noMisusedPromises": {
|
|
5305
|
-
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee
|
|
5555
|
+
"description": "Disallow Promises to be used in places where they are almost certainly a mistake.\nSee https://biomejs.dev/linter/rules/no-misused-promises",
|
|
5306
5556
|
"anyOf": [
|
|
5307
5557
|
{ "$ref": "#/$defs/NoMisusedPromisesConfiguration" },
|
|
5308
5558
|
{ "type": "null" }
|
|
5309
5559
|
]
|
|
5310
5560
|
},
|
|
5311
5561
|
"noMultiAssign": {
|
|
5312
|
-
"description": "Disallow use of chained assignment expressions.\nSee
|
|
5562
|
+
"description": "Disallow use of chained assignment expressions.\nSee https://biomejs.dev/linter/rules/no-multi-assign",
|
|
5313
5563
|
"anyOf": [
|
|
5314
5564
|
{ "$ref": "#/$defs/NoMultiAssignConfiguration" },
|
|
5315
5565
|
{ "type": "null" }
|
|
5316
5566
|
]
|
|
5317
5567
|
},
|
|
5318
5568
|
"noMultiStr": {
|
|
5319
|
-
"description": "Disallow creating multiline strings by escaping newlines.\nSee
|
|
5569
|
+
"description": "Disallow creating multiline strings by escaping newlines.\nSee https://biomejs.dev/linter/rules/no-multi-str",
|
|
5320
5570
|
"anyOf": [
|
|
5321
5571
|
{ "$ref": "#/$defs/NoMultiStrConfiguration" },
|
|
5322
5572
|
{ "type": "null" }
|
|
5323
5573
|
]
|
|
5324
5574
|
},
|
|
5325
5575
|
"noNextAsyncClientComponent": {
|
|
5326
|
-
"description": "Prevent client components from being async functions.\nSee
|
|
5576
|
+
"description": "Prevent client components from being async functions.\nSee https://biomejs.dev/linter/rules/no-next-async-client-component",
|
|
5327
5577
|
"anyOf": [
|
|
5328
5578
|
{ "$ref": "#/$defs/NoNextAsyncClientComponentConfiguration" },
|
|
5329
5579
|
{ "type": "null" }
|
|
5330
5580
|
]
|
|
5331
5581
|
},
|
|
5332
5582
|
"noParametersOnlyUsedInRecursion": {
|
|
5333
|
-
"description": "Disallow function parameters that are only used in recursive calls.\nSee
|
|
5583
|
+
"description": "Disallow function parameters that are only used in recursive calls.\nSee https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion",
|
|
5334
5584
|
"anyOf": [
|
|
5335
5585
|
{ "$ref": "#/$defs/NoParametersOnlyUsedInRecursionConfiguration" },
|
|
5336
5586
|
{ "type": "null" }
|
|
5337
5587
|
]
|
|
5338
5588
|
},
|
|
5339
5589
|
"noProto": {
|
|
5340
|
-
"description": "Disallow the use of the deprecated __proto__ object property.\nSee
|
|
5590
|
+
"description": "Disallow the use of the deprecated __proto__ object property.\nSee https://biomejs.dev/linter/rules/no-proto",
|
|
5341
5591
|
"anyOf": [
|
|
5342
5592
|
{ "$ref": "#/$defs/NoProtoConfiguration" },
|
|
5343
5593
|
{ "type": "null" }
|
|
5344
5594
|
]
|
|
5345
5595
|
},
|
|
5346
5596
|
"noReactForwardRef": {
|
|
5347
|
-
"description": "Replaces usages of forwardRef with passing ref as a prop.\nSee
|
|
5597
|
+
"description": "Replaces usages of forwardRef with passing ref as a prop.\nSee https://biomejs.dev/linter/rules/no-react-forward-ref",
|
|
5348
5598
|
"anyOf": [
|
|
5349
5599
|
{ "$ref": "#/$defs/NoReactForwardRefConfiguration" },
|
|
5350
5600
|
{ "type": "null" }
|
|
5351
5601
|
]
|
|
5352
5602
|
},
|
|
5353
5603
|
"noReturnAssign": {
|
|
5354
|
-
"description": "Disallow assignments in return statements.\nSee
|
|
5604
|
+
"description": "Disallow assignments in return statements.\nSee https://biomejs.dev/linter/rules/no-return-assign",
|
|
5355
5605
|
"anyOf": [
|
|
5356
5606
|
{ "$ref": "#/$defs/NoReturnAssignConfiguration" },
|
|
5357
5607
|
{ "type": "null" }
|
|
5358
5608
|
]
|
|
5359
5609
|
},
|
|
5610
|
+
"noRootType": {
|
|
5611
|
+
"description": "Disallow the usage of specified root types.\nSee https://biomejs.dev/linter/rules/no-root-type",
|
|
5612
|
+
"anyOf": [
|
|
5613
|
+
{ "$ref": "#/$defs/NoRootTypeConfiguration" },
|
|
5614
|
+
{ "type": "null" }
|
|
5615
|
+
]
|
|
5616
|
+
},
|
|
5360
5617
|
"noScriptUrl": {
|
|
5361
|
-
"description": "Disallow javascript: URLs in HTML.\nSee
|
|
5618
|
+
"description": "Disallow javascript: URLs in HTML.\nSee https://biomejs.dev/linter/rules/no-script-url",
|
|
5362
5619
|
"anyOf": [
|
|
5363
5620
|
{ "$ref": "#/$defs/NoScriptUrlConfiguration" },
|
|
5364
5621
|
{ "type": "null" }
|
|
5365
5622
|
]
|
|
5366
5623
|
},
|
|
5367
5624
|
"noShadow": {
|
|
5368
|
-
"description": "Disallow variable declarations from shadowing variables declared in the outer scope.\nSee
|
|
5625
|
+
"description": "Disallow variable declarations from shadowing variables declared in the outer scope.\nSee https://biomejs.dev/linter/rules/no-shadow",
|
|
5369
5626
|
"anyOf": [
|
|
5370
5627
|
{ "$ref": "#/$defs/NoShadowConfiguration" },
|
|
5371
5628
|
{ "type": "null" }
|
|
5372
5629
|
]
|
|
5373
5630
|
},
|
|
5374
5631
|
"noSyncScripts": {
|
|
5375
|
-
"description": "Prevent the usage of synchronous scripts.\nSee
|
|
5632
|
+
"description": "Prevent the usage of synchronous scripts.\nSee https://biomejs.dev/linter/rules/no-sync-scripts",
|
|
5376
5633
|
"anyOf": [
|
|
5377
5634
|
{ "$ref": "#/$defs/NoSyncScriptsConfiguration" },
|
|
5378
5635
|
{ "type": "null" }
|
|
5379
5636
|
]
|
|
5380
5637
|
},
|
|
5381
5638
|
"noTernary": {
|
|
5382
|
-
"description": "Disallow ternary operators.\nSee
|
|
5639
|
+
"description": "Disallow ternary operators.\nSee https://biomejs.dev/linter/rules/no-ternary",
|
|
5383
5640
|
"anyOf": [
|
|
5384
5641
|
{ "$ref": "#/$defs/NoTernaryConfiguration" },
|
|
5385
5642
|
{ "type": "null" }
|
|
5386
5643
|
]
|
|
5387
5644
|
},
|
|
5388
5645
|
"noUndeclaredEnvVars": {
|
|
5389
|
-
"description": "Disallow the use of undeclared environment variables.\nSee
|
|
5646
|
+
"description": "Disallow the use of undeclared environment variables.\nSee https://biomejs.dev/linter/rules/no-undeclared-env-vars",
|
|
5390
5647
|
"anyOf": [
|
|
5391
5648
|
{ "$ref": "#/$defs/NoUndeclaredEnvVarsConfiguration" },
|
|
5392
5649
|
{ "type": "null" }
|
|
5393
5650
|
]
|
|
5394
5651
|
},
|
|
5395
5652
|
"noUnknownAttribute": {
|
|
5396
|
-
"description": "Disallow unknown DOM properties.\nSee
|
|
5653
|
+
"description": "Disallow unknown DOM properties.\nSee https://biomejs.dev/linter/rules/no-unknown-attribute",
|
|
5397
5654
|
"anyOf": [
|
|
5398
5655
|
{ "$ref": "#/$defs/NoUnknownAttributeConfiguration" },
|
|
5399
5656
|
{ "type": "null" }
|
|
5400
5657
|
]
|
|
5401
5658
|
},
|
|
5402
5659
|
"noUnnecessaryConditions": {
|
|
5403
|
-
"description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.\nSee
|
|
5660
|
+
"description": "Disallow unnecessary type-based conditions that can be statically determined as redundant.\nSee https://biomejs.dev/linter/rules/no-unnecessary-conditions",
|
|
5404
5661
|
"anyOf": [
|
|
5405
5662
|
{ "$ref": "#/$defs/NoUnnecessaryConditionsConfiguration" },
|
|
5406
5663
|
{ "type": "null" }
|
|
5407
5664
|
]
|
|
5408
5665
|
},
|
|
5409
5666
|
"noUnresolvedImports": {
|
|
5410
|
-
"description": "Warn when importing non-existing exports.\nSee
|
|
5667
|
+
"description": "Warn when importing non-existing exports.\nSee https://biomejs.dev/linter/rules/no-unresolved-imports",
|
|
5411
5668
|
"anyOf": [
|
|
5412
5669
|
{ "$ref": "#/$defs/NoUnresolvedImportsConfiguration" },
|
|
5413
5670
|
{ "type": "null" }
|
|
5414
5671
|
]
|
|
5415
5672
|
},
|
|
5416
5673
|
"noUnusedExpressions": {
|
|
5417
|
-
"description": "Disallow expression statements that are neither a function call nor an assignment.\nSee
|
|
5674
|
+
"description": "Disallow expression statements that are neither a function call nor an assignment.\nSee https://biomejs.dev/linter/rules/no-unused-expressions",
|
|
5418
5675
|
"anyOf": [
|
|
5419
5676
|
{ "$ref": "#/$defs/NoUnusedExpressionsConfiguration" },
|
|
5420
5677
|
{ "type": "null" }
|
|
5421
5678
|
]
|
|
5422
5679
|
},
|
|
5423
5680
|
"noUselessCatchBinding": {
|
|
5424
|
-
"description": "Disallow unused catch bindings.\nSee
|
|
5681
|
+
"description": "Disallow unused catch bindings.\nSee https://biomejs.dev/linter/rules/no-useless-catch-binding",
|
|
5425
5682
|
"anyOf": [
|
|
5426
5683
|
{ "$ref": "#/$defs/NoUselessCatchBindingConfiguration" },
|
|
5427
5684
|
{ "type": "null" }
|
|
5428
5685
|
]
|
|
5429
5686
|
},
|
|
5430
5687
|
"noUselessUndefined": {
|
|
5431
|
-
"description": "Disallow the use of useless undefined.\nSee
|
|
5688
|
+
"description": "Disallow the use of useless undefined.\nSee https://biomejs.dev/linter/rules/no-useless-undefined",
|
|
5432
5689
|
"anyOf": [
|
|
5433
5690
|
{ "$ref": "#/$defs/NoUselessUndefinedConfiguration" },
|
|
5434
5691
|
{ "type": "null" }
|
|
5435
5692
|
]
|
|
5436
5693
|
},
|
|
5437
5694
|
"noVueDataObjectDeclaration": {
|
|
5438
|
-
"description": "Enforce that Vue component data options are declared as functions.\nSee
|
|
5695
|
+
"description": "Enforce that Vue component data options are declared as functions.\nSee https://biomejs.dev/linter/rules/no-vue-data-object-declaration",
|
|
5439
5696
|
"anyOf": [
|
|
5440
5697
|
{ "$ref": "#/$defs/NoVueDataObjectDeclarationConfiguration" },
|
|
5441
5698
|
{ "type": "null" }
|
|
5442
5699
|
]
|
|
5443
5700
|
},
|
|
5444
5701
|
"noVueDuplicateKeys": {
|
|
5445
|
-
"description": "Disallow duplicate keys in Vue component data, methods, computed properties, and other options.\nSee
|
|
5702
|
+
"description": "Disallow duplicate keys in Vue component data, methods, computed properties, and other options.\nSee https://biomejs.dev/linter/rules/no-vue-duplicate-keys",
|
|
5446
5703
|
"anyOf": [
|
|
5447
5704
|
{ "$ref": "#/$defs/NoVueDuplicateKeysConfiguration" },
|
|
5448
5705
|
{ "type": "null" }
|
|
5449
5706
|
]
|
|
5450
5707
|
},
|
|
5708
|
+
"noVueOptionsApi": {
|
|
5709
|
+
"description": "Disallow the use of Vue Options API.\nSee https://biomejs.dev/linter/rules/no-vue-options-api",
|
|
5710
|
+
"anyOf": [
|
|
5711
|
+
{ "$ref": "#/$defs/NoVueOptionsApiConfiguration" },
|
|
5712
|
+
{ "type": "null" }
|
|
5713
|
+
]
|
|
5714
|
+
},
|
|
5451
5715
|
"noVueReservedKeys": {
|
|
5452
|
-
"description": "Disallow reserved keys in Vue component data and computed properties.\nSee
|
|
5716
|
+
"description": "Disallow reserved keys in Vue component data and computed properties.\nSee https://biomejs.dev/linter/rules/no-vue-reserved-keys",
|
|
5453
5717
|
"anyOf": [
|
|
5454
5718
|
{ "$ref": "#/$defs/NoVueReservedKeysConfiguration" },
|
|
5455
5719
|
{ "type": "null" }
|
|
5456
5720
|
]
|
|
5457
5721
|
},
|
|
5458
5722
|
"noVueReservedProps": {
|
|
5459
|
-
"description": "Disallow reserved names to be used as props.\nSee
|
|
5723
|
+
"description": "Disallow reserved names to be used as props.\nSee https://biomejs.dev/linter/rules/no-vue-reserved-props",
|
|
5460
5724
|
"anyOf": [
|
|
5461
5725
|
{ "$ref": "#/$defs/NoVueReservedPropsConfiguration" },
|
|
5462
5726
|
{ "type": "null" }
|
|
5463
5727
|
]
|
|
5464
5728
|
},
|
|
5465
5729
|
"noVueSetupPropsReactivityLoss": {
|
|
5466
|
-
"description": "Disallow destructuring of props passed to setup in Vue projects.\nSee
|
|
5730
|
+
"description": "Disallow destructuring of props passed to setup in Vue projects.\nSee https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss",
|
|
5467
5731
|
"anyOf": [
|
|
5468
5732
|
{ "$ref": "#/$defs/NoVueSetupPropsReactivityLossConfiguration" },
|
|
5469
5733
|
{ "type": "null" }
|
|
5470
5734
|
]
|
|
5471
5735
|
},
|
|
5472
5736
|
"noVueVIfWithVFor": {
|
|
5473
|
-
"description": "Disallow using v-if and v-for directives on the same element.\nSee
|
|
5737
|
+
"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",
|
|
5474
5738
|
"anyOf": [
|
|
5475
5739
|
{ "$ref": "#/$defs/NoVueVIfWithVForConfiguration" },
|
|
5476
5740
|
{ "type": "null" }
|
|
@@ -5481,154 +5745,154 @@
|
|
|
5481
5745
|
"type": ["boolean", "null"]
|
|
5482
5746
|
},
|
|
5483
5747
|
"useArraySortCompare": {
|
|
5484
|
-
"description": "Require Array#sort and Array#toSorted calls to always provide a compareFunction.\nSee
|
|
5748
|
+
"description": "Require Array#sort and Array#toSorted calls to always provide a compareFunction.\nSee https://biomejs.dev/linter/rules/use-array-sort-compare",
|
|
5485
5749
|
"anyOf": [
|
|
5486
5750
|
{ "$ref": "#/$defs/UseArraySortCompareConfiguration" },
|
|
5487
5751
|
{ "type": "null" }
|
|
5488
5752
|
]
|
|
5489
5753
|
},
|
|
5490
5754
|
"useAwaitThenable": {
|
|
5491
|
-
"description": "Enforce that await is only used on Promise values.\nSee
|
|
5755
|
+
"description": "Enforce that await is only used on Promise values.\nSee https://biomejs.dev/linter/rules/use-await-thenable",
|
|
5492
5756
|
"anyOf": [
|
|
5493
5757
|
{ "$ref": "#/$defs/UseAwaitThenableConfiguration" },
|
|
5494
5758
|
{ "type": "null" }
|
|
5495
5759
|
]
|
|
5496
5760
|
},
|
|
5497
5761
|
"useConsistentArrowReturn": {
|
|
5498
|
-
"description": "Enforce consistent arrow function bodies.\nSee
|
|
5762
|
+
"description": "Enforce consistent arrow function bodies.\nSee https://biomejs.dev/linter/rules/use-consistent-arrow-return",
|
|
5499
5763
|
"anyOf": [
|
|
5500
5764
|
{ "$ref": "#/$defs/UseConsistentArrowReturnConfiguration" },
|
|
5501
5765
|
{ "type": "null" }
|
|
5502
5766
|
]
|
|
5503
5767
|
},
|
|
5768
|
+
"useConsistentEnumValueType": {
|
|
5769
|
+
"description": "Disallow enums from having both number and string members.\nSee https://biomejs.dev/linter/rules/use-consistent-enum-value-type",
|
|
5770
|
+
"anyOf": [
|
|
5771
|
+
{ "$ref": "#/$defs/UseConsistentEnumValueTypeConfiguration" },
|
|
5772
|
+
{ "type": "null" }
|
|
5773
|
+
]
|
|
5774
|
+
},
|
|
5504
5775
|
"useConsistentGraphqlDescriptions": {
|
|
5505
|
-
"description": "Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.\nSee
|
|
5776
|
+
"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",
|
|
5506
5777
|
"anyOf": [
|
|
5507
5778
|
{ "$ref": "#/$defs/UseConsistentGraphqlDescriptionsConfiguration" },
|
|
5508
5779
|
{ "type": "null" }
|
|
5509
5780
|
]
|
|
5510
5781
|
},
|
|
5511
5782
|
"useDeprecatedDate": {
|
|
5512
|
-
"description": "Require the @deprecated directive to specify a deletion date.\nSee
|
|
5783
|
+
"description": "Require the @deprecated directive to specify a deletion date.\nSee https://biomejs.dev/linter/rules/use-deprecated-date",
|
|
5513
5784
|
"anyOf": [
|
|
5514
5785
|
{ "$ref": "#/$defs/UseDeprecatedDateConfiguration" },
|
|
5515
5786
|
{ "type": "null" }
|
|
5516
5787
|
]
|
|
5517
5788
|
},
|
|
5518
5789
|
"useDestructuring": {
|
|
5519
|
-
"description": "Require destructuring from arrays and/or objects.\nSee
|
|
5790
|
+
"description": "Require destructuring from arrays and/or objects.\nSee https://biomejs.dev/linter/rules/use-destructuring",
|
|
5520
5791
|
"anyOf": [
|
|
5521
5792
|
{ "$ref": "#/$defs/UseDestructuringConfiguration" },
|
|
5522
5793
|
{ "type": "null" }
|
|
5523
5794
|
]
|
|
5524
5795
|
},
|
|
5796
|
+
"useErrorCause": {
|
|
5797
|
+
"description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
|
|
5798
|
+
"anyOf": [
|
|
5799
|
+
{ "$ref": "#/$defs/UseErrorCauseConfiguration" },
|
|
5800
|
+
{ "type": "null" }
|
|
5801
|
+
]
|
|
5802
|
+
},
|
|
5525
5803
|
"useExhaustiveSwitchCases": {
|
|
5526
|
-
"description": "Require switch-case statements to be exhaustive.\nSee
|
|
5804
|
+
"description": "Require switch-case statements to be exhaustive.\nSee https://biomejs.dev/linter/rules/use-exhaustive-switch-cases",
|
|
5527
5805
|
"anyOf": [
|
|
5528
5806
|
{ "$ref": "#/$defs/UseExhaustiveSwitchCasesConfiguration" },
|
|
5529
5807
|
{ "type": "null" }
|
|
5530
5808
|
]
|
|
5531
5809
|
},
|
|
5532
5810
|
"useExplicitType": {
|
|
5533
|
-
"description": "Enforce types in functions, methods, variables, and parameters.\nSee
|
|
5811
|
+
"description": "Enforce types in functions, methods, variables, and parameters.\nSee https://biomejs.dev/linter/rules/use-explicit-type",
|
|
5534
5812
|
"anyOf": [
|
|
5535
5813
|
{ "$ref": "#/$defs/UseExplicitTypeConfiguration" },
|
|
5536
5814
|
{ "type": "null" }
|
|
5537
5815
|
]
|
|
5538
5816
|
},
|
|
5539
5817
|
"useFind": {
|
|
5540
|
-
"description": "Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.\nSee
|
|
5818
|
+
"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",
|
|
5541
5819
|
"anyOf": [
|
|
5542
5820
|
{ "$ref": "#/$defs/UseFindConfiguration" },
|
|
5543
5821
|
{ "type": "null" }
|
|
5544
5822
|
]
|
|
5545
5823
|
},
|
|
5824
|
+
"useInlineScriptId": {
|
|
5825
|
+
"description": "Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.\nSee https://biomejs.dev/linter/rules/use-inline-script-id",
|
|
5826
|
+
"anyOf": [
|
|
5827
|
+
{ "$ref": "#/$defs/UseInlineScriptIdConfiguration" },
|
|
5828
|
+
{ "type": "null" }
|
|
5829
|
+
]
|
|
5830
|
+
},
|
|
5831
|
+
"useLoneAnonymousOperation": {
|
|
5832
|
+
"description": "Disallow anonymous operations when more than one operation specified in document.\nSee https://biomejs.dev/linter/rules/use-lone-anonymous-operation",
|
|
5833
|
+
"anyOf": [
|
|
5834
|
+
{ "$ref": "#/$defs/UseLoneAnonymousOperationConfiguration" },
|
|
5835
|
+
{ "type": "null" }
|
|
5836
|
+
]
|
|
5837
|
+
},
|
|
5838
|
+
"useLoneExecutableDefinition": {
|
|
5839
|
+
"description": "Require queries, mutations, subscriptions or fragments each to be located in separate files.\nSee https://biomejs.dev/linter/rules/use-lone-executable-definition",
|
|
5840
|
+
"anyOf": [
|
|
5841
|
+
{ "$ref": "#/$defs/UseLoneExecutableDefinitionConfiguration" },
|
|
5842
|
+
{ "type": "null" }
|
|
5843
|
+
]
|
|
5844
|
+
},
|
|
5546
5845
|
"useMaxParams": {
|
|
5547
|
-
"description": "Enforce a maximum number of parameters in function definitions.\nSee
|
|
5846
|
+
"description": "Enforce a maximum number of parameters in function definitions.\nSee https://biomejs.dev/linter/rules/use-max-params",
|
|
5548
5847
|
"anyOf": [
|
|
5549
5848
|
{ "$ref": "#/$defs/UseMaxParamsConfiguration" },
|
|
5550
5849
|
{ "type": "null" }
|
|
5551
5850
|
]
|
|
5552
5851
|
},
|
|
5553
5852
|
"useQwikMethodUsage": {
|
|
5554
|
-
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee
|
|
5853
|
+
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee https://biomejs.dev/linter/rules/use-qwik-method-usage",
|
|
5555
5854
|
"anyOf": [
|
|
5556
5855
|
{ "$ref": "#/$defs/UseQwikMethodUsageConfiguration" },
|
|
5557
5856
|
{ "type": "null" }
|
|
5558
5857
|
]
|
|
5559
5858
|
},
|
|
5560
5859
|
"useQwikValidLexicalScope": {
|
|
5561
|
-
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee
|
|
5860
|
+
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope",
|
|
5562
5861
|
"anyOf": [
|
|
5563
5862
|
{ "$ref": "#/$defs/UseQwikValidLexicalScopeConfiguration" },
|
|
5564
5863
|
{ "type": "null" }
|
|
5565
5864
|
]
|
|
5566
5865
|
},
|
|
5567
5866
|
"useRegexpExec": {
|
|
5568
|
-
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee
|
|
5867
|
+
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee https://biomejs.dev/linter/rules/use-regexp-exec",
|
|
5569
5868
|
"anyOf": [
|
|
5570
5869
|
{ "$ref": "#/$defs/UseRegexpExecConfiguration" },
|
|
5571
5870
|
{ "type": "null" }
|
|
5572
5871
|
]
|
|
5573
5872
|
},
|
|
5574
5873
|
"useRequiredScripts": {
|
|
5575
|
-
"description": "Enforce the presence of required scripts in package.json.\nSee
|
|
5874
|
+
"description": "Enforce the presence of required scripts in package.json.\nSee https://biomejs.dev/linter/rules/use-required-scripts",
|
|
5576
5875
|
"anyOf": [
|
|
5577
5876
|
{ "$ref": "#/$defs/UseRequiredScriptsConfiguration" },
|
|
5578
5877
|
{ "type": "null" }
|
|
5579
5878
|
]
|
|
5580
5879
|
},
|
|
5581
5880
|
"useSortedClasses": {
|
|
5582
|
-
"description": "Enforce the sorting of CSS utility classes.\nSee
|
|
5881
|
+
"description": "Enforce the sorting of CSS utility classes.\nSee https://biomejs.dev/linter/rules/use-sorted-classes",
|
|
5583
5882
|
"anyOf": [
|
|
5584
5883
|
{ "$ref": "#/$defs/UseSortedClassesConfiguration" },
|
|
5585
5884
|
{ "type": "null" }
|
|
5586
5885
|
]
|
|
5587
5886
|
},
|
|
5588
5887
|
"useSpread": {
|
|
5589
|
-
"description": "Enforce the use of the spread operator over .apply().\nSee
|
|
5888
|
+
"description": "Enforce the use of the spread operator over .apply().\nSee https://biomejs.dev/linter/rules/use-spread",
|
|
5590
5889
|
"anyOf": [
|
|
5591
5890
|
{ "$ref": "#/$defs/UseSpreadConfiguration" },
|
|
5592
5891
|
{ "type": "null" }
|
|
5593
5892
|
]
|
|
5594
5893
|
},
|
|
5595
|
-
"useUniqueArgumentNames": {
|
|
5596
|
-
"description": "Require all argument names for fields & directives to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-argument-names>",
|
|
5597
|
-
"anyOf": [
|
|
5598
|
-
{ "$ref": "#/$defs/UseUniqueArgumentNamesConfiguration" },
|
|
5599
|
-
{ "type": "null" }
|
|
5600
|
-
]
|
|
5601
|
-
},
|
|
5602
|
-
"useUniqueFieldDefinitionNames": {
|
|
5603
|
-
"description": "Require all fields of a type to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-field-definition-names>",
|
|
5604
|
-
"anyOf": [
|
|
5605
|
-
{ "$ref": "#/$defs/UseUniqueFieldDefinitionNamesConfiguration" },
|
|
5606
|
-
{ "type": "null" }
|
|
5607
|
-
]
|
|
5608
|
-
},
|
|
5609
|
-
"useUniqueGraphqlOperationName": {
|
|
5610
|
-
"description": "Enforce unique operation names across a GraphQL document.\nSee <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>",
|
|
5611
|
-
"anyOf": [
|
|
5612
|
-
{ "$ref": "#/$defs/UseUniqueGraphqlOperationNameConfiguration" },
|
|
5613
|
-
{ "type": "null" }
|
|
5614
|
-
]
|
|
5615
|
-
},
|
|
5616
|
-
"useUniqueInputFieldNames": {
|
|
5617
|
-
"description": "Require fields within an input object to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-input-field-names>",
|
|
5618
|
-
"anyOf": [
|
|
5619
|
-
{ "$ref": "#/$defs/UseUniqueInputFieldNamesConfiguration" },
|
|
5620
|
-
{ "type": "null" }
|
|
5621
|
-
]
|
|
5622
|
-
},
|
|
5623
|
-
"useUniqueVariableNames": {
|
|
5624
|
-
"description": "Require all variable definitions to be unique.\nSee <https://biomejs.dev/linter/rules/use-unique-variable-names>",
|
|
5625
|
-
"anyOf": [
|
|
5626
|
-
{ "$ref": "#/$defs/UseUniqueVariableNamesConfiguration" },
|
|
5627
|
-
{ "type": "null" }
|
|
5628
|
-
]
|
|
5629
|
-
},
|
|
5630
5894
|
"useVueConsistentDefinePropsDeclaration": {
|
|
5631
|
-
"description": "Enforce consistent defineProps declaration style.\nSee
|
|
5895
|
+
"description": "Enforce consistent defineProps declaration style.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration",
|
|
5632
5896
|
"anyOf": [
|
|
5633
5897
|
{
|
|
5634
5898
|
"$ref": "#/$defs/UseVueConsistentDefinePropsDeclarationConfiguration"
|
|
@@ -5637,126 +5901,126 @@
|
|
|
5637
5901
|
]
|
|
5638
5902
|
},
|
|
5639
5903
|
"useVueConsistentVBindStyle": {
|
|
5640
|
-
"description": "Enforce a consistent style for v-bind in Vue templates.\nSee
|
|
5904
|
+
"description": "Enforce a consistent style for v-bind in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style",
|
|
5641
5905
|
"anyOf": [
|
|
5642
5906
|
{ "$ref": "#/$defs/UseVueConsistentVBindStyleConfiguration" },
|
|
5643
5907
|
{ "type": "null" }
|
|
5644
5908
|
]
|
|
5645
5909
|
},
|
|
5646
5910
|
"useVueConsistentVOnStyle": {
|
|
5647
|
-
"description": "Enforce a consistent style for v-on in Vue templates.\nSee
|
|
5911
|
+
"description": "Enforce a consistent style for v-on in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style",
|
|
5648
5912
|
"anyOf": [
|
|
5649
5913
|
{ "$ref": "#/$defs/UseVueConsistentVOnStyleConfiguration" },
|
|
5650
5914
|
{ "type": "null" }
|
|
5651
5915
|
]
|
|
5652
5916
|
},
|
|
5653
5917
|
"useVueDefineMacrosOrder": {
|
|
5654
|
-
"description": "Enforce specific order of Vue compiler macros.\nSee
|
|
5918
|
+
"description": "Enforce specific order of Vue compiler macros.\nSee https://biomejs.dev/linter/rules/use-vue-define-macros-order",
|
|
5655
5919
|
"anyOf": [
|
|
5656
5920
|
{ "$ref": "#/$defs/UseVueDefineMacrosOrderConfiguration" },
|
|
5657
5921
|
{ "type": "null" }
|
|
5658
5922
|
]
|
|
5659
5923
|
},
|
|
5660
5924
|
"useVueHyphenatedAttributes": {
|
|
5661
|
-
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee
|
|
5925
|
+
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes",
|
|
5662
5926
|
"anyOf": [
|
|
5663
5927
|
{ "$ref": "#/$defs/UseVueHyphenatedAttributesConfiguration" },
|
|
5664
5928
|
{ "type": "null" }
|
|
5665
5929
|
]
|
|
5666
5930
|
},
|
|
5667
5931
|
"useVueMultiWordComponentNames": {
|
|
5668
|
-
"description": "Enforce multi-word component names in Vue components.\nSee
|
|
5932
|
+
"description": "Enforce multi-word component names in Vue components.\nSee https://biomejs.dev/linter/rules/use-vue-multi-word-component-names",
|
|
5669
5933
|
"anyOf": [
|
|
5670
5934
|
{ "$ref": "#/$defs/UseVueMultiWordComponentNamesConfiguration" },
|
|
5671
5935
|
{ "type": "null" }
|
|
5672
5936
|
]
|
|
5673
5937
|
},
|
|
5674
5938
|
"useVueVForKey": {
|
|
5675
|
-
"description": "Enforce that elements using v-for also specify a unique key.\nSee
|
|
5939
|
+
"description": "Enforce that elements using v-for also specify a unique key.\nSee https://biomejs.dev/linter/rules/use-vue-v-for-key",
|
|
5676
5940
|
"anyOf": [
|
|
5677
5941
|
{ "$ref": "#/$defs/UseVueVForKeyConfiguration" },
|
|
5678
5942
|
{ "type": "null" }
|
|
5679
5943
|
]
|
|
5680
5944
|
},
|
|
5681
5945
|
"useVueValidTemplateRoot": {
|
|
5682
|
-
"description": "Enforce valid Vue \\<template> root usage.\nSee
|
|
5946
|
+
"description": "Enforce valid Vue \\<template> root usage.\nSee https://biomejs.dev/linter/rules/use-vue-valid-template-root",
|
|
5683
5947
|
"anyOf": [
|
|
5684
5948
|
{ "$ref": "#/$defs/UseVueValidTemplateRootConfiguration" },
|
|
5685
5949
|
{ "type": "null" }
|
|
5686
5950
|
]
|
|
5687
5951
|
},
|
|
5688
5952
|
"useVueValidVBind": {
|
|
5689
|
-
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee
|
|
5953
|
+
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-bind",
|
|
5690
5954
|
"anyOf": [
|
|
5691
5955
|
{ "$ref": "#/$defs/UseVueValidVBindConfiguration" },
|
|
5692
5956
|
{ "type": "null" }
|
|
5693
5957
|
]
|
|
5694
5958
|
},
|
|
5695
5959
|
"useVueValidVCloak": {
|
|
5696
|
-
"description": "Enforce valid v-cloak Vue directives.\nSee
|
|
5960
|
+
"description": "Enforce valid v-cloak Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-cloak",
|
|
5697
5961
|
"anyOf": [
|
|
5698
5962
|
{ "$ref": "#/$defs/UseVueValidVCloakConfiguration" },
|
|
5699
5963
|
{ "type": "null" }
|
|
5700
5964
|
]
|
|
5701
5965
|
},
|
|
5702
5966
|
"useVueValidVElse": {
|
|
5703
|
-
"description": "Enforce valid usage of v-else.\nSee
|
|
5967
|
+
"description": "Enforce valid usage of v-else.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else",
|
|
5704
5968
|
"anyOf": [
|
|
5705
5969
|
{ "$ref": "#/$defs/UseVueValidVElseConfiguration" },
|
|
5706
5970
|
{ "type": "null" }
|
|
5707
5971
|
]
|
|
5708
5972
|
},
|
|
5709
5973
|
"useVueValidVElseIf": {
|
|
5710
|
-
"description": "Enforce valid v-else-if directives.\nSee
|
|
5974
|
+
"description": "Enforce valid v-else-if directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else-if",
|
|
5711
5975
|
"anyOf": [
|
|
5712
5976
|
{ "$ref": "#/$defs/UseVueValidVElseIfConfiguration" },
|
|
5713
5977
|
{ "type": "null" }
|
|
5714
5978
|
]
|
|
5715
5979
|
},
|
|
5716
5980
|
"useVueValidVHtml": {
|
|
5717
|
-
"description": "Enforce valid v-html directives.\nSee
|
|
5981
|
+
"description": "Enforce valid v-html directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-html",
|
|
5718
5982
|
"anyOf": [
|
|
5719
5983
|
{ "$ref": "#/$defs/UseVueValidVHtmlConfiguration" },
|
|
5720
5984
|
{ "type": "null" }
|
|
5721
5985
|
]
|
|
5722
5986
|
},
|
|
5723
5987
|
"useVueValidVIf": {
|
|
5724
|
-
"description": "Enforces valid v-if usage for Vue templates.\nSee
|
|
5988
|
+
"description": "Enforces valid v-if usage for Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-if",
|
|
5725
5989
|
"anyOf": [
|
|
5726
5990
|
{ "$ref": "#/$defs/UseVueValidVIfConfiguration" },
|
|
5727
5991
|
{ "type": "null" }
|
|
5728
5992
|
]
|
|
5729
5993
|
},
|
|
5730
5994
|
"useVueValidVOn": {
|
|
5731
|
-
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee
|
|
5995
|
+
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-on",
|
|
5732
5996
|
"anyOf": [
|
|
5733
5997
|
{ "$ref": "#/$defs/UseVueValidVOnConfiguration" },
|
|
5734
5998
|
{ "type": "null" }
|
|
5735
5999
|
]
|
|
5736
6000
|
},
|
|
5737
6001
|
"useVueValidVOnce": {
|
|
5738
|
-
"description": "Enforce valid v-once Vue directives.\nSee
|
|
6002
|
+
"description": "Enforce valid v-once Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-once",
|
|
5739
6003
|
"anyOf": [
|
|
5740
6004
|
{ "$ref": "#/$defs/UseVueValidVOnceConfiguration" },
|
|
5741
6005
|
{ "type": "null" }
|
|
5742
6006
|
]
|
|
5743
6007
|
},
|
|
5744
6008
|
"useVueValidVPre": {
|
|
5745
|
-
"description": "Enforce valid v-pre Vue directives.\nSee
|
|
6009
|
+
"description": "Enforce valid v-pre Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-pre",
|
|
5746
6010
|
"anyOf": [
|
|
5747
6011
|
{ "$ref": "#/$defs/UseVueValidVPreConfiguration" },
|
|
5748
6012
|
{ "type": "null" }
|
|
5749
6013
|
]
|
|
5750
6014
|
},
|
|
5751
6015
|
"useVueValidVText": {
|
|
5752
|
-
"description": "Enforce valid v-text Vue directives.\nSee
|
|
6016
|
+
"description": "Enforce valid v-text Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-text",
|
|
5753
6017
|
"anyOf": [
|
|
5754
6018
|
{ "$ref": "#/$defs/UseVueValidVTextConfiguration" },
|
|
5755
6019
|
{ "type": "null" }
|
|
5756
6020
|
]
|
|
5757
6021
|
},
|
|
5758
6022
|
"useVueVapor": {
|
|
5759
|
-
"description": "Enforce opting in to Vue Vapor mode in \\<script setup> blocks.\nSee
|
|
6023
|
+
"description": "Enforce opting in to Vue Vapor mode in \\<script setup> blocks.\nSee https://biomejs.dev/linter/rules/use-vue-vapor",
|
|
5760
6024
|
"anyOf": [
|
|
5761
6025
|
{ "$ref": "#/$defs/UseVueVaporConfiguration" },
|
|
5762
6026
|
{ "type": "null" }
|
|
@@ -6033,63 +6297,63 @@
|
|
|
6033
6297
|
"type": "object",
|
|
6034
6298
|
"properties": {
|
|
6035
6299
|
"noAccumulatingSpread": {
|
|
6036
|
-
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee
|
|
6300
|
+
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee https://biomejs.dev/linter/rules/no-accumulating-spread",
|
|
6037
6301
|
"anyOf": [
|
|
6038
6302
|
{ "$ref": "#/$defs/NoAccumulatingSpreadConfiguration" },
|
|
6039
6303
|
{ "type": "null" }
|
|
6040
6304
|
]
|
|
6041
6305
|
},
|
|
6042
6306
|
"noAwaitInLoops": {
|
|
6043
|
-
"description": "Disallow await inside loops.\nSee
|
|
6307
|
+
"description": "Disallow await inside loops.\nSee https://biomejs.dev/linter/rules/no-await-in-loops",
|
|
6044
6308
|
"anyOf": [
|
|
6045
6309
|
{ "$ref": "#/$defs/NoAwaitInLoopsConfiguration" },
|
|
6046
6310
|
{ "type": "null" }
|
|
6047
6311
|
]
|
|
6048
6312
|
},
|
|
6049
6313
|
"noBarrelFile": {
|
|
6050
|
-
"description": "Disallow the use of barrel file.\nSee
|
|
6314
|
+
"description": "Disallow the use of barrel file.\nSee https://biomejs.dev/linter/rules/no-barrel-file",
|
|
6051
6315
|
"anyOf": [
|
|
6052
6316
|
{ "$ref": "#/$defs/NoBarrelFileConfiguration" },
|
|
6053
6317
|
{ "type": "null" }
|
|
6054
6318
|
]
|
|
6055
6319
|
},
|
|
6056
6320
|
"noDelete": {
|
|
6057
|
-
"description": "Disallow the use of the delete operator.\nSee
|
|
6321
|
+
"description": "Disallow the use of the delete operator.\nSee https://biomejs.dev/linter/rules/no-delete",
|
|
6058
6322
|
"anyOf": [
|
|
6059
6323
|
{ "$ref": "#/$defs/NoDeleteConfiguration" },
|
|
6060
6324
|
{ "type": "null" }
|
|
6061
6325
|
]
|
|
6062
6326
|
},
|
|
6063
6327
|
"noDynamicNamespaceImportAccess": {
|
|
6064
|
-
"description": "Disallow accessing namespace imports dynamically.\nSee
|
|
6328
|
+
"description": "Disallow accessing namespace imports dynamically.\nSee https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access",
|
|
6065
6329
|
"anyOf": [
|
|
6066
6330
|
{ "$ref": "#/$defs/NoDynamicNamespaceImportAccessConfiguration" },
|
|
6067
6331
|
{ "type": "null" }
|
|
6068
6332
|
]
|
|
6069
6333
|
},
|
|
6070
6334
|
"noImgElement": {
|
|
6071
|
-
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee
|
|
6335
|
+
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-img-element",
|
|
6072
6336
|
"anyOf": [
|
|
6073
6337
|
{ "$ref": "#/$defs/NoImgElementConfiguration" },
|
|
6074
6338
|
{ "type": "null" }
|
|
6075
6339
|
]
|
|
6076
6340
|
},
|
|
6077
6341
|
"noNamespaceImport": {
|
|
6078
|
-
"description": "Disallow the use of namespace imports.\nSee
|
|
6342
|
+
"description": "Disallow the use of namespace imports.\nSee https://biomejs.dev/linter/rules/no-namespace-import",
|
|
6079
6343
|
"anyOf": [
|
|
6080
6344
|
{ "$ref": "#/$defs/NoNamespaceImportConfiguration" },
|
|
6081
6345
|
{ "type": "null" }
|
|
6082
6346
|
]
|
|
6083
6347
|
},
|
|
6084
6348
|
"noReExportAll": {
|
|
6085
|
-
"description": "Avoid re-export all.\nSee
|
|
6349
|
+
"description": "Avoid re-export all.\nSee https://biomejs.dev/linter/rules/no-re-export-all",
|
|
6086
6350
|
"anyOf": [
|
|
6087
6351
|
{ "$ref": "#/$defs/NoReExportAllConfiguration" },
|
|
6088
6352
|
{ "type": "null" }
|
|
6089
6353
|
]
|
|
6090
6354
|
},
|
|
6091
6355
|
"noUnwantedPolyfillio": {
|
|
6092
|
-
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee
|
|
6356
|
+
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee https://biomejs.dev/linter/rules/no-unwanted-polyfillio",
|
|
6093
6357
|
"anyOf": [
|
|
6094
6358
|
{ "$ref": "#/$defs/NoUnwantedPolyfillioConfiguration" },
|
|
6095
6359
|
{ "type": "null" }
|
|
@@ -6100,21 +6364,21 @@
|
|
|
6100
6364
|
"type": ["boolean", "null"]
|
|
6101
6365
|
},
|
|
6102
6366
|
"useGoogleFontPreconnect": {
|
|
6103
|
-
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee
|
|
6367
|
+
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-preconnect",
|
|
6104
6368
|
"anyOf": [
|
|
6105
6369
|
{ "$ref": "#/$defs/UseGoogleFontPreconnectConfiguration" },
|
|
6106
6370
|
{ "type": "null" }
|
|
6107
6371
|
]
|
|
6108
6372
|
},
|
|
6109
6373
|
"useSolidForComponent": {
|
|
6110
|
-
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee
|
|
6374
|
+
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee https://biomejs.dev/linter/rules/use-solid-for-component",
|
|
6111
6375
|
"anyOf": [
|
|
6112
6376
|
{ "$ref": "#/$defs/UseSolidForComponentConfiguration" },
|
|
6113
6377
|
{ "type": "null" }
|
|
6114
6378
|
]
|
|
6115
6379
|
},
|
|
6116
6380
|
"useTopLevelRegex": {
|
|
6117
|
-
"description": "Require regex literals to be declared at the top level.\nSee
|
|
6381
|
+
"description": "Require regex literals to be declared at the top level.\nSee https://biomejs.dev/linter/rules/use-top-level-regex",
|
|
6118
6382
|
"anyOf": [
|
|
6119
6383
|
{ "$ref": "#/$defs/UseTopLevelRegexConfiguration" },
|
|
6120
6384
|
{ "type": "null" }
|
|
@@ -6715,6 +6979,16 @@
|
|
|
6715
6979
|
"additionalProperties": false,
|
|
6716
6980
|
"required": ["level"]
|
|
6717
6981
|
},
|
|
6982
|
+
"RuleWithNoDivRegexOptions": {
|
|
6983
|
+
"type": "object",
|
|
6984
|
+
"properties": {
|
|
6985
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
6986
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6987
|
+
"options": { "$ref": "#/$defs/NoDivRegexOptions" }
|
|
6988
|
+
},
|
|
6989
|
+
"additionalProperties": false,
|
|
6990
|
+
"required": ["level"]
|
|
6991
|
+
},
|
|
6718
6992
|
"RuleWithNoDocumentCookieOptions": {
|
|
6719
6993
|
"type": "object",
|
|
6720
6994
|
"properties": {
|
|
@@ -6752,6 +7026,15 @@
|
|
|
6752
7026
|
"additionalProperties": false,
|
|
6753
7027
|
"required": ["level"]
|
|
6754
7028
|
},
|
|
7029
|
+
"RuleWithNoDuplicateArgumentNamesOptions": {
|
|
7030
|
+
"type": "object",
|
|
7031
|
+
"properties": {
|
|
7032
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7033
|
+
"options": { "$ref": "#/$defs/NoDuplicateArgumentNamesOptions" }
|
|
7034
|
+
},
|
|
7035
|
+
"additionalProperties": false,
|
|
7036
|
+
"required": ["level"]
|
|
7037
|
+
},
|
|
6755
7038
|
"RuleWithNoDuplicateAtImportRulesOptions": {
|
|
6756
7039
|
"type": "object",
|
|
6757
7040
|
"properties": {
|
|
@@ -6761,6 +7044,15 @@
|
|
|
6761
7044
|
"additionalProperties": false,
|
|
6762
7045
|
"required": ["level"]
|
|
6763
7046
|
},
|
|
7047
|
+
"RuleWithNoDuplicateAttributesOptions": {
|
|
7048
|
+
"type": "object",
|
|
7049
|
+
"properties": {
|
|
7050
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7051
|
+
"options": { "$ref": "#/$defs/NoDuplicateAttributesOptions" }
|
|
7052
|
+
},
|
|
7053
|
+
"additionalProperties": false,
|
|
7054
|
+
"required": ["level"]
|
|
7055
|
+
},
|
|
6764
7056
|
"RuleWithNoDuplicateCaseOptions": {
|
|
6765
7057
|
"type": "object",
|
|
6766
7058
|
"properties": {
|
|
@@ -6806,6 +7098,33 @@
|
|
|
6806
7098
|
"additionalProperties": false,
|
|
6807
7099
|
"required": ["level"]
|
|
6808
7100
|
},
|
|
7101
|
+
"RuleWithNoDuplicateEnumValueNamesOptions": {
|
|
7102
|
+
"type": "object",
|
|
7103
|
+
"properties": {
|
|
7104
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7105
|
+
"options": { "$ref": "#/$defs/NoDuplicateEnumValueNamesOptions" }
|
|
7106
|
+
},
|
|
7107
|
+
"additionalProperties": false,
|
|
7108
|
+
"required": ["level"]
|
|
7109
|
+
},
|
|
7110
|
+
"RuleWithNoDuplicateEnumValuesOptions": {
|
|
7111
|
+
"type": "object",
|
|
7112
|
+
"properties": {
|
|
7113
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7114
|
+
"options": { "$ref": "#/$defs/NoDuplicateEnumValuesOptions" }
|
|
7115
|
+
},
|
|
7116
|
+
"additionalProperties": false,
|
|
7117
|
+
"required": ["level"]
|
|
7118
|
+
},
|
|
7119
|
+
"RuleWithNoDuplicateFieldDefinitionNamesOptions": {
|
|
7120
|
+
"type": "object",
|
|
7121
|
+
"properties": {
|
|
7122
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7123
|
+
"options": { "$ref": "#/$defs/NoDuplicateFieldDefinitionNamesOptions" }
|
|
7124
|
+
},
|
|
7125
|
+
"additionalProperties": false,
|
|
7126
|
+
"required": ["level"]
|
|
7127
|
+
},
|
|
6809
7128
|
"RuleWithNoDuplicateFieldsOptions": {
|
|
6810
7129
|
"type": "object",
|
|
6811
7130
|
"properties": {
|
|
@@ -6824,6 +7143,24 @@
|
|
|
6824
7143
|
"additionalProperties": false,
|
|
6825
7144
|
"required": ["level"]
|
|
6826
7145
|
},
|
|
7146
|
+
"RuleWithNoDuplicateGraphqlOperationNameOptions": {
|
|
7147
|
+
"type": "object",
|
|
7148
|
+
"properties": {
|
|
7149
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7150
|
+
"options": { "$ref": "#/$defs/NoDuplicateGraphqlOperationNameOptions" }
|
|
7151
|
+
},
|
|
7152
|
+
"additionalProperties": false,
|
|
7153
|
+
"required": ["level"]
|
|
7154
|
+
},
|
|
7155
|
+
"RuleWithNoDuplicateInputFieldNamesOptions": {
|
|
7156
|
+
"type": "object",
|
|
7157
|
+
"properties": {
|
|
7158
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7159
|
+
"options": { "$ref": "#/$defs/NoDuplicateInputFieldNamesOptions" }
|
|
7160
|
+
},
|
|
7161
|
+
"additionalProperties": false,
|
|
7162
|
+
"required": ["level"]
|
|
7163
|
+
},
|
|
6827
7164
|
"RuleWithNoDuplicateJsxPropsOptions": {
|
|
6828
7165
|
"type": "object",
|
|
6829
7166
|
"properties": {
|
|
@@ -6880,6 +7217,15 @@
|
|
|
6880
7217
|
"additionalProperties": false,
|
|
6881
7218
|
"required": ["level"]
|
|
6882
7219
|
},
|
|
7220
|
+
"RuleWithNoDuplicateVariableNamesOptions": {
|
|
7221
|
+
"type": "object",
|
|
7222
|
+
"properties": {
|
|
7223
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7224
|
+
"options": { "$ref": "#/$defs/NoDuplicateVariableNamesOptions" }
|
|
7225
|
+
},
|
|
7226
|
+
"additionalProperties": false,
|
|
7227
|
+
"required": ["level"]
|
|
7228
|
+
},
|
|
6883
7229
|
"RuleWithNoDuplicatedSpreadPropsOptions": {
|
|
6884
7230
|
"type": "object",
|
|
6885
7231
|
"properties": {
|
|
@@ -6990,6 +7336,15 @@
|
|
|
6990
7336
|
"additionalProperties": false,
|
|
6991
7337
|
"required": ["level"]
|
|
6992
7338
|
},
|
|
7339
|
+
"RuleWithNoExcessiveClassesPerFileOptions": {
|
|
7340
|
+
"type": "object",
|
|
7341
|
+
"properties": {
|
|
7342
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7343
|
+
"options": { "$ref": "#/$defs/NoExcessiveClassesPerFileOptions" }
|
|
7344
|
+
},
|
|
7345
|
+
"additionalProperties": false,
|
|
7346
|
+
"required": ["level"]
|
|
7347
|
+
},
|
|
6993
7348
|
"RuleWithNoExcessiveCognitiveComplexityOptions": {
|
|
6994
7349
|
"type": "object",
|
|
6995
7350
|
"properties": {
|
|
@@ -6999,6 +7354,15 @@
|
|
|
6999
7354
|
"additionalProperties": false,
|
|
7000
7355
|
"required": ["level"]
|
|
7001
7356
|
},
|
|
7357
|
+
"RuleWithNoExcessiveLinesPerFileOptions": {
|
|
7358
|
+
"type": "object",
|
|
7359
|
+
"properties": {
|
|
7360
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7361
|
+
"options": { "$ref": "#/$defs/NoExcessiveLinesPerFileOptions" }
|
|
7362
|
+
},
|
|
7363
|
+
"additionalProperties": false,
|
|
7364
|
+
"required": ["level"]
|
|
7365
|
+
},
|
|
7002
7366
|
"RuleWithNoExcessiveLinesPerFunctionOptions": {
|
|
7003
7367
|
"type": "object",
|
|
7004
7368
|
"properties": {
|
|
@@ -7083,6 +7447,15 @@
|
|
|
7083
7447
|
"additionalProperties": false,
|
|
7084
7448
|
"required": ["level"]
|
|
7085
7449
|
},
|
|
7450
|
+
"RuleWithNoFloatingClassesOptions": {
|
|
7451
|
+
"type": "object",
|
|
7452
|
+
"properties": {
|
|
7453
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7454
|
+
"options": { "$ref": "#/$defs/NoFloatingClassesOptions" }
|
|
7455
|
+
},
|
|
7456
|
+
"additionalProperties": false,
|
|
7457
|
+
"required": ["level"]
|
|
7458
|
+
},
|
|
7086
7459
|
"RuleWithNoFloatingPromisesOptions": {
|
|
7087
7460
|
"type": "object",
|
|
7088
7461
|
"properties": {
|
|
@@ -7905,6 +8278,15 @@
|
|
|
7905
8278
|
"additionalProperties": false,
|
|
7906
8279
|
"required": ["level"]
|
|
7907
8280
|
},
|
|
8281
|
+
"RuleWithNoRootTypeOptions": {
|
|
8282
|
+
"type": "object",
|
|
8283
|
+
"properties": {
|
|
8284
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8285
|
+
"options": { "$ref": "#/$defs/NoRootTypeOptions" }
|
|
8286
|
+
},
|
|
8287
|
+
"additionalProperties": false,
|
|
8288
|
+
"required": ["level"]
|
|
8289
|
+
},
|
|
7908
8290
|
"RuleWithNoScriptUrlOptions": {
|
|
7909
8291
|
"type": "object",
|
|
7910
8292
|
"properties": {
|
|
@@ -8689,6 +9071,15 @@
|
|
|
8689
9071
|
"additionalProperties": false,
|
|
8690
9072
|
"required": ["level"]
|
|
8691
9073
|
},
|
|
9074
|
+
"RuleWithNoVueOptionsApiOptions": {
|
|
9075
|
+
"type": "object",
|
|
9076
|
+
"properties": {
|
|
9077
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9078
|
+
"options": { "$ref": "#/$defs/NoVueOptionsApiOptions" }
|
|
9079
|
+
},
|
|
9080
|
+
"additionalProperties": false,
|
|
9081
|
+
"required": ["level"]
|
|
9082
|
+
},
|
|
8692
9083
|
"RuleWithNoVueReservedKeysOptions": {
|
|
8693
9084
|
"type": "object",
|
|
8694
9085
|
"properties": {
|
|
@@ -8969,6 +9360,15 @@
|
|
|
8969
9360
|
"additionalProperties": false,
|
|
8970
9361
|
"required": ["level"]
|
|
8971
9362
|
},
|
|
9363
|
+
"RuleWithUseConsistentEnumValueTypeOptions": {
|
|
9364
|
+
"type": "object",
|
|
9365
|
+
"properties": {
|
|
9366
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9367
|
+
"options": { "$ref": "#/$defs/UseConsistentEnumValueTypeOptions" }
|
|
9368
|
+
},
|
|
9369
|
+
"additionalProperties": false,
|
|
9370
|
+
"required": ["level"]
|
|
9371
|
+
},
|
|
8972
9372
|
"RuleWithUseConsistentGraphqlDescriptionsOptions": {
|
|
8973
9373
|
"type": "object",
|
|
8974
9374
|
"properties": {
|
|
@@ -9092,6 +9492,15 @@
|
|
|
9092
9492
|
"additionalProperties": false,
|
|
9093
9493
|
"required": ["level"]
|
|
9094
9494
|
},
|
|
9495
|
+
"RuleWithUseErrorCauseOptions": {
|
|
9496
|
+
"type": "object",
|
|
9497
|
+
"properties": {
|
|
9498
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9499
|
+
"options": { "$ref": "#/$defs/UseErrorCauseOptions" }
|
|
9500
|
+
},
|
|
9501
|
+
"additionalProperties": false,
|
|
9502
|
+
"required": ["level"]
|
|
9503
|
+
},
|
|
9095
9504
|
"RuleWithUseErrorMessageOptions": {
|
|
9096
9505
|
"type": "object",
|
|
9097
9506
|
"properties": {
|
|
@@ -9374,6 +9783,15 @@
|
|
|
9374
9783
|
"additionalProperties": false,
|
|
9375
9784
|
"required": ["level"]
|
|
9376
9785
|
},
|
|
9786
|
+
"RuleWithUseInlineScriptIdOptions": {
|
|
9787
|
+
"type": "object",
|
|
9788
|
+
"properties": {
|
|
9789
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9790
|
+
"options": { "$ref": "#/$defs/UseInlineScriptIdOptions" }
|
|
9791
|
+
},
|
|
9792
|
+
"additionalProperties": false,
|
|
9793
|
+
"required": ["level"]
|
|
9794
|
+
},
|
|
9377
9795
|
"RuleWithUseIsArrayOptions": {
|
|
9378
9796
|
"type": "object",
|
|
9379
9797
|
"properties": {
|
|
@@ -9459,6 +9877,24 @@
|
|
|
9459
9877
|
"additionalProperties": false,
|
|
9460
9878
|
"required": ["level"]
|
|
9461
9879
|
},
|
|
9880
|
+
"RuleWithUseLoneAnonymousOperationOptions": {
|
|
9881
|
+
"type": "object",
|
|
9882
|
+
"properties": {
|
|
9883
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9884
|
+
"options": { "$ref": "#/$defs/UseLoneAnonymousOperationOptions" }
|
|
9885
|
+
},
|
|
9886
|
+
"additionalProperties": false,
|
|
9887
|
+
"required": ["level"]
|
|
9888
|
+
},
|
|
9889
|
+
"RuleWithUseLoneExecutableDefinitionOptions": {
|
|
9890
|
+
"type": "object",
|
|
9891
|
+
"properties": {
|
|
9892
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9893
|
+
"options": { "$ref": "#/$defs/UseLoneExecutableDefinitionOptions" }
|
|
9894
|
+
},
|
|
9895
|
+
"additionalProperties": false,
|
|
9896
|
+
"required": ["level"]
|
|
9897
|
+
},
|
|
9462
9898
|
"RuleWithUseMaxParamsOptions": {
|
|
9463
9899
|
"type": "object",
|
|
9464
9900
|
"properties": {
|
|
@@ -9856,15 +10292,6 @@
|
|
|
9856
10292
|
"additionalProperties": false,
|
|
9857
10293
|
"required": ["level"]
|
|
9858
10294
|
},
|
|
9859
|
-
"RuleWithUseUniqueArgumentNamesOptions": {
|
|
9860
|
-
"type": "object",
|
|
9861
|
-
"properties": {
|
|
9862
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9863
|
-
"options": { "$ref": "#/$defs/UseUniqueArgumentNamesOptions" }
|
|
9864
|
-
},
|
|
9865
|
-
"additionalProperties": false,
|
|
9866
|
-
"required": ["level"]
|
|
9867
|
-
},
|
|
9868
10295
|
"RuleWithUseUniqueElementIdsOptions": {
|
|
9869
10296
|
"type": "object",
|
|
9870
10297
|
"properties": {
|
|
@@ -9874,42 +10301,6 @@
|
|
|
9874
10301
|
"additionalProperties": false,
|
|
9875
10302
|
"required": ["level"]
|
|
9876
10303
|
},
|
|
9877
|
-
"RuleWithUseUniqueFieldDefinitionNamesOptions": {
|
|
9878
|
-
"type": "object",
|
|
9879
|
-
"properties": {
|
|
9880
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9881
|
-
"options": { "$ref": "#/$defs/UseUniqueFieldDefinitionNamesOptions" }
|
|
9882
|
-
},
|
|
9883
|
-
"additionalProperties": false,
|
|
9884
|
-
"required": ["level"]
|
|
9885
|
-
},
|
|
9886
|
-
"RuleWithUseUniqueGraphqlOperationNameOptions": {
|
|
9887
|
-
"type": "object",
|
|
9888
|
-
"properties": {
|
|
9889
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9890
|
-
"options": { "$ref": "#/$defs/UseUniqueGraphqlOperationNameOptions" }
|
|
9891
|
-
},
|
|
9892
|
-
"additionalProperties": false,
|
|
9893
|
-
"required": ["level"]
|
|
9894
|
-
},
|
|
9895
|
-
"RuleWithUseUniqueInputFieldNamesOptions": {
|
|
9896
|
-
"type": "object",
|
|
9897
|
-
"properties": {
|
|
9898
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9899
|
-
"options": { "$ref": "#/$defs/UseUniqueInputFieldNamesOptions" }
|
|
9900
|
-
},
|
|
9901
|
-
"additionalProperties": false,
|
|
9902
|
-
"required": ["level"]
|
|
9903
|
-
},
|
|
9904
|
-
"RuleWithUseUniqueVariableNamesOptions": {
|
|
9905
|
-
"type": "object",
|
|
9906
|
-
"properties": {
|
|
9907
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9908
|
-
"options": { "$ref": "#/$defs/UseUniqueVariableNamesOptions" }
|
|
9909
|
-
},
|
|
9910
|
-
"additionalProperties": false,
|
|
9911
|
-
"required": ["level"]
|
|
9912
|
-
},
|
|
9913
10304
|
"RuleWithUseValidAnchorOptions": {
|
|
9914
10305
|
"type": "object",
|
|
9915
10306
|
"properties": {
|
|
@@ -10242,21 +10633,21 @@
|
|
|
10242
10633
|
"type": "object",
|
|
10243
10634
|
"properties": {
|
|
10244
10635
|
"noBlankTarget": {
|
|
10245
|
-
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee
|
|
10636
|
+
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee https://biomejs.dev/linter/rules/no-blank-target",
|
|
10246
10637
|
"anyOf": [
|
|
10247
10638
|
{ "$ref": "#/$defs/NoBlankTargetConfiguration" },
|
|
10248
10639
|
{ "type": "null" }
|
|
10249
10640
|
]
|
|
10250
10641
|
},
|
|
10251
10642
|
"noDangerouslySetInnerHtml": {
|
|
10252
|
-
"description": "Prevent the usage of dangerous JSX props.\nSee
|
|
10643
|
+
"description": "Prevent the usage of dangerous JSX props.\nSee https://biomejs.dev/linter/rules/no-dangerously-set-inner-html",
|
|
10253
10644
|
"anyOf": [
|
|
10254
10645
|
{ "$ref": "#/$defs/NoDangerouslySetInnerHtmlConfiguration" },
|
|
10255
10646
|
{ "type": "null" }
|
|
10256
10647
|
]
|
|
10257
10648
|
},
|
|
10258
10649
|
"noDangerouslySetInnerHtmlWithChildren": {
|
|
10259
|
-
"description": "Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.\nSee
|
|
10650
|
+
"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",
|
|
10260
10651
|
"anyOf": [
|
|
10261
10652
|
{
|
|
10262
10653
|
"$ref": "#/$defs/NoDangerouslySetInnerHtmlWithChildrenConfiguration"
|
|
@@ -10265,14 +10656,14 @@
|
|
|
10265
10656
|
]
|
|
10266
10657
|
},
|
|
10267
10658
|
"noGlobalEval": {
|
|
10268
|
-
"description": "Disallow the use of global eval().\nSee
|
|
10659
|
+
"description": "Disallow the use of global eval().\nSee https://biomejs.dev/linter/rules/no-global-eval",
|
|
10269
10660
|
"anyOf": [
|
|
10270
10661
|
{ "$ref": "#/$defs/NoGlobalEvalConfiguration" },
|
|
10271
10662
|
{ "type": "null" }
|
|
10272
10663
|
]
|
|
10273
10664
|
},
|
|
10274
10665
|
"noSecrets": {
|
|
10275
|
-
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee
|
|
10666
|
+
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee https://biomejs.dev/linter/rules/no-secrets",
|
|
10276
10667
|
"anyOf": [
|
|
10277
10668
|
{ "$ref": "#/$defs/NoSecretsConfiguration" },
|
|
10278
10669
|
{ "type": "null" }
|
|
@@ -10370,7 +10761,7 @@
|
|
|
10370
10761
|
"type": "object",
|
|
10371
10762
|
"properties": {
|
|
10372
10763
|
"organizeImports": {
|
|
10373
|
-
"description": "Provides a code action to sort the imports and exports in the file using a built-in or custom order.\nSee
|
|
10764
|
+
"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",
|
|
10374
10765
|
"anyOf": [
|
|
10375
10766
|
{ "$ref": "#/$defs/OrganizeImportsConfiguration" },
|
|
10376
10767
|
{ "type": "null" }
|
|
@@ -10381,21 +10772,21 @@
|
|
|
10381
10772
|
"type": ["boolean", "null"]
|
|
10382
10773
|
},
|
|
10383
10774
|
"useSortedAttributes": {
|
|
10384
|
-
"description": "Enforce attribute sorting in JSX elements.\nSee
|
|
10775
|
+
"description": "Enforce attribute sorting in JSX elements.\nSee https://biomejs.dev/assist/actions/use-sorted-attributes",
|
|
10385
10776
|
"anyOf": [
|
|
10386
10777
|
{ "$ref": "#/$defs/UseSortedAttributesConfiguration" },
|
|
10387
10778
|
{ "type": "null" }
|
|
10388
10779
|
]
|
|
10389
10780
|
},
|
|
10390
10781
|
"useSortedKeys": {
|
|
10391
|
-
"description": "Sort the keys of a JSON object in natural order.\nSee
|
|
10782
|
+
"description": "Sort the keys of a JSON object in natural order.\nSee https://biomejs.dev/assist/actions/use-sorted-keys",
|
|
10392
10783
|
"anyOf": [
|
|
10393
10784
|
{ "$ref": "#/$defs/UseSortedKeysConfiguration" },
|
|
10394
10785
|
{ "type": "null" }
|
|
10395
10786
|
]
|
|
10396
10787
|
},
|
|
10397
10788
|
"useSortedProperties": {
|
|
10398
|
-
"description": "Enforce ordering of CSS properties and nested rules.\nSee
|
|
10789
|
+
"description": "Enforce ordering of CSS properties and nested rules.\nSee https://biomejs.dev/assist/actions/use-sorted-properties",
|
|
10399
10790
|
"anyOf": [
|
|
10400
10791
|
{ "$ref": "#/$defs/UseSortedPropertiesConfiguration" },
|
|
10401
10792
|
{ "type": "null" }
|
|
@@ -10446,182 +10837,182 @@
|
|
|
10446
10837
|
"type": "object",
|
|
10447
10838
|
"properties": {
|
|
10448
10839
|
"noCommonJs": {
|
|
10449
|
-
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee
|
|
10840
|
+
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee https://biomejs.dev/linter/rules/no-common-js",
|
|
10450
10841
|
"anyOf": [
|
|
10451
10842
|
{ "$ref": "#/$defs/NoCommonJsConfiguration" },
|
|
10452
10843
|
{ "type": "null" }
|
|
10453
10844
|
]
|
|
10454
10845
|
},
|
|
10455
10846
|
"noDefaultExport": {
|
|
10456
|
-
"description": "Disallow default exports.\nSee
|
|
10847
|
+
"description": "Disallow default exports.\nSee https://biomejs.dev/linter/rules/no-default-export",
|
|
10457
10848
|
"anyOf": [
|
|
10458
10849
|
{ "$ref": "#/$defs/NoDefaultExportConfiguration" },
|
|
10459
10850
|
{ "type": "null" }
|
|
10460
10851
|
]
|
|
10461
10852
|
},
|
|
10462
10853
|
"noDescendingSpecificity": {
|
|
10463
|
-
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee
|
|
10854
|
+
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee https://biomejs.dev/linter/rules/no-descending-specificity",
|
|
10464
10855
|
"anyOf": [
|
|
10465
10856
|
{ "$ref": "#/$defs/NoDescendingSpecificityConfiguration" },
|
|
10466
10857
|
{ "type": "null" }
|
|
10467
10858
|
]
|
|
10468
10859
|
},
|
|
10469
10860
|
"noDoneCallback": {
|
|
10470
|
-
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee
|
|
10861
|
+
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee https://biomejs.dev/linter/rules/no-done-callback",
|
|
10471
10862
|
"anyOf": [
|
|
10472
10863
|
{ "$ref": "#/$defs/NoDoneCallbackConfiguration" },
|
|
10473
10864
|
{ "type": "null" }
|
|
10474
10865
|
]
|
|
10475
10866
|
},
|
|
10476
10867
|
"noEnum": {
|
|
10477
|
-
"description": "Disallow TypeScript enum.\nSee
|
|
10868
|
+
"description": "Disallow TypeScript enum.\nSee https://biomejs.dev/linter/rules/no-enum",
|
|
10478
10869
|
"anyOf": [
|
|
10479
10870
|
{ "$ref": "#/$defs/NoEnumConfiguration" },
|
|
10480
10871
|
{ "type": "null" }
|
|
10481
10872
|
]
|
|
10482
10873
|
},
|
|
10483
10874
|
"noExportedImports": {
|
|
10484
|
-
"description": "Disallow exporting an imported variable.\nSee
|
|
10875
|
+
"description": "Disallow exporting an imported variable.\nSee https://biomejs.dev/linter/rules/no-exported-imports",
|
|
10485
10876
|
"anyOf": [
|
|
10486
10877
|
{ "$ref": "#/$defs/NoExportedImportsConfiguration" },
|
|
10487
10878
|
{ "type": "null" }
|
|
10488
10879
|
]
|
|
10489
10880
|
},
|
|
10490
10881
|
"noHeadElement": {
|
|
10491
|
-
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee
|
|
10882
|
+
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-head-element",
|
|
10492
10883
|
"anyOf": [
|
|
10493
10884
|
{ "$ref": "#/$defs/NoHeadElementConfiguration" },
|
|
10494
10885
|
{ "type": "null" }
|
|
10495
10886
|
]
|
|
10496
10887
|
},
|
|
10497
10888
|
"noImplicitBoolean": {
|
|
10498
|
-
"description": "Disallow implicit true values on JSX boolean attributes.\nSee
|
|
10889
|
+
"description": "Disallow implicit true values on JSX boolean attributes.\nSee https://biomejs.dev/linter/rules/no-implicit-boolean",
|
|
10499
10890
|
"anyOf": [
|
|
10500
10891
|
{ "$ref": "#/$defs/NoImplicitBooleanConfiguration" },
|
|
10501
10892
|
{ "type": "null" }
|
|
10502
10893
|
]
|
|
10503
10894
|
},
|
|
10504
10895
|
"noInferrableTypes": {
|
|
10505
|
-
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee
|
|
10896
|
+
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee https://biomejs.dev/linter/rules/no-inferrable-types",
|
|
10506
10897
|
"anyOf": [
|
|
10507
10898
|
{ "$ref": "#/$defs/NoInferrableTypesConfiguration" },
|
|
10508
10899
|
{ "type": "null" }
|
|
10509
10900
|
]
|
|
10510
10901
|
},
|
|
10511
10902
|
"noMagicNumbers": {
|
|
10512
|
-
"description": "Reports usage of \"magic numbers\" — numbers used directly instead of being assigned to named constants.\nSee
|
|
10903
|
+
"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",
|
|
10513
10904
|
"anyOf": [
|
|
10514
10905
|
{ "$ref": "#/$defs/NoMagicNumbersConfiguration" },
|
|
10515
10906
|
{ "type": "null" }
|
|
10516
10907
|
]
|
|
10517
10908
|
},
|
|
10518
10909
|
"noNamespace": {
|
|
10519
|
-
"description": "Disallow the use of TypeScript's namespaces.\nSee
|
|
10910
|
+
"description": "Disallow the use of TypeScript's namespaces.\nSee https://biomejs.dev/linter/rules/no-namespace",
|
|
10520
10911
|
"anyOf": [
|
|
10521
10912
|
{ "$ref": "#/$defs/NoNamespaceConfiguration" },
|
|
10522
10913
|
{ "type": "null" }
|
|
10523
10914
|
]
|
|
10524
10915
|
},
|
|
10525
10916
|
"noNegationElse": {
|
|
10526
|
-
"description": "Disallow negation in the condition of an if statement if it has an else clause.\nSee
|
|
10917
|
+
"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",
|
|
10527
10918
|
"anyOf": [
|
|
10528
10919
|
{ "$ref": "#/$defs/NoNegationElseConfiguration" },
|
|
10529
10920
|
{ "type": "null" }
|
|
10530
10921
|
]
|
|
10531
10922
|
},
|
|
10532
10923
|
"noNestedTernary": {
|
|
10533
|
-
"description": "Disallow nested ternary expressions.\nSee
|
|
10924
|
+
"description": "Disallow nested ternary expressions.\nSee https://biomejs.dev/linter/rules/no-nested-ternary",
|
|
10534
10925
|
"anyOf": [
|
|
10535
10926
|
{ "$ref": "#/$defs/NoNestedTernaryConfiguration" },
|
|
10536
10927
|
{ "type": "null" }
|
|
10537
10928
|
]
|
|
10538
10929
|
},
|
|
10539
10930
|
"noNonNullAssertion": {
|
|
10540
|
-
"description": "Disallow non-null assertions using the ! postfix operator.\nSee
|
|
10931
|
+
"description": "Disallow non-null assertions using the ! postfix operator.\nSee https://biomejs.dev/linter/rules/no-non-null-assertion",
|
|
10541
10932
|
"anyOf": [
|
|
10542
10933
|
{ "$ref": "#/$defs/NoNonNullAssertionConfiguration" },
|
|
10543
10934
|
{ "type": "null" }
|
|
10544
10935
|
]
|
|
10545
10936
|
},
|
|
10546
10937
|
"noParameterAssign": {
|
|
10547
|
-
"description": "Disallow reassigning function parameters.\nSee
|
|
10938
|
+
"description": "Disallow reassigning function parameters.\nSee https://biomejs.dev/linter/rules/no-parameter-assign",
|
|
10548
10939
|
"anyOf": [
|
|
10549
10940
|
{ "$ref": "#/$defs/NoParameterAssignConfiguration" },
|
|
10550
10941
|
{ "type": "null" }
|
|
10551
10942
|
]
|
|
10552
10943
|
},
|
|
10553
10944
|
"noParameterProperties": {
|
|
10554
|
-
"description": "Disallow the use of parameter properties in class constructors.\nSee
|
|
10945
|
+
"description": "Disallow the use of parameter properties in class constructors.\nSee https://biomejs.dev/linter/rules/no-parameter-properties",
|
|
10555
10946
|
"anyOf": [
|
|
10556
10947
|
{ "$ref": "#/$defs/NoParameterPropertiesConfiguration" },
|
|
10557
10948
|
{ "type": "null" }
|
|
10558
10949
|
]
|
|
10559
10950
|
},
|
|
10560
10951
|
"noProcessEnv": {
|
|
10561
|
-
"description": "Disallow the use of process.env.\nSee
|
|
10952
|
+
"description": "Disallow the use of process.env.\nSee https://biomejs.dev/linter/rules/no-process-env",
|
|
10562
10953
|
"anyOf": [
|
|
10563
10954
|
{ "$ref": "#/$defs/NoProcessEnvConfiguration" },
|
|
10564
10955
|
{ "type": "null" }
|
|
10565
10956
|
]
|
|
10566
10957
|
},
|
|
10567
10958
|
"noRestrictedGlobals": {
|
|
10568
|
-
"description": "This rule allows you to specify global variable names that you don’t want to use in your application.\nSee
|
|
10959
|
+
"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",
|
|
10569
10960
|
"anyOf": [
|
|
10570
10961
|
{ "$ref": "#/$defs/NoRestrictedGlobalsConfiguration" },
|
|
10571
10962
|
{ "type": "null" }
|
|
10572
10963
|
]
|
|
10573
10964
|
},
|
|
10574
10965
|
"noRestrictedImports": {
|
|
10575
|
-
"description": "Disallow specified modules when loaded by import or require.\nSee
|
|
10966
|
+
"description": "Disallow specified modules when loaded by import or require.\nSee https://biomejs.dev/linter/rules/no-restricted-imports",
|
|
10576
10967
|
"anyOf": [
|
|
10577
10968
|
{ "$ref": "#/$defs/NoRestrictedImportsConfiguration" },
|
|
10578
10969
|
{ "type": "null" }
|
|
10579
10970
|
]
|
|
10580
10971
|
},
|
|
10581
10972
|
"noRestrictedTypes": {
|
|
10582
|
-
"description": "Disallow user defined types.\nSee
|
|
10973
|
+
"description": "Disallow user defined types.\nSee https://biomejs.dev/linter/rules/no-restricted-types",
|
|
10583
10974
|
"anyOf": [
|
|
10584
10975
|
{ "$ref": "#/$defs/NoRestrictedTypesConfiguration" },
|
|
10585
10976
|
{ "type": "null" }
|
|
10586
10977
|
]
|
|
10587
10978
|
},
|
|
10588
10979
|
"noShoutyConstants": {
|
|
10589
|
-
"description": "Disallow the use of constants which its value is the upper-case version of its name.\nSee
|
|
10980
|
+
"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",
|
|
10590
10981
|
"anyOf": [
|
|
10591
10982
|
{ "$ref": "#/$defs/NoShoutyConstantsConfiguration" },
|
|
10592
10983
|
{ "type": "null" }
|
|
10593
10984
|
]
|
|
10594
10985
|
},
|
|
10595
10986
|
"noSubstr": {
|
|
10596
|
-
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee
|
|
10987
|
+
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee https://biomejs.dev/linter/rules/no-substr",
|
|
10597
10988
|
"anyOf": [
|
|
10598
10989
|
{ "$ref": "#/$defs/NoSubstrConfiguration" },
|
|
10599
10990
|
{ "type": "null" }
|
|
10600
10991
|
]
|
|
10601
10992
|
},
|
|
10602
10993
|
"noUnusedTemplateLiteral": {
|
|
10603
|
-
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee
|
|
10994
|
+
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee https://biomejs.dev/linter/rules/no-unused-template-literal",
|
|
10604
10995
|
"anyOf": [
|
|
10605
10996
|
{ "$ref": "#/$defs/NoUnusedTemplateLiteralConfiguration" },
|
|
10606
10997
|
{ "type": "null" }
|
|
10607
10998
|
]
|
|
10608
10999
|
},
|
|
10609
11000
|
"noUselessElse": {
|
|
10610
|
-
"description": "Disallow else block when the if block breaks early.\nSee
|
|
11001
|
+
"description": "Disallow else block when the if block breaks early.\nSee https://biomejs.dev/linter/rules/no-useless-else",
|
|
10611
11002
|
"anyOf": [
|
|
10612
11003
|
{ "$ref": "#/$defs/NoUselessElseConfiguration" },
|
|
10613
11004
|
{ "type": "null" }
|
|
10614
11005
|
]
|
|
10615
11006
|
},
|
|
10616
11007
|
"noValueAtRule": {
|
|
10617
|
-
"description": "Disallow use of @value rule in css modules.\nSee
|
|
11008
|
+
"description": "Disallow use of @value rule in css modules.\nSee https://biomejs.dev/linter/rules/no-value-at-rule",
|
|
10618
11009
|
"anyOf": [
|
|
10619
11010
|
{ "$ref": "#/$defs/NoValueAtRuleConfiguration" },
|
|
10620
11011
|
{ "type": "null" }
|
|
10621
11012
|
]
|
|
10622
11013
|
},
|
|
10623
11014
|
"noYodaExpression": {
|
|
10624
|
-
"description": "Disallow the use of yoda expressions.\nSee
|
|
11015
|
+
"description": "Disallow the use of yoda expressions.\nSee https://biomejs.dev/linter/rules/no-yoda-expression",
|
|
10625
11016
|
"anyOf": [
|
|
10626
11017
|
{ "$ref": "#/$defs/NoYodaExpressionConfiguration" },
|
|
10627
11018
|
{ "type": "null" }
|
|
@@ -10632,63 +11023,63 @@
|
|
|
10632
11023
|
"type": ["boolean", "null"]
|
|
10633
11024
|
},
|
|
10634
11025
|
"useArrayLiterals": {
|
|
10635
|
-
"description": "Disallow Array constructors.\nSee
|
|
11026
|
+
"description": "Disallow Array constructors.\nSee https://biomejs.dev/linter/rules/use-array-literals",
|
|
10636
11027
|
"anyOf": [
|
|
10637
11028
|
{ "$ref": "#/$defs/UseArrayLiteralsConfiguration" },
|
|
10638
11029
|
{ "type": "null" }
|
|
10639
11030
|
]
|
|
10640
11031
|
},
|
|
10641
11032
|
"useAsConstAssertion": {
|
|
10642
|
-
"description": "Enforce the use of as const over literal type and type annotation.\nSee
|
|
11033
|
+
"description": "Enforce the use of as const over literal type and type annotation.\nSee https://biomejs.dev/linter/rules/use-as-const-assertion",
|
|
10643
11034
|
"anyOf": [
|
|
10644
11035
|
{ "$ref": "#/$defs/UseAsConstAssertionConfiguration" },
|
|
10645
11036
|
{ "type": "null" }
|
|
10646
11037
|
]
|
|
10647
11038
|
},
|
|
10648
11039
|
"useAtIndex": {
|
|
10649
|
-
"description": "Use at() instead of integer index access.\nSee
|
|
11040
|
+
"description": "Use at() instead of integer index access.\nSee https://biomejs.dev/linter/rules/use-at-index",
|
|
10650
11041
|
"anyOf": [
|
|
10651
11042
|
{ "$ref": "#/$defs/UseAtIndexConfiguration" },
|
|
10652
11043
|
{ "type": "null" }
|
|
10653
11044
|
]
|
|
10654
11045
|
},
|
|
10655
11046
|
"useBlockStatements": {
|
|
10656
|
-
"description": "Requires following curly brace conventions.\nSee
|
|
11047
|
+
"description": "Requires following curly brace conventions.\nSee https://biomejs.dev/linter/rules/use-block-statements",
|
|
10657
11048
|
"anyOf": [
|
|
10658
11049
|
{ "$ref": "#/$defs/UseBlockStatementsConfiguration" },
|
|
10659
11050
|
{ "type": "null" }
|
|
10660
11051
|
]
|
|
10661
11052
|
},
|
|
10662
11053
|
"useCollapsedElseIf": {
|
|
10663
|
-
"description": "Enforce using else if instead of nested if in else clauses.\nSee
|
|
11054
|
+
"description": "Enforce using else if instead of nested if in else clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-else-if",
|
|
10664
11055
|
"anyOf": [
|
|
10665
11056
|
{ "$ref": "#/$defs/UseCollapsedElseIfConfiguration" },
|
|
10666
11057
|
{ "type": "null" }
|
|
10667
11058
|
]
|
|
10668
11059
|
},
|
|
10669
11060
|
"useCollapsedIf": {
|
|
10670
|
-
"description": "Enforce using single if instead of nested if clauses.\nSee
|
|
11061
|
+
"description": "Enforce using single if instead of nested if clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-if",
|
|
10671
11062
|
"anyOf": [
|
|
10672
11063
|
{ "$ref": "#/$defs/UseCollapsedIfConfiguration" },
|
|
10673
11064
|
{ "type": "null" }
|
|
10674
11065
|
]
|
|
10675
11066
|
},
|
|
10676
11067
|
"useComponentExportOnlyModules": {
|
|
10677
|
-
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee
|
|
11068
|
+
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee https://biomejs.dev/linter/rules/use-component-export-only-modules",
|
|
10678
11069
|
"anyOf": [
|
|
10679
11070
|
{ "$ref": "#/$defs/UseComponentExportOnlyModulesConfiguration" },
|
|
10680
11071
|
{ "type": "null" }
|
|
10681
11072
|
]
|
|
10682
11073
|
},
|
|
10683
11074
|
"useConsistentArrayType": {
|
|
10684
|
-
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee
|
|
11075
|
+
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee https://biomejs.dev/linter/rules/use-consistent-array-type",
|
|
10685
11076
|
"anyOf": [
|
|
10686
11077
|
{ "$ref": "#/$defs/UseConsistentArrayTypeConfiguration" },
|
|
10687
11078
|
{ "type": "null" }
|
|
10688
11079
|
]
|
|
10689
11080
|
},
|
|
10690
11081
|
"useConsistentBuiltinInstantiation": {
|
|
10691
|
-
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee
|
|
11082
|
+
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation",
|
|
10692
11083
|
"anyOf": [
|
|
10693
11084
|
{
|
|
10694
11085
|
"$ref": "#/$defs/UseConsistentBuiltinInstantiationConfiguration"
|
|
@@ -10697,266 +11088,266 @@
|
|
|
10697
11088
|
]
|
|
10698
11089
|
},
|
|
10699
11090
|
"useConsistentCurlyBraces": {
|
|
10700
|
-
"description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.\nSee
|
|
11091
|
+
"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",
|
|
10701
11092
|
"anyOf": [
|
|
10702
11093
|
{ "$ref": "#/$defs/UseConsistentCurlyBracesConfiguration" },
|
|
10703
11094
|
{ "type": "null" }
|
|
10704
11095
|
]
|
|
10705
11096
|
},
|
|
10706
11097
|
"useConsistentMemberAccessibility": {
|
|
10707
|
-
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee
|
|
11098
|
+
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee https://biomejs.dev/linter/rules/use-consistent-member-accessibility",
|
|
10708
11099
|
"anyOf": [
|
|
10709
11100
|
{ "$ref": "#/$defs/UseConsistentMemberAccessibilityConfiguration" },
|
|
10710
11101
|
{ "type": "null" }
|
|
10711
11102
|
]
|
|
10712
11103
|
},
|
|
10713
11104
|
"useConsistentObjectDefinitions": {
|
|
10714
|
-
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee
|
|
11105
|
+
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee https://biomejs.dev/linter/rules/use-consistent-object-definitions",
|
|
10715
11106
|
"anyOf": [
|
|
10716
11107
|
{ "$ref": "#/$defs/UseConsistentObjectDefinitionsConfiguration" },
|
|
10717
11108
|
{ "type": "null" }
|
|
10718
11109
|
]
|
|
10719
11110
|
},
|
|
10720
11111
|
"useConsistentTypeDefinitions": {
|
|
10721
|
-
"description": "Enforce type definitions to consistently use either interface or type.\nSee
|
|
11112
|
+
"description": "Enforce type definitions to consistently use either interface or type.\nSee https://biomejs.dev/linter/rules/use-consistent-type-definitions",
|
|
10722
11113
|
"anyOf": [
|
|
10723
11114
|
{ "$ref": "#/$defs/UseConsistentTypeDefinitionsConfiguration" },
|
|
10724
11115
|
{ "type": "null" }
|
|
10725
11116
|
]
|
|
10726
11117
|
},
|
|
10727
11118
|
"useConst": {
|
|
10728
|
-
"description": "Require const declarations for variables that are only assigned once.\nSee
|
|
11119
|
+
"description": "Require const declarations for variables that are only assigned once.\nSee https://biomejs.dev/linter/rules/use-const",
|
|
10729
11120
|
"anyOf": [
|
|
10730
11121
|
{ "$ref": "#/$defs/UseConstConfiguration" },
|
|
10731
11122
|
{ "type": "null" }
|
|
10732
11123
|
]
|
|
10733
11124
|
},
|
|
10734
11125
|
"useDefaultParameterLast": {
|
|
10735
|
-
"description": "Enforce default function parameters and optional function parameters to be last.\nSee
|
|
11126
|
+
"description": "Enforce default function parameters and optional function parameters to be last.\nSee https://biomejs.dev/linter/rules/use-default-parameter-last",
|
|
10736
11127
|
"anyOf": [
|
|
10737
11128
|
{ "$ref": "#/$defs/UseDefaultParameterLastConfiguration" },
|
|
10738
11129
|
{ "type": "null" }
|
|
10739
11130
|
]
|
|
10740
11131
|
},
|
|
10741
11132
|
"useDefaultSwitchClause": {
|
|
10742
|
-
"description": "Require the default clause in switch statements.\nSee
|
|
11133
|
+
"description": "Require the default clause in switch statements.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause",
|
|
10743
11134
|
"anyOf": [
|
|
10744
11135
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseConfiguration" },
|
|
10745
11136
|
{ "type": "null" }
|
|
10746
11137
|
]
|
|
10747
11138
|
},
|
|
10748
11139
|
"useDeprecatedReason": {
|
|
10749
|
-
"description": "Require specifying the reason argument when using @deprecated directive.\nSee
|
|
11140
|
+
"description": "Require specifying the reason argument when using @deprecated directive.\nSee https://biomejs.dev/linter/rules/use-deprecated-reason",
|
|
10750
11141
|
"anyOf": [
|
|
10751
11142
|
{ "$ref": "#/$defs/UseDeprecatedReasonConfiguration" },
|
|
10752
11143
|
{ "type": "null" }
|
|
10753
11144
|
]
|
|
10754
11145
|
},
|
|
10755
11146
|
"useEnumInitializers": {
|
|
10756
|
-
"description": "Require that each enum member value be explicitly initialized.\nSee
|
|
11147
|
+
"description": "Require that each enum member value be explicitly initialized.\nSee https://biomejs.dev/linter/rules/use-enum-initializers",
|
|
10757
11148
|
"anyOf": [
|
|
10758
11149
|
{ "$ref": "#/$defs/UseEnumInitializersConfiguration" },
|
|
10759
11150
|
{ "type": "null" }
|
|
10760
11151
|
]
|
|
10761
11152
|
},
|
|
10762
11153
|
"useExplicitLengthCheck": {
|
|
10763
|
-
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee
|
|
11154
|
+
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee https://biomejs.dev/linter/rules/use-explicit-length-check",
|
|
10764
11155
|
"anyOf": [
|
|
10765
11156
|
{ "$ref": "#/$defs/UseExplicitLengthCheckConfiguration" },
|
|
10766
11157
|
{ "type": "null" }
|
|
10767
11158
|
]
|
|
10768
11159
|
},
|
|
10769
11160
|
"useExponentiationOperator": {
|
|
10770
|
-
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee
|
|
11161
|
+
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee https://biomejs.dev/linter/rules/use-exponentiation-operator",
|
|
10771
11162
|
"anyOf": [
|
|
10772
11163
|
{ "$ref": "#/$defs/UseExponentiationOperatorConfiguration" },
|
|
10773
11164
|
{ "type": "null" }
|
|
10774
11165
|
]
|
|
10775
11166
|
},
|
|
10776
11167
|
"useExportType": {
|
|
10777
|
-
"description": "Promotes the use of export type for types.\nSee
|
|
11168
|
+
"description": "Promotes the use of export type for types.\nSee https://biomejs.dev/linter/rules/use-export-type",
|
|
10778
11169
|
"anyOf": [
|
|
10779
11170
|
{ "$ref": "#/$defs/UseExportTypeConfiguration" },
|
|
10780
11171
|
{ "type": "null" }
|
|
10781
11172
|
]
|
|
10782
11173
|
},
|
|
10783
11174
|
"useExportsLast": {
|
|
10784
|
-
"description": "Require that all exports are declared after all non-export statements.\nSee
|
|
11175
|
+
"description": "Require that all exports are declared after all non-export statements.\nSee https://biomejs.dev/linter/rules/use-exports-last",
|
|
10785
11176
|
"anyOf": [
|
|
10786
11177
|
{ "$ref": "#/$defs/UseExportsLastConfiguration" },
|
|
10787
11178
|
{ "type": "null" }
|
|
10788
11179
|
]
|
|
10789
11180
|
},
|
|
10790
11181
|
"useFilenamingConvention": {
|
|
10791
|
-
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee
|
|
11182
|
+
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee https://biomejs.dev/linter/rules/use-filenaming-convention",
|
|
10792
11183
|
"anyOf": [
|
|
10793
11184
|
{ "$ref": "#/$defs/UseFilenamingConventionConfiguration" },
|
|
10794
11185
|
{ "type": "null" }
|
|
10795
11186
|
]
|
|
10796
11187
|
},
|
|
10797
11188
|
"useForOf": {
|
|
10798
|
-
"description": "Prefer using for...of loops over standard for loops where possible.\nSee
|
|
11189
|
+
"description": "Prefer using for...of loops over standard for loops where possible.\nSee https://biomejs.dev/linter/rules/use-for-of",
|
|
10799
11190
|
"anyOf": [
|
|
10800
11191
|
{ "$ref": "#/$defs/UseForOfConfiguration" },
|
|
10801
11192
|
{ "type": "null" }
|
|
10802
11193
|
]
|
|
10803
11194
|
},
|
|
10804
11195
|
"useFragmentSyntax": {
|
|
10805
|
-
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee
|
|
11196
|
+
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee https://biomejs.dev/linter/rules/use-fragment-syntax",
|
|
10806
11197
|
"anyOf": [
|
|
10807
11198
|
{ "$ref": "#/$defs/UseFragmentSyntaxConfiguration" },
|
|
10808
11199
|
{ "type": "null" }
|
|
10809
11200
|
]
|
|
10810
11201
|
},
|
|
10811
11202
|
"useGraphqlNamingConvention": {
|
|
10812
|
-
"description": "Validates that all enum values are capitalized.\nSee
|
|
11203
|
+
"description": "Validates that all enum values are capitalized.\nSee https://biomejs.dev/linter/rules/use-graphql-naming-convention",
|
|
10813
11204
|
"anyOf": [
|
|
10814
11205
|
{ "$ref": "#/$defs/UseGraphqlNamingConventionConfiguration" },
|
|
10815
11206
|
{ "type": "null" }
|
|
10816
11207
|
]
|
|
10817
11208
|
},
|
|
10818
11209
|
"useGroupedAccessorPairs": {
|
|
10819
|
-
"description": "Enforce that getters and setters for the same property are adjacent in class and object definitions.\nSee
|
|
11210
|
+
"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",
|
|
10820
11211
|
"anyOf": [
|
|
10821
11212
|
{ "$ref": "#/$defs/UseGroupedAccessorPairsConfiguration" },
|
|
10822
11213
|
{ "type": "null" }
|
|
10823
11214
|
]
|
|
10824
11215
|
},
|
|
10825
11216
|
"useImportType": {
|
|
10826
|
-
"description": "Promotes the use of import type for types.\nSee
|
|
11217
|
+
"description": "Promotes the use of import type for types.\nSee https://biomejs.dev/linter/rules/use-import-type",
|
|
10827
11218
|
"anyOf": [
|
|
10828
11219
|
{ "$ref": "#/$defs/UseImportTypeConfiguration" },
|
|
10829
11220
|
{ "type": "null" }
|
|
10830
11221
|
]
|
|
10831
11222
|
},
|
|
10832
11223
|
"useLiteralEnumMembers": {
|
|
10833
|
-
"description": "Require all enum members to be literal values.\nSee
|
|
11224
|
+
"description": "Require all enum members to be literal values.\nSee https://biomejs.dev/linter/rules/use-literal-enum-members",
|
|
10834
11225
|
"anyOf": [
|
|
10835
11226
|
{ "$ref": "#/$defs/UseLiteralEnumMembersConfiguration" },
|
|
10836
11227
|
{ "type": "null" }
|
|
10837
11228
|
]
|
|
10838
11229
|
},
|
|
10839
11230
|
"useNamingConvention": {
|
|
10840
|
-
"description": "Enforce naming conventions for everything across a codebase.\nSee
|
|
11231
|
+
"description": "Enforce naming conventions for everything across a codebase.\nSee https://biomejs.dev/linter/rules/use-naming-convention",
|
|
10841
11232
|
"anyOf": [
|
|
10842
11233
|
{ "$ref": "#/$defs/UseNamingConventionConfiguration" },
|
|
10843
11234
|
{ "type": "null" }
|
|
10844
11235
|
]
|
|
10845
11236
|
},
|
|
10846
11237
|
"useNodeAssertStrict": {
|
|
10847
|
-
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee
|
|
11238
|
+
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee https://biomejs.dev/linter/rules/use-node-assert-strict",
|
|
10848
11239
|
"anyOf": [
|
|
10849
11240
|
{ "$ref": "#/$defs/UseNodeAssertStrictConfiguration" },
|
|
10850
11241
|
{ "type": "null" }
|
|
10851
11242
|
]
|
|
10852
11243
|
},
|
|
10853
11244
|
"useNodejsImportProtocol": {
|
|
10854
|
-
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee
|
|
11245
|
+
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee https://biomejs.dev/linter/rules/use-nodejs-import-protocol",
|
|
10855
11246
|
"anyOf": [
|
|
10856
11247
|
{ "$ref": "#/$defs/UseNodejsImportProtocolConfiguration" },
|
|
10857
11248
|
{ "type": "null" }
|
|
10858
11249
|
]
|
|
10859
11250
|
},
|
|
10860
11251
|
"useNumberNamespace": {
|
|
10861
|
-
"description": "Use the Number properties instead of global ones.\nSee
|
|
11252
|
+
"description": "Use the Number properties instead of global ones.\nSee https://biomejs.dev/linter/rules/use-number-namespace",
|
|
10862
11253
|
"anyOf": [
|
|
10863
11254
|
{ "$ref": "#/$defs/UseNumberNamespaceConfiguration" },
|
|
10864
11255
|
{ "type": "null" }
|
|
10865
11256
|
]
|
|
10866
11257
|
},
|
|
10867
11258
|
"useNumericSeparators": {
|
|
10868
|
-
"description": "Enforce the use of numeric separators in numeric literals.\nSee
|
|
11259
|
+
"description": "Enforce the use of numeric separators in numeric literals.\nSee https://biomejs.dev/linter/rules/use-numeric-separators",
|
|
10869
11260
|
"anyOf": [
|
|
10870
11261
|
{ "$ref": "#/$defs/UseNumericSeparatorsConfiguration" },
|
|
10871
11262
|
{ "type": "null" }
|
|
10872
11263
|
]
|
|
10873
11264
|
},
|
|
10874
11265
|
"useObjectSpread": {
|
|
10875
|
-
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee
|
|
11266
|
+
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee https://biomejs.dev/linter/rules/use-object-spread",
|
|
10876
11267
|
"anyOf": [
|
|
10877
11268
|
{ "$ref": "#/$defs/UseObjectSpreadConfiguration" },
|
|
10878
11269
|
{ "type": "null" }
|
|
10879
11270
|
]
|
|
10880
11271
|
},
|
|
10881
11272
|
"useReactFunctionComponents": {
|
|
10882
|
-
"description": "Enforce that components are defined as functions and never as classes.\nSee
|
|
11273
|
+
"description": "Enforce that components are defined as functions and never as classes.\nSee https://biomejs.dev/linter/rules/use-react-function-components",
|
|
10883
11274
|
"anyOf": [
|
|
10884
11275
|
{ "$ref": "#/$defs/UseReactFunctionComponentsConfiguration" },
|
|
10885
11276
|
{ "type": "null" }
|
|
10886
11277
|
]
|
|
10887
11278
|
},
|
|
10888
11279
|
"useReadonlyClassProperties": {
|
|
10889
|
-
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee
|
|
11280
|
+
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee https://biomejs.dev/linter/rules/use-readonly-class-properties",
|
|
10890
11281
|
"anyOf": [
|
|
10891
11282
|
{ "$ref": "#/$defs/UseReadonlyClassPropertiesConfiguration" },
|
|
10892
11283
|
{ "type": "null" }
|
|
10893
11284
|
]
|
|
10894
11285
|
},
|
|
10895
11286
|
"useSelfClosingElements": {
|
|
10896
|
-
"description": "Prevent extra closing tags for components without children.\nSee
|
|
11287
|
+
"description": "Prevent extra closing tags for components without children.\nSee https://biomejs.dev/linter/rules/use-self-closing-elements",
|
|
10897
11288
|
"anyOf": [
|
|
10898
11289
|
{ "$ref": "#/$defs/UseSelfClosingElementsConfiguration" },
|
|
10899
11290
|
{ "type": "null" }
|
|
10900
11291
|
]
|
|
10901
11292
|
},
|
|
10902
11293
|
"useShorthandAssign": {
|
|
10903
|
-
"description": "Require assignment operator shorthand where possible.\nSee
|
|
11294
|
+
"description": "Require assignment operator shorthand where possible.\nSee https://biomejs.dev/linter/rules/use-shorthand-assign",
|
|
10904
11295
|
"anyOf": [
|
|
10905
11296
|
{ "$ref": "#/$defs/UseShorthandAssignConfiguration" },
|
|
10906
11297
|
{ "type": "null" }
|
|
10907
11298
|
]
|
|
10908
11299
|
},
|
|
10909
11300
|
"useShorthandFunctionType": {
|
|
10910
|
-
"description": "Enforce using function types instead of object type with call signatures.\nSee
|
|
11301
|
+
"description": "Enforce using function types instead of object type with call signatures.\nSee https://biomejs.dev/linter/rules/use-shorthand-function-type",
|
|
10911
11302
|
"anyOf": [
|
|
10912
11303
|
{ "$ref": "#/$defs/UseShorthandFunctionTypeConfiguration" },
|
|
10913
11304
|
{ "type": "null" }
|
|
10914
11305
|
]
|
|
10915
11306
|
},
|
|
10916
11307
|
"useSingleVarDeclarator": {
|
|
10917
|
-
"description": "Disallow multiple variable declarations in the same variable statement.\nSee
|
|
11308
|
+
"description": "Disallow multiple variable declarations in the same variable statement.\nSee https://biomejs.dev/linter/rules/use-single-var-declarator",
|
|
10918
11309
|
"anyOf": [
|
|
10919
11310
|
{ "$ref": "#/$defs/UseSingleVarDeclaratorConfiguration" },
|
|
10920
11311
|
{ "type": "null" }
|
|
10921
11312
|
]
|
|
10922
11313
|
},
|
|
10923
11314
|
"useSymbolDescription": {
|
|
10924
|
-
"description": "Require a description parameter for the Symbol().\nSee
|
|
11315
|
+
"description": "Require a description parameter for the Symbol().\nSee https://biomejs.dev/linter/rules/use-symbol-description",
|
|
10925
11316
|
"anyOf": [
|
|
10926
11317
|
{ "$ref": "#/$defs/UseSymbolDescriptionConfiguration" },
|
|
10927
11318
|
{ "type": "null" }
|
|
10928
11319
|
]
|
|
10929
11320
|
},
|
|
10930
11321
|
"useTemplate": {
|
|
10931
|
-
"description": "Prefer template literals over string concatenation.\nSee
|
|
11322
|
+
"description": "Prefer template literals over string concatenation.\nSee https://biomejs.dev/linter/rules/use-template",
|
|
10932
11323
|
"anyOf": [
|
|
10933
11324
|
{ "$ref": "#/$defs/UseTemplateConfiguration" },
|
|
10934
11325
|
{ "type": "null" }
|
|
10935
11326
|
]
|
|
10936
11327
|
},
|
|
10937
11328
|
"useThrowNewError": {
|
|
10938
|
-
"description": "Require new when throwing an error.\nSee
|
|
11329
|
+
"description": "Require new when throwing an error.\nSee https://biomejs.dev/linter/rules/use-throw-new-error",
|
|
10939
11330
|
"anyOf": [
|
|
10940
11331
|
{ "$ref": "#/$defs/UseThrowNewErrorConfiguration" },
|
|
10941
11332
|
{ "type": "null" }
|
|
10942
11333
|
]
|
|
10943
11334
|
},
|
|
10944
11335
|
"useThrowOnlyError": {
|
|
10945
|
-
"description": "Disallow throwing non-Error values.\nSee
|
|
11336
|
+
"description": "Disallow throwing non-Error values.\nSee https://biomejs.dev/linter/rules/use-throw-only-error",
|
|
10946
11337
|
"anyOf": [
|
|
10947
11338
|
{ "$ref": "#/$defs/UseThrowOnlyErrorConfiguration" },
|
|
10948
11339
|
{ "type": "null" }
|
|
10949
11340
|
]
|
|
10950
11341
|
},
|
|
10951
11342
|
"useTrimStartEnd": {
|
|
10952
|
-
"description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().\nSee
|
|
11343
|
+
"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",
|
|
10953
11344
|
"anyOf": [
|
|
10954
11345
|
{ "$ref": "#/$defs/UseTrimStartEndConfiguration" },
|
|
10955
11346
|
{ "type": "null" }
|
|
10956
11347
|
]
|
|
10957
11348
|
},
|
|
10958
11349
|
"useUnifiedTypeSignatures": {
|
|
10959
|
-
"description": "Disallow overload signatures that can be unified into a single signature.\nSee
|
|
11350
|
+
"description": "Disallow overload signatures that can be unified into a single signature.\nSee https://biomejs.dev/linter/rules/use-unified-type-signatures",
|
|
10960
11351
|
"anyOf": [
|
|
10961
11352
|
{ "$ref": "#/$defs/UseUnifiedTypeSignaturesConfiguration" },
|
|
10962
11353
|
{ "type": "null" }
|
|
@@ -10970,231 +11361,231 @@
|
|
|
10970
11361
|
"type": "object",
|
|
10971
11362
|
"properties": {
|
|
10972
11363
|
"noAlert": {
|
|
10973
|
-
"description": "Disallow the use of alert, confirm, and prompt.\nSee
|
|
11364
|
+
"description": "Disallow the use of alert, confirm, and prompt.\nSee https://biomejs.dev/linter/rules/no-alert",
|
|
10974
11365
|
"anyOf": [
|
|
10975
11366
|
{ "$ref": "#/$defs/NoAlertConfiguration" },
|
|
10976
11367
|
{ "type": "null" }
|
|
10977
11368
|
]
|
|
10978
11369
|
},
|
|
10979
11370
|
"noApproximativeNumericConstant": {
|
|
10980
|
-
"description": "Use standard constants instead of approximated literals.\nSee
|
|
11371
|
+
"description": "Use standard constants instead of approximated literals.\nSee https://biomejs.dev/linter/rules/no-approximative-numeric-constant",
|
|
10981
11372
|
"anyOf": [
|
|
10982
11373
|
{ "$ref": "#/$defs/NoApproximativeNumericConstantConfiguration" },
|
|
10983
11374
|
{ "type": "null" }
|
|
10984
11375
|
]
|
|
10985
11376
|
},
|
|
10986
11377
|
"noArrayIndexKey": {
|
|
10987
|
-
"description": "Discourage the usage of Array index in keys.\nSee
|
|
11378
|
+
"description": "Discourage the usage of Array index in keys.\nSee https://biomejs.dev/linter/rules/no-array-index-key",
|
|
10988
11379
|
"anyOf": [
|
|
10989
11380
|
{ "$ref": "#/$defs/NoArrayIndexKeyConfiguration" },
|
|
10990
11381
|
{ "type": "null" }
|
|
10991
11382
|
]
|
|
10992
11383
|
},
|
|
10993
11384
|
"noAssignInExpressions": {
|
|
10994
|
-
"description": "Disallow assignments in expressions.\nSee
|
|
11385
|
+
"description": "Disallow assignments in expressions.\nSee https://biomejs.dev/linter/rules/no-assign-in-expressions",
|
|
10995
11386
|
"anyOf": [
|
|
10996
11387
|
{ "$ref": "#/$defs/NoAssignInExpressionsConfiguration" },
|
|
10997
11388
|
{ "type": "null" }
|
|
10998
11389
|
]
|
|
10999
11390
|
},
|
|
11000
11391
|
"noAsyncPromiseExecutor": {
|
|
11001
|
-
"description": "Disallows using an async function as a Promise executor.\nSee
|
|
11392
|
+
"description": "Disallows using an async function as a Promise executor.\nSee https://biomejs.dev/linter/rules/no-async-promise-executor",
|
|
11002
11393
|
"anyOf": [
|
|
11003
11394
|
{ "$ref": "#/$defs/NoAsyncPromiseExecutorConfiguration" },
|
|
11004
11395
|
{ "type": "null" }
|
|
11005
11396
|
]
|
|
11006
11397
|
},
|
|
11007
11398
|
"noBiomeFirstException": {
|
|
11008
|
-
"description": "Prevents the misuse of glob patterns inside the files.includes field.\nSee
|
|
11399
|
+
"description": "Prevents the misuse of glob patterns inside the files.includes field.\nSee https://biomejs.dev/linter/rules/no-biome-first-exception",
|
|
11009
11400
|
"anyOf": [
|
|
11010
11401
|
{ "$ref": "#/$defs/NoBiomeFirstExceptionConfiguration" },
|
|
11011
11402
|
{ "type": "null" }
|
|
11012
11403
|
]
|
|
11013
11404
|
},
|
|
11014
11405
|
"noBitwiseOperators": {
|
|
11015
|
-
"description": "Disallow bitwise operators.\nSee
|
|
11406
|
+
"description": "Disallow bitwise operators.\nSee https://biomejs.dev/linter/rules/no-bitwise-operators",
|
|
11016
11407
|
"anyOf": [
|
|
11017
11408
|
{ "$ref": "#/$defs/NoBitwiseOperatorsConfiguration" },
|
|
11018
11409
|
{ "type": "null" }
|
|
11019
11410
|
]
|
|
11020
11411
|
},
|
|
11021
11412
|
"noCatchAssign": {
|
|
11022
|
-
"description": "Disallow reassigning exceptions in catch clauses.\nSee
|
|
11413
|
+
"description": "Disallow reassigning exceptions in catch clauses.\nSee https://biomejs.dev/linter/rules/no-catch-assign",
|
|
11023
11414
|
"anyOf": [
|
|
11024
11415
|
{ "$ref": "#/$defs/NoCatchAssignConfiguration" },
|
|
11025
11416
|
{ "type": "null" }
|
|
11026
11417
|
]
|
|
11027
11418
|
},
|
|
11028
11419
|
"noClassAssign": {
|
|
11029
|
-
"description": "Disallow reassigning class members.\nSee
|
|
11420
|
+
"description": "Disallow reassigning class members.\nSee https://biomejs.dev/linter/rules/no-class-assign",
|
|
11030
11421
|
"anyOf": [
|
|
11031
11422
|
{ "$ref": "#/$defs/NoClassAssignConfiguration" },
|
|
11032
11423
|
{ "type": "null" }
|
|
11033
11424
|
]
|
|
11034
11425
|
},
|
|
11035
11426
|
"noCommentText": {
|
|
11036
|
-
"description": "Prevent comments from being inserted as text nodes.\nSee
|
|
11427
|
+
"description": "Prevent comments from being inserted as text nodes.\nSee https://biomejs.dev/linter/rules/no-comment-text",
|
|
11037
11428
|
"anyOf": [
|
|
11038
11429
|
{ "$ref": "#/$defs/NoCommentTextConfiguration" },
|
|
11039
11430
|
{ "type": "null" }
|
|
11040
11431
|
]
|
|
11041
11432
|
},
|
|
11042
11433
|
"noCompareNegZero": {
|
|
11043
|
-
"description": "Disallow comparing against -0.\nSee
|
|
11434
|
+
"description": "Disallow comparing against -0.\nSee https://biomejs.dev/linter/rules/no-compare-neg-zero",
|
|
11044
11435
|
"anyOf": [
|
|
11045
11436
|
{ "$ref": "#/$defs/NoCompareNegZeroConfiguration" },
|
|
11046
11437
|
{ "type": "null" }
|
|
11047
11438
|
]
|
|
11048
11439
|
},
|
|
11049
11440
|
"noConfusingLabels": {
|
|
11050
|
-
"description": "Disallow labeled statements that are not loops.\nSee
|
|
11441
|
+
"description": "Disallow labeled statements that are not loops.\nSee https://biomejs.dev/linter/rules/no-confusing-labels",
|
|
11051
11442
|
"anyOf": [
|
|
11052
11443
|
{ "$ref": "#/$defs/NoConfusingLabelsConfiguration" },
|
|
11053
11444
|
{ "type": "null" }
|
|
11054
11445
|
]
|
|
11055
11446
|
},
|
|
11056
11447
|
"noConfusingVoidType": {
|
|
11057
|
-
"description": "Disallow void type outside of generic or return types.\nSee
|
|
11448
|
+
"description": "Disallow void type outside of generic or return types.\nSee https://biomejs.dev/linter/rules/no-confusing-void-type",
|
|
11058
11449
|
"anyOf": [
|
|
11059
11450
|
{ "$ref": "#/$defs/NoConfusingVoidTypeConfiguration" },
|
|
11060
11451
|
{ "type": "null" }
|
|
11061
11452
|
]
|
|
11062
11453
|
},
|
|
11063
11454
|
"noConsole": {
|
|
11064
|
-
"description": "Disallow the use of console.\nSee
|
|
11455
|
+
"description": "Disallow the use of console.\nSee https://biomejs.dev/linter/rules/no-console",
|
|
11065
11456
|
"anyOf": [
|
|
11066
11457
|
{ "$ref": "#/$defs/NoConsoleConfiguration" },
|
|
11067
11458
|
{ "type": "null" }
|
|
11068
11459
|
]
|
|
11069
11460
|
},
|
|
11070
11461
|
"noConstEnum": {
|
|
11071
|
-
"description": "Disallow TypeScript const enum.\nSee
|
|
11462
|
+
"description": "Disallow TypeScript const enum.\nSee https://biomejs.dev/linter/rules/no-const-enum",
|
|
11072
11463
|
"anyOf": [
|
|
11073
11464
|
{ "$ref": "#/$defs/NoConstEnumConfiguration" },
|
|
11074
11465
|
{ "type": "null" }
|
|
11075
11466
|
]
|
|
11076
11467
|
},
|
|
11077
11468
|
"noConstantBinaryExpressions": {
|
|
11078
|
-
"description": "Disallow expressions where the operation doesn't affect the value.\nSee
|
|
11469
|
+
"description": "Disallow expressions where the operation doesn't affect the value.\nSee https://biomejs.dev/linter/rules/no-constant-binary-expressions",
|
|
11079
11470
|
"anyOf": [
|
|
11080
11471
|
{ "$ref": "#/$defs/NoConstantBinaryExpressionsConfiguration" },
|
|
11081
11472
|
{ "type": "null" }
|
|
11082
11473
|
]
|
|
11083
11474
|
},
|
|
11084
11475
|
"noControlCharactersInRegex": {
|
|
11085
|
-
"description": "Prevents from having control characters and some escape sequences that match control characters in regular expression literals.\nSee
|
|
11476
|
+
"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",
|
|
11086
11477
|
"anyOf": [
|
|
11087
11478
|
{ "$ref": "#/$defs/NoControlCharactersInRegexConfiguration" },
|
|
11088
11479
|
{ "type": "null" }
|
|
11089
11480
|
]
|
|
11090
11481
|
},
|
|
11091
11482
|
"noDebugger": {
|
|
11092
|
-
"description": "Disallow the use of debugger.\nSee
|
|
11483
|
+
"description": "Disallow the use of debugger.\nSee https://biomejs.dev/linter/rules/no-debugger",
|
|
11093
11484
|
"anyOf": [
|
|
11094
11485
|
{ "$ref": "#/$defs/NoDebuggerConfiguration" },
|
|
11095
11486
|
{ "type": "null" }
|
|
11096
11487
|
]
|
|
11097
11488
|
},
|
|
11098
11489
|
"noDocumentCookie": {
|
|
11099
|
-
"description": "Disallow direct assignments to document.cookie.\nSee
|
|
11490
|
+
"description": "Disallow direct assignments to document.cookie.\nSee https://biomejs.dev/linter/rules/no-document-cookie",
|
|
11100
11491
|
"anyOf": [
|
|
11101
11492
|
{ "$ref": "#/$defs/NoDocumentCookieConfiguration" },
|
|
11102
11493
|
{ "type": "null" }
|
|
11103
11494
|
]
|
|
11104
11495
|
},
|
|
11105
11496
|
"noDocumentImportInPage": {
|
|
11106
|
-
"description": "Prevents importing next/document outside of pages/_document.jsx in Next.js projects.\nSee
|
|
11497
|
+
"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",
|
|
11107
11498
|
"anyOf": [
|
|
11108
11499
|
{ "$ref": "#/$defs/NoDocumentImportInPageConfiguration" },
|
|
11109
11500
|
{ "type": "null" }
|
|
11110
11501
|
]
|
|
11111
11502
|
},
|
|
11112
11503
|
"noDoubleEquals": {
|
|
11113
|
-
"description": "Require the use of === and !==.\nSee
|
|
11504
|
+
"description": "Require the use of === and !==.\nSee https://biomejs.dev/linter/rules/no-double-equals",
|
|
11114
11505
|
"anyOf": [
|
|
11115
11506
|
{ "$ref": "#/$defs/NoDoubleEqualsConfiguration" },
|
|
11116
11507
|
{ "type": "null" }
|
|
11117
11508
|
]
|
|
11118
11509
|
},
|
|
11119
11510
|
"noDuplicateAtImportRules": {
|
|
11120
|
-
"description": "Disallow duplicate @import rules.\nSee
|
|
11511
|
+
"description": "Disallow duplicate @import rules.\nSee https://biomejs.dev/linter/rules/no-duplicate-at-import-rules",
|
|
11121
11512
|
"anyOf": [
|
|
11122
11513
|
{ "$ref": "#/$defs/NoDuplicateAtImportRulesConfiguration" },
|
|
11123
11514
|
{ "type": "null" }
|
|
11124
11515
|
]
|
|
11125
11516
|
},
|
|
11126
11517
|
"noDuplicateCase": {
|
|
11127
|
-
"description": "Disallow duplicate case labels.\nSee
|
|
11518
|
+
"description": "Disallow duplicate case labels.\nSee https://biomejs.dev/linter/rules/no-duplicate-case",
|
|
11128
11519
|
"anyOf": [
|
|
11129
11520
|
{ "$ref": "#/$defs/NoDuplicateCaseConfiguration" },
|
|
11130
11521
|
{ "type": "null" }
|
|
11131
11522
|
]
|
|
11132
11523
|
},
|
|
11133
11524
|
"noDuplicateClassMembers": {
|
|
11134
|
-
"description": "Disallow duplicate class members.\nSee
|
|
11525
|
+
"description": "Disallow duplicate class members.\nSee https://biomejs.dev/linter/rules/no-duplicate-class-members",
|
|
11135
11526
|
"anyOf": [
|
|
11136
11527
|
{ "$ref": "#/$defs/NoDuplicateClassMembersConfiguration" },
|
|
11137
11528
|
{ "type": "null" }
|
|
11138
11529
|
]
|
|
11139
11530
|
},
|
|
11140
11531
|
"noDuplicateCustomProperties": {
|
|
11141
|
-
"description": "Disallow duplicate custom properties within declaration blocks.\nSee
|
|
11532
|
+
"description": "Disallow duplicate custom properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-custom-properties",
|
|
11142
11533
|
"anyOf": [
|
|
11143
11534
|
{ "$ref": "#/$defs/NoDuplicateCustomPropertiesConfiguration" },
|
|
11144
11535
|
{ "type": "null" }
|
|
11145
11536
|
]
|
|
11146
11537
|
},
|
|
11147
11538
|
"noDuplicateElseIf": {
|
|
11148
|
-
"description": "Disallow duplicate conditions in if-else-if chains.\nSee
|
|
11539
|
+
"description": "Disallow duplicate conditions in if-else-if chains.\nSee https://biomejs.dev/linter/rules/no-duplicate-else-if",
|
|
11149
11540
|
"anyOf": [
|
|
11150
11541
|
{ "$ref": "#/$defs/NoDuplicateElseIfConfiguration" },
|
|
11151
11542
|
{ "type": "null" }
|
|
11152
11543
|
]
|
|
11153
11544
|
},
|
|
11154
11545
|
"noDuplicateFields": {
|
|
11155
|
-
"description": "No duplicated fields in GraphQL operations.\nSee
|
|
11546
|
+
"description": "No duplicated fields in GraphQL operations.\nSee https://biomejs.dev/linter/rules/no-duplicate-fields",
|
|
11156
11547
|
"anyOf": [
|
|
11157
11548
|
{ "$ref": "#/$defs/NoDuplicateFieldsConfiguration" },
|
|
11158
11549
|
{ "type": "null" }
|
|
11159
11550
|
]
|
|
11160
11551
|
},
|
|
11161
11552
|
"noDuplicateFontNames": {
|
|
11162
|
-
"description": "Disallow duplicate names within font families.\nSee
|
|
11553
|
+
"description": "Disallow duplicate names within font families.\nSee https://biomejs.dev/linter/rules/no-duplicate-font-names",
|
|
11163
11554
|
"anyOf": [
|
|
11164
11555
|
{ "$ref": "#/$defs/NoDuplicateFontNamesConfiguration" },
|
|
11165
11556
|
{ "type": "null" }
|
|
11166
11557
|
]
|
|
11167
11558
|
},
|
|
11168
11559
|
"noDuplicateJsxProps": {
|
|
11169
|
-
"description": "Prevents JSX properties to be assigned multiple times.\nSee
|
|
11560
|
+
"description": "Prevents JSX properties to be assigned multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicate-jsx-props",
|
|
11170
11561
|
"anyOf": [
|
|
11171
11562
|
{ "$ref": "#/$defs/NoDuplicateJsxPropsConfiguration" },
|
|
11172
11563
|
{ "type": "null" }
|
|
11173
11564
|
]
|
|
11174
11565
|
},
|
|
11175
11566
|
"noDuplicateObjectKeys": {
|
|
11176
|
-
"description": "Disallow two keys with the same name inside objects.\nSee
|
|
11567
|
+
"description": "Disallow two keys with the same name inside objects.\nSee https://biomejs.dev/linter/rules/no-duplicate-object-keys",
|
|
11177
11568
|
"anyOf": [
|
|
11178
11569
|
{ "$ref": "#/$defs/NoDuplicateObjectKeysConfiguration" },
|
|
11179
11570
|
{ "type": "null" }
|
|
11180
11571
|
]
|
|
11181
11572
|
},
|
|
11182
11573
|
"noDuplicateParameters": {
|
|
11183
|
-
"description": "Disallow duplicate function parameter name.\nSee
|
|
11574
|
+
"description": "Disallow duplicate function parameter name.\nSee https://biomejs.dev/linter/rules/no-duplicate-parameters",
|
|
11184
11575
|
"anyOf": [
|
|
11185
11576
|
{ "$ref": "#/$defs/NoDuplicateParametersConfiguration" },
|
|
11186
11577
|
{ "type": "null" }
|
|
11187
11578
|
]
|
|
11188
11579
|
},
|
|
11189
11580
|
"noDuplicateProperties": {
|
|
11190
|
-
"description": "Disallow duplicate properties within declaration blocks.\nSee
|
|
11581
|
+
"description": "Disallow duplicate properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-properties",
|
|
11191
11582
|
"anyOf": [
|
|
11192
11583
|
{ "$ref": "#/$defs/NoDuplicatePropertiesConfiguration" },
|
|
11193
11584
|
{ "type": "null" }
|
|
11194
11585
|
]
|
|
11195
11586
|
},
|
|
11196
11587
|
"noDuplicateSelectorsKeyframeBlock": {
|
|
11197
|
-
"description": "Disallow duplicate selectors within keyframe blocks.\nSee
|
|
11588
|
+
"description": "Disallow duplicate selectors within keyframe blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block",
|
|
11198
11589
|
"anyOf": [
|
|
11199
11590
|
{
|
|
11200
11591
|
"$ref": "#/$defs/NoDuplicateSelectorsKeyframeBlockConfiguration"
|
|
@@ -11203,336 +11594,336 @@
|
|
|
11203
11594
|
]
|
|
11204
11595
|
},
|
|
11205
11596
|
"noDuplicateTestHooks": {
|
|
11206
|
-
"description": "A describe block should not contain duplicate hooks.\nSee
|
|
11597
|
+
"description": "A describe block should not contain duplicate hooks.\nSee https://biomejs.dev/linter/rules/no-duplicate-test-hooks",
|
|
11207
11598
|
"anyOf": [
|
|
11208
11599
|
{ "$ref": "#/$defs/NoDuplicateTestHooksConfiguration" },
|
|
11209
11600
|
{ "type": "null" }
|
|
11210
11601
|
]
|
|
11211
11602
|
},
|
|
11212
11603
|
"noEmptyBlock": {
|
|
11213
|
-
"description": "Disallow CSS empty blocks.\nSee
|
|
11604
|
+
"description": "Disallow CSS empty blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block",
|
|
11214
11605
|
"anyOf": [
|
|
11215
11606
|
{ "$ref": "#/$defs/NoEmptyBlockConfiguration" },
|
|
11216
11607
|
{ "type": "null" }
|
|
11217
11608
|
]
|
|
11218
11609
|
},
|
|
11219
11610
|
"noEmptyBlockStatements": {
|
|
11220
|
-
"description": "Disallow empty block statements and static blocks.\nSee
|
|
11611
|
+
"description": "Disallow empty block statements and static blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block-statements",
|
|
11221
11612
|
"anyOf": [
|
|
11222
11613
|
{ "$ref": "#/$defs/NoEmptyBlockStatementsConfiguration" },
|
|
11223
11614
|
{ "type": "null" }
|
|
11224
11615
|
]
|
|
11225
11616
|
},
|
|
11226
11617
|
"noEmptyInterface": {
|
|
11227
|
-
"description": "Disallow the declaration of empty interfaces.\nSee
|
|
11618
|
+
"description": "Disallow the declaration of empty interfaces.\nSee https://biomejs.dev/linter/rules/no-empty-interface",
|
|
11228
11619
|
"anyOf": [
|
|
11229
11620
|
{ "$ref": "#/$defs/NoEmptyInterfaceConfiguration" },
|
|
11230
11621
|
{ "type": "null" }
|
|
11231
11622
|
]
|
|
11232
11623
|
},
|
|
11233
11624
|
"noEvolvingTypes": {
|
|
11234
|
-
"description": "Disallow variables from evolving into any type through reassignments.\nSee
|
|
11625
|
+
"description": "Disallow variables from evolving into any type through reassignments.\nSee https://biomejs.dev/linter/rules/no-evolving-types",
|
|
11235
11626
|
"anyOf": [
|
|
11236
11627
|
{ "$ref": "#/$defs/NoEvolvingTypesConfiguration" },
|
|
11237
11628
|
{ "type": "null" }
|
|
11238
11629
|
]
|
|
11239
11630
|
},
|
|
11240
11631
|
"noExplicitAny": {
|
|
11241
|
-
"description": "Disallow the any type usage.\nSee
|
|
11632
|
+
"description": "Disallow the any type usage.\nSee https://biomejs.dev/linter/rules/no-explicit-any",
|
|
11242
11633
|
"anyOf": [
|
|
11243
11634
|
{ "$ref": "#/$defs/NoExplicitAnyConfiguration" },
|
|
11244
11635
|
{ "type": "null" }
|
|
11245
11636
|
]
|
|
11246
11637
|
},
|
|
11247
11638
|
"noExportsInTest": {
|
|
11248
|
-
"description": "Disallow using export or module.exports in files containing tests.\nSee
|
|
11639
|
+
"description": "Disallow using export or module.exports in files containing tests.\nSee https://biomejs.dev/linter/rules/no-exports-in-test",
|
|
11249
11640
|
"anyOf": [
|
|
11250
11641
|
{ "$ref": "#/$defs/NoExportsInTestConfiguration" },
|
|
11251
11642
|
{ "type": "null" }
|
|
11252
11643
|
]
|
|
11253
11644
|
},
|
|
11254
11645
|
"noExtraNonNullAssertion": {
|
|
11255
|
-
"description": "Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.\nSee
|
|
11646
|
+
"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",
|
|
11256
11647
|
"anyOf": [
|
|
11257
11648
|
{ "$ref": "#/$defs/NoExtraNonNullAssertionConfiguration" },
|
|
11258
11649
|
{ "type": "null" }
|
|
11259
11650
|
]
|
|
11260
11651
|
},
|
|
11261
11652
|
"noFallthroughSwitchClause": {
|
|
11262
|
-
"description": "Disallow fallthrough of switch clauses.\nSee
|
|
11653
|
+
"description": "Disallow fallthrough of switch clauses.\nSee https://biomejs.dev/linter/rules/no-fallthrough-switch-clause",
|
|
11263
11654
|
"anyOf": [
|
|
11264
11655
|
{ "$ref": "#/$defs/NoFallthroughSwitchClauseConfiguration" },
|
|
11265
11656
|
{ "type": "null" }
|
|
11266
11657
|
]
|
|
11267
11658
|
},
|
|
11268
11659
|
"noFocusedTests": {
|
|
11269
|
-
"description": "Disallow focused tests.\nSee
|
|
11660
|
+
"description": "Disallow focused tests.\nSee https://biomejs.dev/linter/rules/no-focused-tests",
|
|
11270
11661
|
"anyOf": [
|
|
11271
11662
|
{ "$ref": "#/$defs/NoFocusedTestsConfiguration" },
|
|
11272
11663
|
{ "type": "null" }
|
|
11273
11664
|
]
|
|
11274
11665
|
},
|
|
11275
11666
|
"noFunctionAssign": {
|
|
11276
|
-
"description": "Disallow reassigning function declarations.\nSee
|
|
11667
|
+
"description": "Disallow reassigning function declarations.\nSee https://biomejs.dev/linter/rules/no-function-assign",
|
|
11277
11668
|
"anyOf": [
|
|
11278
11669
|
{ "$ref": "#/$defs/NoFunctionAssignConfiguration" },
|
|
11279
11670
|
{ "type": "null" }
|
|
11280
11671
|
]
|
|
11281
11672
|
},
|
|
11282
11673
|
"noGlobalAssign": {
|
|
11283
|
-
"description": "Disallow assignments to native objects and read-only global variables.\nSee
|
|
11674
|
+
"description": "Disallow assignments to native objects and read-only global variables.\nSee https://biomejs.dev/linter/rules/no-global-assign",
|
|
11284
11675
|
"anyOf": [
|
|
11285
11676
|
{ "$ref": "#/$defs/NoGlobalAssignConfiguration" },
|
|
11286
11677
|
{ "type": "null" }
|
|
11287
11678
|
]
|
|
11288
11679
|
},
|
|
11289
11680
|
"noGlobalIsFinite": {
|
|
11290
|
-
"description": "Use Number.isFinite instead of global isFinite.\nSee
|
|
11681
|
+
"description": "Use Number.isFinite instead of global isFinite.\nSee https://biomejs.dev/linter/rules/no-global-is-finite",
|
|
11291
11682
|
"anyOf": [
|
|
11292
11683
|
{ "$ref": "#/$defs/NoGlobalIsFiniteConfiguration" },
|
|
11293
11684
|
{ "type": "null" }
|
|
11294
11685
|
]
|
|
11295
11686
|
},
|
|
11296
11687
|
"noGlobalIsNan": {
|
|
11297
|
-
"description": "Use Number.isNaN instead of global isNaN.\nSee
|
|
11688
|
+
"description": "Use Number.isNaN instead of global isNaN.\nSee https://biomejs.dev/linter/rules/no-global-is-nan",
|
|
11298
11689
|
"anyOf": [
|
|
11299
11690
|
{ "$ref": "#/$defs/NoGlobalIsNanConfiguration" },
|
|
11300
11691
|
{ "type": "null" }
|
|
11301
11692
|
]
|
|
11302
11693
|
},
|
|
11303
11694
|
"noHeadImportInDocument": {
|
|
11304
|
-
"description": "Prevent using the next/head module in pages/_document.js on Next.js projects.\nSee
|
|
11695
|
+
"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",
|
|
11305
11696
|
"anyOf": [
|
|
11306
11697
|
{ "$ref": "#/$defs/NoHeadImportInDocumentConfiguration" },
|
|
11307
11698
|
{ "type": "null" }
|
|
11308
11699
|
]
|
|
11309
11700
|
},
|
|
11310
11701
|
"noImplicitAnyLet": {
|
|
11311
|
-
"description": "Disallow use of implicit any type on variable declarations.\nSee
|
|
11702
|
+
"description": "Disallow use of implicit any type on variable declarations.\nSee https://biomejs.dev/linter/rules/no-implicit-any-let",
|
|
11312
11703
|
"anyOf": [
|
|
11313
11704
|
{ "$ref": "#/$defs/NoImplicitAnyLetConfiguration" },
|
|
11314
11705
|
{ "type": "null" }
|
|
11315
11706
|
]
|
|
11316
11707
|
},
|
|
11317
11708
|
"noImportAssign": {
|
|
11318
|
-
"description": "Disallow assigning to imported bindings.\nSee
|
|
11709
|
+
"description": "Disallow assigning to imported bindings.\nSee https://biomejs.dev/linter/rules/no-import-assign",
|
|
11319
11710
|
"anyOf": [
|
|
11320
11711
|
{ "$ref": "#/$defs/NoImportAssignConfiguration" },
|
|
11321
11712
|
{ "type": "null" }
|
|
11322
11713
|
]
|
|
11323
11714
|
},
|
|
11324
11715
|
"noImportantInKeyframe": {
|
|
11325
|
-
"description": "Disallow invalid !important within keyframe declarations.\nSee
|
|
11716
|
+
"description": "Disallow invalid !important within keyframe declarations.\nSee https://biomejs.dev/linter/rules/no-important-in-keyframe",
|
|
11326
11717
|
"anyOf": [
|
|
11327
11718
|
{ "$ref": "#/$defs/NoImportantInKeyframeConfiguration" },
|
|
11328
11719
|
{ "type": "null" }
|
|
11329
11720
|
]
|
|
11330
11721
|
},
|
|
11331
11722
|
"noIrregularWhitespace": {
|
|
11332
|
-
"description": "Disallows the use of irregular whitespace characters.\nSee
|
|
11723
|
+
"description": "Disallows the use of irregular whitespace characters.\nSee https://biomejs.dev/linter/rules/no-irregular-whitespace",
|
|
11333
11724
|
"anyOf": [
|
|
11334
11725
|
{ "$ref": "#/$defs/NoIrregularWhitespaceConfiguration" },
|
|
11335
11726
|
{ "type": "null" }
|
|
11336
11727
|
]
|
|
11337
11728
|
},
|
|
11338
11729
|
"noLabelVar": {
|
|
11339
|
-
"description": "Disallow labels that share a name with a variable.\nSee
|
|
11730
|
+
"description": "Disallow labels that share a name with a variable.\nSee https://biomejs.dev/linter/rules/no-label-var",
|
|
11340
11731
|
"anyOf": [
|
|
11341
11732
|
{ "$ref": "#/$defs/NoLabelVarConfiguration" },
|
|
11342
11733
|
{ "type": "null" }
|
|
11343
11734
|
]
|
|
11344
11735
|
},
|
|
11345
11736
|
"noMisleadingCharacterClass": {
|
|
11346
|
-
"description": "Disallow characters made with multiple code points in character class syntax.\nSee
|
|
11737
|
+
"description": "Disallow characters made with multiple code points in character class syntax.\nSee https://biomejs.dev/linter/rules/no-misleading-character-class",
|
|
11347
11738
|
"anyOf": [
|
|
11348
11739
|
{ "$ref": "#/$defs/NoMisleadingCharacterClassConfiguration" },
|
|
11349
11740
|
{ "type": "null" }
|
|
11350
11741
|
]
|
|
11351
11742
|
},
|
|
11352
11743
|
"noMisleadingInstantiator": {
|
|
11353
|
-
"description": "Enforce proper usage of new and constructor.\nSee
|
|
11744
|
+
"description": "Enforce proper usage of new and constructor.\nSee https://biomejs.dev/linter/rules/no-misleading-instantiator",
|
|
11354
11745
|
"anyOf": [
|
|
11355
11746
|
{ "$ref": "#/$defs/NoMisleadingInstantiatorConfiguration" },
|
|
11356
11747
|
{ "type": "null" }
|
|
11357
11748
|
]
|
|
11358
11749
|
},
|
|
11359
11750
|
"noMisplacedAssertion": {
|
|
11360
|
-
"description": "Checks that the assertion function, for example expect, is placed inside an it() function call.\nSee
|
|
11751
|
+
"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",
|
|
11361
11752
|
"anyOf": [
|
|
11362
11753
|
{ "$ref": "#/$defs/NoMisplacedAssertionConfiguration" },
|
|
11363
11754
|
{ "type": "null" }
|
|
11364
11755
|
]
|
|
11365
11756
|
},
|
|
11366
11757
|
"noMisrefactoredShorthandAssign": {
|
|
11367
|
-
"description": "Disallow shorthand assign when variable appears on both sides.\nSee
|
|
11758
|
+
"description": "Disallow shorthand assign when variable appears on both sides.\nSee https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign",
|
|
11368
11759
|
"anyOf": [
|
|
11369
11760
|
{ "$ref": "#/$defs/NoMisrefactoredShorthandAssignConfiguration" },
|
|
11370
11761
|
{ "type": "null" }
|
|
11371
11762
|
]
|
|
11372
11763
|
},
|
|
11373
11764
|
"noNonNullAssertedOptionalChain": {
|
|
11374
|
-
"description": "Disallow non-null assertions after optional chaining expressions.\nSee
|
|
11765
|
+
"description": "Disallow non-null assertions after optional chaining expressions.\nSee https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain",
|
|
11375
11766
|
"anyOf": [
|
|
11376
11767
|
{ "$ref": "#/$defs/NoNonNullAssertedOptionalChainConfiguration" },
|
|
11377
11768
|
{ "type": "null" }
|
|
11378
11769
|
]
|
|
11379
11770
|
},
|
|
11380
11771
|
"noOctalEscape": {
|
|
11381
|
-
"description": "Disallow octal escape sequences in string literals.\nSee
|
|
11772
|
+
"description": "Disallow octal escape sequences in string literals.\nSee https://biomejs.dev/linter/rules/no-octal-escape",
|
|
11382
11773
|
"anyOf": [
|
|
11383
11774
|
{ "$ref": "#/$defs/NoOctalEscapeConfiguration" },
|
|
11384
11775
|
{ "type": "null" }
|
|
11385
11776
|
]
|
|
11386
11777
|
},
|
|
11387
11778
|
"noPrototypeBuiltins": {
|
|
11388
|
-
"description": "Disallow direct use of Object.prototype builtins.\nSee
|
|
11779
|
+
"description": "Disallow direct use of Object.prototype builtins.\nSee https://biomejs.dev/linter/rules/no-prototype-builtins",
|
|
11389
11780
|
"anyOf": [
|
|
11390
11781
|
{ "$ref": "#/$defs/NoPrototypeBuiltinsConfiguration" },
|
|
11391
11782
|
{ "type": "null" }
|
|
11392
11783
|
]
|
|
11393
11784
|
},
|
|
11394
11785
|
"noQuickfixBiome": {
|
|
11395
|
-
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee
|
|
11786
|
+
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee https://biomejs.dev/linter/rules/no-quickfix-biome",
|
|
11396
11787
|
"anyOf": [
|
|
11397
11788
|
{ "$ref": "#/$defs/NoQuickfixBiomeConfiguration" },
|
|
11398
11789
|
{ "type": "null" }
|
|
11399
11790
|
]
|
|
11400
11791
|
},
|
|
11401
11792
|
"noReactSpecificProps": {
|
|
11402
|
-
"description": "Prevents React-specific JSX properties from being used.\nSee
|
|
11793
|
+
"description": "Prevents React-specific JSX properties from being used.\nSee https://biomejs.dev/linter/rules/no-react-specific-props",
|
|
11403
11794
|
"anyOf": [
|
|
11404
11795
|
{ "$ref": "#/$defs/NoReactSpecificPropsConfiguration" },
|
|
11405
11796
|
{ "type": "null" }
|
|
11406
11797
|
]
|
|
11407
11798
|
},
|
|
11408
11799
|
"noRedeclare": {
|
|
11409
|
-
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee
|
|
11800
|
+
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee https://biomejs.dev/linter/rules/no-redeclare",
|
|
11410
11801
|
"anyOf": [
|
|
11411
11802
|
{ "$ref": "#/$defs/NoRedeclareConfiguration" },
|
|
11412
11803
|
{ "type": "null" }
|
|
11413
11804
|
]
|
|
11414
11805
|
},
|
|
11415
11806
|
"noRedundantUseStrict": {
|
|
11416
|
-
"description": "Prevents from having redundant \"use strict\".\nSee
|
|
11807
|
+
"description": "Prevents from having redundant \"use strict\".\nSee https://biomejs.dev/linter/rules/no-redundant-use-strict",
|
|
11417
11808
|
"anyOf": [
|
|
11418
11809
|
{ "$ref": "#/$defs/NoRedundantUseStrictConfiguration" },
|
|
11419
11810
|
{ "type": "null" }
|
|
11420
11811
|
]
|
|
11421
11812
|
},
|
|
11422
11813
|
"noSelfCompare": {
|
|
11423
|
-
"description": "Disallow comparisons where both sides are exactly the same.\nSee
|
|
11814
|
+
"description": "Disallow comparisons where both sides are exactly the same.\nSee https://biomejs.dev/linter/rules/no-self-compare",
|
|
11424
11815
|
"anyOf": [
|
|
11425
11816
|
{ "$ref": "#/$defs/NoSelfCompareConfiguration" },
|
|
11426
11817
|
{ "type": "null" }
|
|
11427
11818
|
]
|
|
11428
11819
|
},
|
|
11429
11820
|
"noShadowRestrictedNames": {
|
|
11430
|
-
"description": "Disallow identifiers from shadowing restricted names.\nSee
|
|
11821
|
+
"description": "Disallow identifiers from shadowing restricted names.\nSee https://biomejs.dev/linter/rules/no-shadow-restricted-names",
|
|
11431
11822
|
"anyOf": [
|
|
11432
11823
|
{ "$ref": "#/$defs/NoShadowRestrictedNamesConfiguration" },
|
|
11433
11824
|
{ "type": "null" }
|
|
11434
11825
|
]
|
|
11435
11826
|
},
|
|
11436
11827
|
"noShorthandPropertyOverrides": {
|
|
11437
|
-
"description": "Disallow shorthand properties that override related longhand properties.\nSee
|
|
11828
|
+
"description": "Disallow shorthand properties that override related longhand properties.\nSee https://biomejs.dev/linter/rules/no-shorthand-property-overrides",
|
|
11438
11829
|
"anyOf": [
|
|
11439
11830
|
{ "$ref": "#/$defs/NoShorthandPropertyOverridesConfiguration" },
|
|
11440
11831
|
{ "type": "null" }
|
|
11441
11832
|
]
|
|
11442
11833
|
},
|
|
11443
11834
|
"noSkippedTests": {
|
|
11444
|
-
"description": "Disallow disabled tests.\nSee
|
|
11835
|
+
"description": "Disallow disabled tests.\nSee https://biomejs.dev/linter/rules/no-skipped-tests",
|
|
11445
11836
|
"anyOf": [
|
|
11446
11837
|
{ "$ref": "#/$defs/NoSkippedTestsConfiguration" },
|
|
11447
11838
|
{ "type": "null" }
|
|
11448
11839
|
]
|
|
11449
11840
|
},
|
|
11450
11841
|
"noSparseArray": {
|
|
11451
|
-
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee
|
|
11842
|
+
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee https://biomejs.dev/linter/rules/no-sparse-array",
|
|
11452
11843
|
"anyOf": [
|
|
11453
11844
|
{ "$ref": "#/$defs/NoSparseArrayConfiguration" },
|
|
11454
11845
|
{ "type": "null" }
|
|
11455
11846
|
]
|
|
11456
11847
|
},
|
|
11457
11848
|
"noSuspiciousSemicolonInJsx": {
|
|
11458
|
-
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee
|
|
11849
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx",
|
|
11459
11850
|
"anyOf": [
|
|
11460
11851
|
{ "$ref": "#/$defs/NoSuspiciousSemicolonInJsxConfiguration" },
|
|
11461
11852
|
{ "type": "null" }
|
|
11462
11853
|
]
|
|
11463
11854
|
},
|
|
11464
11855
|
"noTemplateCurlyInString": {
|
|
11465
|
-
"description": "Disallow template literal placeholder syntax in regular strings.\nSee
|
|
11856
|
+
"description": "Disallow template literal placeholder syntax in regular strings.\nSee https://biomejs.dev/linter/rules/no-template-curly-in-string",
|
|
11466
11857
|
"anyOf": [
|
|
11467
11858
|
{ "$ref": "#/$defs/NoTemplateCurlyInStringConfiguration" },
|
|
11468
11859
|
{ "type": "null" }
|
|
11469
11860
|
]
|
|
11470
11861
|
},
|
|
11471
11862
|
"noThenProperty": {
|
|
11472
|
-
"description": "Disallow then property.\nSee
|
|
11863
|
+
"description": "Disallow then property.\nSee https://biomejs.dev/linter/rules/no-then-property",
|
|
11473
11864
|
"anyOf": [
|
|
11474
11865
|
{ "$ref": "#/$defs/NoThenPropertyConfiguration" },
|
|
11475
11866
|
{ "type": "null" }
|
|
11476
11867
|
]
|
|
11477
11868
|
},
|
|
11478
11869
|
"noTsIgnore": {
|
|
11479
|
-
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee
|
|
11870
|
+
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee https://biomejs.dev/linter/rules/no-ts-ignore",
|
|
11480
11871
|
"anyOf": [
|
|
11481
11872
|
{ "$ref": "#/$defs/NoTsIgnoreConfiguration" },
|
|
11482
11873
|
{ "type": "null" }
|
|
11483
11874
|
]
|
|
11484
11875
|
},
|
|
11485
11876
|
"noUnassignedVariables": {
|
|
11486
|
-
"description": "Disallow let or var variables that are read but never assigned.\nSee
|
|
11877
|
+
"description": "Disallow let or var variables that are read but never assigned.\nSee https://biomejs.dev/linter/rules/no-unassigned-variables",
|
|
11487
11878
|
"anyOf": [
|
|
11488
11879
|
{ "$ref": "#/$defs/NoUnassignedVariablesConfiguration" },
|
|
11489
11880
|
{ "type": "null" }
|
|
11490
11881
|
]
|
|
11491
11882
|
},
|
|
11492
11883
|
"noUnknownAtRules": {
|
|
11493
|
-
"description": "Disallow unknown at-rules.\nSee
|
|
11884
|
+
"description": "Disallow unknown at-rules.\nSee https://biomejs.dev/linter/rules/no-unknown-at-rules",
|
|
11494
11885
|
"anyOf": [
|
|
11495
11886
|
{ "$ref": "#/$defs/NoUnknownAtRulesConfiguration" },
|
|
11496
11887
|
{ "type": "null" }
|
|
11497
11888
|
]
|
|
11498
11889
|
},
|
|
11499
11890
|
"noUnsafeDeclarationMerging": {
|
|
11500
|
-
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee
|
|
11891
|
+
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee https://biomejs.dev/linter/rules/no-unsafe-declaration-merging",
|
|
11501
11892
|
"anyOf": [
|
|
11502
11893
|
{ "$ref": "#/$defs/NoUnsafeDeclarationMergingConfiguration" },
|
|
11503
11894
|
{ "type": "null" }
|
|
11504
11895
|
]
|
|
11505
11896
|
},
|
|
11506
11897
|
"noUnsafeNegation": {
|
|
11507
|
-
"description": "Disallow using unsafe negation.\nSee
|
|
11898
|
+
"description": "Disallow using unsafe negation.\nSee https://biomejs.dev/linter/rules/no-unsafe-negation",
|
|
11508
11899
|
"anyOf": [
|
|
11509
11900
|
{ "$ref": "#/$defs/NoUnsafeNegationConfiguration" },
|
|
11510
11901
|
{ "type": "null" }
|
|
11511
11902
|
]
|
|
11512
11903
|
},
|
|
11513
11904
|
"noUselessEscapeInString": {
|
|
11514
|
-
"description": "Disallow unnecessary escapes in string literals.\nSee
|
|
11905
|
+
"description": "Disallow unnecessary escapes in string literals.\nSee https://biomejs.dev/linter/rules/no-useless-escape-in-string",
|
|
11515
11906
|
"anyOf": [
|
|
11516
11907
|
{ "$ref": "#/$defs/NoUselessEscapeInStringConfiguration" },
|
|
11517
11908
|
{ "type": "null" }
|
|
11518
11909
|
]
|
|
11519
11910
|
},
|
|
11520
11911
|
"noUselessRegexBackrefs": {
|
|
11521
|
-
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee
|
|
11912
|
+
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee https://biomejs.dev/linter/rules/no-useless-regex-backrefs",
|
|
11522
11913
|
"anyOf": [
|
|
11523
11914
|
{ "$ref": "#/$defs/NoUselessRegexBackrefsConfiguration" },
|
|
11524
11915
|
{ "type": "null" }
|
|
11525
11916
|
]
|
|
11526
11917
|
},
|
|
11527
11918
|
"noVar": {
|
|
11528
|
-
"description": "Disallow the use of var.\nSee
|
|
11919
|
+
"description": "Disallow the use of var.\nSee https://biomejs.dev/linter/rules/no-var",
|
|
11529
11920
|
"anyOf": [
|
|
11530
11921
|
{ "$ref": "#/$defs/NoVarConfiguration" },
|
|
11531
11922
|
{ "type": "null" }
|
|
11532
11923
|
]
|
|
11533
11924
|
},
|
|
11534
11925
|
"noWith": {
|
|
11535
|
-
"description": "Disallow with statements in non-strict contexts.\nSee
|
|
11926
|
+
"description": "Disallow with statements in non-strict contexts.\nSee https://biomejs.dev/linter/rules/no-with",
|
|
11536
11927
|
"anyOf": [
|
|
11537
11928
|
{ "$ref": "#/$defs/NoWithConfiguration" },
|
|
11538
11929
|
{ "type": "null" }
|
|
@@ -11543,98 +11934,98 @@
|
|
|
11543
11934
|
"type": ["boolean", "null"]
|
|
11544
11935
|
},
|
|
11545
11936
|
"useAdjacentOverloadSignatures": {
|
|
11546
|
-
"description": "Disallow the use of overload signatures that are not next to each other.\nSee
|
|
11937
|
+
"description": "Disallow the use of overload signatures that are not next to each other.\nSee https://biomejs.dev/linter/rules/use-adjacent-overload-signatures",
|
|
11547
11938
|
"anyOf": [
|
|
11548
11939
|
{ "$ref": "#/$defs/UseAdjacentOverloadSignaturesConfiguration" },
|
|
11549
11940
|
{ "type": "null" }
|
|
11550
11941
|
]
|
|
11551
11942
|
},
|
|
11552
11943
|
"useAwait": {
|
|
11553
|
-
"description": "Ensure async functions utilize await.\nSee
|
|
11944
|
+
"description": "Ensure async functions utilize await.\nSee https://biomejs.dev/linter/rules/use-await",
|
|
11554
11945
|
"anyOf": [
|
|
11555
11946
|
{ "$ref": "#/$defs/UseAwaitConfiguration" },
|
|
11556
11947
|
{ "type": "null" }
|
|
11557
11948
|
]
|
|
11558
11949
|
},
|
|
11559
11950
|
"useBiomeIgnoreFolder": {
|
|
11560
|
-
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee
|
|
11951
|
+
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee https://biomejs.dev/linter/rules/use-biome-ignore-folder",
|
|
11561
11952
|
"anyOf": [
|
|
11562
11953
|
{ "$ref": "#/$defs/UseBiomeIgnoreFolderConfiguration" },
|
|
11563
11954
|
{ "type": "null" }
|
|
11564
11955
|
]
|
|
11565
11956
|
},
|
|
11566
11957
|
"useDefaultSwitchClauseLast": {
|
|
11567
|
-
"description": "Enforce default clauses in switch statements to be last.\nSee
|
|
11958
|
+
"description": "Enforce default clauses in switch statements to be last.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause-last",
|
|
11568
11959
|
"anyOf": [
|
|
11569
11960
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseLastConfiguration" },
|
|
11570
11961
|
{ "type": "null" }
|
|
11571
11962
|
]
|
|
11572
11963
|
},
|
|
11573
11964
|
"useErrorMessage": {
|
|
11574
|
-
"description": "Enforce passing a message value when creating a built-in error.\nSee
|
|
11965
|
+
"description": "Enforce passing a message value when creating a built-in error.\nSee https://biomejs.dev/linter/rules/use-error-message",
|
|
11575
11966
|
"anyOf": [
|
|
11576
11967
|
{ "$ref": "#/$defs/UseErrorMessageConfiguration" },
|
|
11577
11968
|
{ "type": "null" }
|
|
11578
11969
|
]
|
|
11579
11970
|
},
|
|
11580
11971
|
"useGetterReturn": {
|
|
11581
|
-
"description": "Enforce get methods to always return a value.\nSee
|
|
11972
|
+
"description": "Enforce get methods to always return a value.\nSee https://biomejs.dev/linter/rules/use-getter-return",
|
|
11582
11973
|
"anyOf": [
|
|
11583
11974
|
{ "$ref": "#/$defs/UseGetterReturnConfiguration" },
|
|
11584
11975
|
{ "type": "null" }
|
|
11585
11976
|
]
|
|
11586
11977
|
},
|
|
11587
11978
|
"useGoogleFontDisplay": {
|
|
11588
|
-
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee
|
|
11979
|
+
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-display",
|
|
11589
11980
|
"anyOf": [
|
|
11590
11981
|
{ "$ref": "#/$defs/UseGoogleFontDisplayConfiguration" },
|
|
11591
11982
|
{ "type": "null" }
|
|
11592
11983
|
]
|
|
11593
11984
|
},
|
|
11594
11985
|
"useGuardForIn": {
|
|
11595
|
-
"description": "Require for-in loops to include an if statement.\nSee
|
|
11986
|
+
"description": "Require for-in loops to include an if statement.\nSee https://biomejs.dev/linter/rules/use-guard-for-in",
|
|
11596
11987
|
"anyOf": [
|
|
11597
11988
|
{ "$ref": "#/$defs/UseGuardForInConfiguration" },
|
|
11598
11989
|
{ "type": "null" }
|
|
11599
11990
|
]
|
|
11600
11991
|
},
|
|
11601
11992
|
"useIsArray": {
|
|
11602
|
-
"description": "Use Array.isArray() instead of instanceof Array.\nSee
|
|
11993
|
+
"description": "Use Array.isArray() instead of instanceof Array.\nSee https://biomejs.dev/linter/rules/use-is-array",
|
|
11603
11994
|
"anyOf": [
|
|
11604
11995
|
{ "$ref": "#/$defs/UseIsArrayConfiguration" },
|
|
11605
11996
|
{ "type": "null" }
|
|
11606
11997
|
]
|
|
11607
11998
|
},
|
|
11608
11999
|
"useIterableCallbackReturn": {
|
|
11609
|
-
"description": "Enforce consistent return values in iterable callbacks.\nSee
|
|
12000
|
+
"description": "Enforce consistent return values in iterable callbacks.\nSee https://biomejs.dev/linter/rules/use-iterable-callback-return",
|
|
11610
12001
|
"anyOf": [
|
|
11611
12002
|
{ "$ref": "#/$defs/UseIterableCallbackReturnConfiguration" },
|
|
11612
12003
|
{ "type": "null" }
|
|
11613
12004
|
]
|
|
11614
12005
|
},
|
|
11615
12006
|
"useNamespaceKeyword": {
|
|
11616
|
-
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee
|
|
12007
|
+
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee https://biomejs.dev/linter/rules/use-namespace-keyword",
|
|
11617
12008
|
"anyOf": [
|
|
11618
12009
|
{ "$ref": "#/$defs/UseNamespaceKeywordConfiguration" },
|
|
11619
12010
|
{ "type": "null" }
|
|
11620
12011
|
]
|
|
11621
12012
|
},
|
|
11622
12013
|
"useNumberToFixedDigitsArgument": {
|
|
11623
|
-
"description": "Enforce using the digits argument with Number#toFixed().\nSee
|
|
12014
|
+
"description": "Enforce using the digits argument with Number#toFixed().\nSee https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument",
|
|
11624
12015
|
"anyOf": [
|
|
11625
12016
|
{ "$ref": "#/$defs/UseNumberToFixedDigitsArgumentConfiguration" },
|
|
11626
12017
|
{ "type": "null" }
|
|
11627
12018
|
]
|
|
11628
12019
|
},
|
|
11629
12020
|
"useStaticResponseMethods": {
|
|
11630
|
-
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee
|
|
12021
|
+
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee https://biomejs.dev/linter/rules/use-static-response-methods",
|
|
11631
12022
|
"anyOf": [
|
|
11632
12023
|
{ "$ref": "#/$defs/UseStaticResponseMethodsConfiguration" },
|
|
11633
12024
|
{ "type": "null" }
|
|
11634
12025
|
]
|
|
11635
12026
|
},
|
|
11636
12027
|
"useStrictMode": {
|
|
11637
|
-
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee
|
|
12028
|
+
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee https://biomejs.dev/linter/rules/use-strict-mode",
|
|
11638
12029
|
"anyOf": [
|
|
11639
12030
|
{ "$ref": "#/$defs/UseStrictModeConfiguration" },
|
|
11640
12031
|
{ "type": "null" }
|
|
@@ -11914,6 +12305,16 @@
|
|
|
11914
12305
|
"type": "object",
|
|
11915
12306
|
"additionalProperties": false
|
|
11916
12307
|
},
|
|
12308
|
+
"UseConsistentEnumValueTypeConfiguration": {
|
|
12309
|
+
"oneOf": [
|
|
12310
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12311
|
+
{ "$ref": "#/$defs/RuleWithUseConsistentEnumValueTypeOptions" }
|
|
12312
|
+
]
|
|
12313
|
+
},
|
|
12314
|
+
"UseConsistentEnumValueTypeOptions": {
|
|
12315
|
+
"type": "object",
|
|
12316
|
+
"additionalProperties": false
|
|
12317
|
+
},
|
|
11917
12318
|
"UseConsistentGraphqlDescriptionsConfiguration": {
|
|
11918
12319
|
"oneOf": [
|
|
11919
12320
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12077,6 +12478,24 @@
|
|
|
12077
12478
|
"type": "object",
|
|
12078
12479
|
"additionalProperties": false
|
|
12079
12480
|
},
|
|
12481
|
+
"UseErrorCauseConfiguration": {
|
|
12482
|
+
"oneOf": [
|
|
12483
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12484
|
+
{ "$ref": "#/$defs/RuleWithUseErrorCauseOptions" }
|
|
12485
|
+
]
|
|
12486
|
+
},
|
|
12487
|
+
"UseErrorCauseOptions": {
|
|
12488
|
+
"description": "Options for the `useErrorCause` rule.",
|
|
12489
|
+
"type": "object",
|
|
12490
|
+
"properties": {
|
|
12491
|
+
"requireCatchParameter": {
|
|
12492
|
+
"description": "When set to `true`, the rule requires that `catch` clauses have a parameter.",
|
|
12493
|
+
"type": "boolean",
|
|
12494
|
+
"default": true
|
|
12495
|
+
}
|
|
12496
|
+
},
|
|
12497
|
+
"additionalProperties": false
|
|
12498
|
+
},
|
|
12080
12499
|
"UseErrorMessageConfiguration": {
|
|
12081
12500
|
"oneOf": [
|
|
12082
12501
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12406,6 +12825,16 @@
|
|
|
12406
12825
|
]
|
|
12407
12826
|
},
|
|
12408
12827
|
"UseIndexOfOptions": { "type": "object", "additionalProperties": false },
|
|
12828
|
+
"UseInlineScriptIdConfiguration": {
|
|
12829
|
+
"oneOf": [
|
|
12830
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12831
|
+
{ "$ref": "#/$defs/RuleWithUseInlineScriptIdOptions" }
|
|
12832
|
+
]
|
|
12833
|
+
},
|
|
12834
|
+
"UseInlineScriptIdOptions": {
|
|
12835
|
+
"type": "object",
|
|
12836
|
+
"additionalProperties": false
|
|
12837
|
+
},
|
|
12409
12838
|
"UseIsArrayConfiguration": {
|
|
12410
12839
|
"oneOf": [
|
|
12411
12840
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12496,6 +12925,26 @@
|
|
|
12496
12925
|
"type": "object",
|
|
12497
12926
|
"additionalProperties": false
|
|
12498
12927
|
},
|
|
12928
|
+
"UseLoneAnonymousOperationConfiguration": {
|
|
12929
|
+
"oneOf": [
|
|
12930
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12931
|
+
{ "$ref": "#/$defs/RuleWithUseLoneAnonymousOperationOptions" }
|
|
12932
|
+
]
|
|
12933
|
+
},
|
|
12934
|
+
"UseLoneAnonymousOperationOptions": {
|
|
12935
|
+
"type": "object",
|
|
12936
|
+
"additionalProperties": false
|
|
12937
|
+
},
|
|
12938
|
+
"UseLoneExecutableDefinitionConfiguration": {
|
|
12939
|
+
"oneOf": [
|
|
12940
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12941
|
+
{ "$ref": "#/$defs/RuleWithUseLoneExecutableDefinitionOptions" }
|
|
12942
|
+
]
|
|
12943
|
+
},
|
|
12944
|
+
"UseLoneExecutableDefinitionOptions": {
|
|
12945
|
+
"type": "object",
|
|
12946
|
+
"additionalProperties": false
|
|
12947
|
+
},
|
|
12499
12948
|
"UseMaxParamsConfiguration": {
|
|
12500
12949
|
"oneOf": [
|
|
12501
12950
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12986,16 +13435,6 @@
|
|
|
12986
13435
|
"type": "object",
|
|
12987
13436
|
"additionalProperties": false
|
|
12988
13437
|
},
|
|
12989
|
-
"UseUniqueArgumentNamesConfiguration": {
|
|
12990
|
-
"oneOf": [
|
|
12991
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12992
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueArgumentNamesOptions" }
|
|
12993
|
-
]
|
|
12994
|
-
},
|
|
12995
|
-
"UseUniqueArgumentNamesOptions": {
|
|
12996
|
-
"type": "object",
|
|
12997
|
-
"additionalProperties": false
|
|
12998
|
-
},
|
|
12999
13438
|
"UseUniqueElementIdsConfiguration": {
|
|
13000
13439
|
"oneOf": [
|
|
13001
13440
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -13014,46 +13453,6 @@
|
|
|
13014
13453
|
},
|
|
13015
13454
|
"additionalProperties": false
|
|
13016
13455
|
},
|
|
13017
|
-
"UseUniqueFieldDefinitionNamesConfiguration": {
|
|
13018
|
-
"oneOf": [
|
|
13019
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13020
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueFieldDefinitionNamesOptions" }
|
|
13021
|
-
]
|
|
13022
|
-
},
|
|
13023
|
-
"UseUniqueFieldDefinitionNamesOptions": {
|
|
13024
|
-
"type": "object",
|
|
13025
|
-
"additionalProperties": false
|
|
13026
|
-
},
|
|
13027
|
-
"UseUniqueGraphqlOperationNameConfiguration": {
|
|
13028
|
-
"oneOf": [
|
|
13029
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13030
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueGraphqlOperationNameOptions" }
|
|
13031
|
-
]
|
|
13032
|
-
},
|
|
13033
|
-
"UseUniqueGraphqlOperationNameOptions": {
|
|
13034
|
-
"type": "object",
|
|
13035
|
-
"additionalProperties": false
|
|
13036
|
-
},
|
|
13037
|
-
"UseUniqueInputFieldNamesConfiguration": {
|
|
13038
|
-
"oneOf": [
|
|
13039
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13040
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueInputFieldNamesOptions" }
|
|
13041
|
-
]
|
|
13042
|
-
},
|
|
13043
|
-
"UseUniqueInputFieldNamesOptions": {
|
|
13044
|
-
"type": "object",
|
|
13045
|
-
"additionalProperties": false
|
|
13046
|
-
},
|
|
13047
|
-
"UseUniqueVariableNamesConfiguration": {
|
|
13048
|
-
"oneOf": [
|
|
13049
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13050
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueVariableNamesOptions" }
|
|
13051
|
-
]
|
|
13052
|
-
},
|
|
13053
|
-
"UseUniqueVariableNamesOptions": {
|
|
13054
|
-
"type": "object",
|
|
13055
|
-
"additionalProperties": false
|
|
13056
|
-
},
|
|
13057
13456
|
"UseValidAnchorConfiguration": {
|
|
13058
13457
|
"oneOf": [
|
|
13059
13458
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|