@biomejs/biome 2.3.10 → 2.3.12
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 +1291 -424
- 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" }
|
|
@@ -1381,6 +1381,20 @@
|
|
|
1381
1381
|
},
|
|
1382
1382
|
"additionalProperties": false
|
|
1383
1383
|
},
|
|
1384
|
+
"DeclarationStyle": {
|
|
1385
|
+
"oneOf": [
|
|
1386
|
+
{
|
|
1387
|
+
"description": "defineProps<{...}>()",
|
|
1388
|
+
"type": "string",
|
|
1389
|
+
"const": "type"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"description": "defineProps({...})",
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"const": "runtime"
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
},
|
|
1384
1398
|
"DependencyAvailability": {
|
|
1385
1399
|
"oneOf": [
|
|
1386
1400
|
{
|
|
@@ -2590,6 +2604,18 @@
|
|
|
2590
2604
|
]
|
|
2591
2605
|
},
|
|
2592
2606
|
"NoBarrelFileOptions": { "type": "object", "additionalProperties": false },
|
|
2607
|
+
"NoBeforeInteractiveScriptOutsideDocumentConfiguration": {
|
|
2608
|
+
"oneOf": [
|
|
2609
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2610
|
+
{
|
|
2611
|
+
"$ref": "#/$defs/RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions"
|
|
2612
|
+
}
|
|
2613
|
+
]
|
|
2614
|
+
},
|
|
2615
|
+
"NoBeforeInteractiveScriptOutsideDocumentOptions": {
|
|
2616
|
+
"type": "object",
|
|
2617
|
+
"additionalProperties": false
|
|
2618
|
+
},
|
|
2593
2619
|
"NoBiomeFirstExceptionConfiguration": {
|
|
2594
2620
|
"oneOf": [
|
|
2595
2621
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2887,6 +2913,13 @@
|
|
|
2887
2913
|
"type": "object",
|
|
2888
2914
|
"additionalProperties": false
|
|
2889
2915
|
},
|
|
2916
|
+
"NoDivRegexConfiguration": {
|
|
2917
|
+
"oneOf": [
|
|
2918
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2919
|
+
{ "$ref": "#/$defs/RuleWithNoDivRegexOptions" }
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
"NoDivRegexOptions": { "type": "object", "additionalProperties": false },
|
|
2890
2923
|
"NoDocumentCookieConfiguration": {
|
|
2891
2924
|
"oneOf": [
|
|
2892
2925
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2933,6 +2966,16 @@
|
|
|
2933
2966
|
},
|
|
2934
2967
|
"additionalProperties": false
|
|
2935
2968
|
},
|
|
2969
|
+
"NoDuplicateArgumentNamesConfiguration": {
|
|
2970
|
+
"oneOf": [
|
|
2971
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2972
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateArgumentNamesOptions" }
|
|
2973
|
+
]
|
|
2974
|
+
},
|
|
2975
|
+
"NoDuplicateArgumentNamesOptions": {
|
|
2976
|
+
"type": "object",
|
|
2977
|
+
"additionalProperties": false
|
|
2978
|
+
},
|
|
2936
2979
|
"NoDuplicateAtImportRulesConfiguration": {
|
|
2937
2980
|
"oneOf": [
|
|
2938
2981
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2943,6 +2986,16 @@
|
|
|
2943
2986
|
"type": "object",
|
|
2944
2987
|
"additionalProperties": false
|
|
2945
2988
|
},
|
|
2989
|
+
"NoDuplicateAttributesConfiguration": {
|
|
2990
|
+
"oneOf": [
|
|
2991
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2992
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateAttributesOptions" }
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
"NoDuplicateAttributesOptions": {
|
|
2996
|
+
"type": "object",
|
|
2997
|
+
"additionalProperties": false
|
|
2998
|
+
},
|
|
2946
2999
|
"NoDuplicateCaseConfiguration": {
|
|
2947
3000
|
"oneOf": [
|
|
2948
3001
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -2993,6 +3046,36 @@
|
|
|
2993
3046
|
"type": "object",
|
|
2994
3047
|
"additionalProperties": false
|
|
2995
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
|
+
},
|
|
2996
3079
|
"NoDuplicateFieldsConfiguration": {
|
|
2997
3080
|
"oneOf": [
|
|
2998
3081
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3013,6 +3096,26 @@
|
|
|
3013
3096
|
"type": "object",
|
|
3014
3097
|
"additionalProperties": false
|
|
3015
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
|
+
},
|
|
3016
3119
|
"NoDuplicateJsxPropsConfiguration": {
|
|
3017
3120
|
"oneOf": [
|
|
3018
3121
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3073,6 +3176,16 @@
|
|
|
3073
3176
|
"type": "object",
|
|
3074
3177
|
"additionalProperties": false
|
|
3075
3178
|
},
|
|
3179
|
+
"NoDuplicateVariableNamesConfiguration": {
|
|
3180
|
+
"oneOf": [
|
|
3181
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3182
|
+
{ "$ref": "#/$defs/RuleWithNoDuplicateVariableNamesOptions" }
|
|
3183
|
+
]
|
|
3184
|
+
},
|
|
3185
|
+
"NoDuplicateVariableNamesOptions": {
|
|
3186
|
+
"type": "object",
|
|
3187
|
+
"additionalProperties": false
|
|
3188
|
+
},
|
|
3076
3189
|
"NoDuplicatedSpreadPropsConfiguration": {
|
|
3077
3190
|
"oneOf": [
|
|
3078
3191
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3193,6 +3306,25 @@
|
|
|
3193
3306
|
"type": "object",
|
|
3194
3307
|
"additionalProperties": false
|
|
3195
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
|
+
},
|
|
3196
3328
|
"NoExcessiveCognitiveComplexityConfiguration": {
|
|
3197
3329
|
"oneOf": [
|
|
3198
3330
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3212,6 +3344,29 @@
|
|
|
3212
3344
|
},
|
|
3213
3345
|
"additionalProperties": false
|
|
3214
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
|
+
},
|
|
3215
3370
|
"NoExcessiveLinesPerFunctionConfiguration": {
|
|
3216
3371
|
"oneOf": [
|
|
3217
3372
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3316,6 +3471,16 @@
|
|
|
3316
3471
|
"type": "object",
|
|
3317
3472
|
"additionalProperties": false
|
|
3318
3473
|
},
|
|
3474
|
+
"NoFloatingClassesConfiguration": {
|
|
3475
|
+
"oneOf": [
|
|
3476
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3477
|
+
{ "$ref": "#/$defs/RuleWithNoFloatingClassesOptions" }
|
|
3478
|
+
]
|
|
3479
|
+
},
|
|
3480
|
+
"NoFloatingClassesOptions": {
|
|
3481
|
+
"type": "object",
|
|
3482
|
+
"additionalProperties": false
|
|
3483
|
+
},
|
|
3319
3484
|
"NoFloatingPromisesConfiguration": {
|
|
3320
3485
|
"oneOf": [
|
|
3321
3486
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3674,6 +3839,16 @@
|
|
|
3674
3839
|
},
|
|
3675
3840
|
"additionalProperties": false
|
|
3676
3841
|
},
|
|
3842
|
+
"NoJsxPropsBindConfiguration": {
|
|
3843
|
+
"oneOf": [
|
|
3844
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3845
|
+
{ "$ref": "#/$defs/RuleWithNoJsxPropsBindOptions" }
|
|
3846
|
+
]
|
|
3847
|
+
},
|
|
3848
|
+
"NoJsxPropsBindOptions": {
|
|
3849
|
+
"type": "object",
|
|
3850
|
+
"additionalProperties": false
|
|
3851
|
+
},
|
|
3677
3852
|
"NoLabelVarConfiguration": {
|
|
3678
3853
|
"oneOf": [
|
|
3679
3854
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3785,6 +3960,13 @@
|
|
|
3785
3960
|
"type": "object",
|
|
3786
3961
|
"additionalProperties": false
|
|
3787
3962
|
},
|
|
3963
|
+
"NoMultiAssignConfiguration": {
|
|
3964
|
+
"oneOf": [
|
|
3965
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3966
|
+
{ "$ref": "#/$defs/RuleWithNoMultiAssignOptions" }
|
|
3967
|
+
]
|
|
3968
|
+
},
|
|
3969
|
+
"NoMultiAssignOptions": { "type": "object", "additionalProperties": false },
|
|
3788
3970
|
"NoMultiStrConfiguration": {
|
|
3789
3971
|
"oneOf": [
|
|
3790
3972
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4223,6 +4405,33 @@
|
|
|
4223
4405
|
},
|
|
4224
4406
|
"additionalProperties": false
|
|
4225
4407
|
},
|
|
4408
|
+
"NoReturnAssignConfiguration": {
|
|
4409
|
+
"oneOf": [
|
|
4410
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4411
|
+
{ "$ref": "#/$defs/RuleWithNoReturnAssignOptions" }
|
|
4412
|
+
]
|
|
4413
|
+
},
|
|
4414
|
+
"NoReturnAssignOptions": {
|
|
4415
|
+
"type": "object",
|
|
4416
|
+
"additionalProperties": false
|
|
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
|
+
},
|
|
4226
4435
|
"NoScriptUrlConfiguration": {
|
|
4227
4436
|
"oneOf": [
|
|
4228
4437
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5076,6 +5285,16 @@
|
|
|
5076
5285
|
"type": "object",
|
|
5077
5286
|
"additionalProperties": false
|
|
5078
5287
|
},
|
|
5288
|
+
"NoVueOptionsApiConfiguration": {
|
|
5289
|
+
"oneOf": [
|
|
5290
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5291
|
+
{ "$ref": "#/$defs/RuleWithNoVueOptionsApiOptions" }
|
|
5292
|
+
]
|
|
5293
|
+
},
|
|
5294
|
+
"NoVueOptionsApiOptions": {
|
|
5295
|
+
"type": "object",
|
|
5296
|
+
"additionalProperties": false
|
|
5297
|
+
},
|
|
5079
5298
|
"NoVueReservedKeysConfiguration": {
|
|
5080
5299
|
"oneOf": [
|
|
5081
5300
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5142,252 +5361,380 @@
|
|
|
5142
5361
|
"type": "object",
|
|
5143
5362
|
"properties": {
|
|
5144
5363
|
"noAmbiguousAnchorText": {
|
|
5145
|
-
"description": "Disallow ambiguous anchor descriptions.\nSee
|
|
5364
|
+
"description": "Disallow ambiguous anchor descriptions.\nSee https://biomejs.dev/linter/rules/no-ambiguous-anchor-text",
|
|
5146
5365
|
"anyOf": [
|
|
5147
5366
|
{ "$ref": "#/$defs/NoAmbiguousAnchorTextConfiguration" },
|
|
5148
5367
|
{ "type": "null" }
|
|
5149
5368
|
]
|
|
5150
5369
|
},
|
|
5370
|
+
"noBeforeInteractiveScriptOutsideDocument": {
|
|
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",
|
|
5372
|
+
"anyOf": [
|
|
5373
|
+
{
|
|
5374
|
+
"$ref": "#/$defs/NoBeforeInteractiveScriptOutsideDocumentConfiguration"
|
|
5375
|
+
},
|
|
5376
|
+
{ "type": "null" }
|
|
5377
|
+
]
|
|
5378
|
+
},
|
|
5151
5379
|
"noContinue": {
|
|
5152
|
-
"description": "Disallow continue statements.\nSee
|
|
5380
|
+
"description": "Disallow continue statements.\nSee https://biomejs.dev/linter/rules/no-continue",
|
|
5153
5381
|
"anyOf": [
|
|
5154
5382
|
{ "$ref": "#/$defs/NoContinueConfiguration" },
|
|
5155
5383
|
{ "type": "null" }
|
|
5156
5384
|
]
|
|
5157
5385
|
},
|
|
5158
5386
|
"noDeprecatedImports": {
|
|
5159
|
-
"description": "Restrict imports of deprecated exports.\nSee
|
|
5387
|
+
"description": "Restrict imports of deprecated exports.\nSee https://biomejs.dev/linter/rules/no-deprecated-imports",
|
|
5160
5388
|
"anyOf": [
|
|
5161
5389
|
{ "$ref": "#/$defs/NoDeprecatedImportsConfiguration" },
|
|
5162
5390
|
{ "type": "null" }
|
|
5163
5391
|
]
|
|
5164
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
|
+
},
|
|
5165
5414
|
"noDuplicateDependencies": {
|
|
5166
|
-
"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",
|
|
5167
5416
|
"anyOf": [
|
|
5168
5417
|
{ "$ref": "#/$defs/NoDuplicateDependenciesConfiguration" },
|
|
5169
5418
|
{ "type": "null" }
|
|
5170
5419
|
]
|
|
5171
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
|
+
},
|
|
5172
5463
|
"noDuplicatedSpreadProps": {
|
|
5173
|
-
"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",
|
|
5174
5465
|
"anyOf": [
|
|
5175
5466
|
{ "$ref": "#/$defs/NoDuplicatedSpreadPropsConfiguration" },
|
|
5176
5467
|
{ "type": "null" }
|
|
5177
5468
|
]
|
|
5178
5469
|
},
|
|
5179
5470
|
"noEmptySource": {
|
|
5180
|
-
"description": "Disallow empty sources.\nSee
|
|
5471
|
+
"description": "Disallow empty sources.\nSee https://biomejs.dev/linter/rules/no-empty-source",
|
|
5181
5472
|
"anyOf": [
|
|
5182
5473
|
{ "$ref": "#/$defs/NoEmptySourceConfiguration" },
|
|
5183
5474
|
{ "type": "null" }
|
|
5184
5475
|
]
|
|
5185
5476
|
},
|
|
5186
5477
|
"noEqualsToNull": {
|
|
5187
|
-
"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",
|
|
5188
5479
|
"anyOf": [
|
|
5189
5480
|
{ "$ref": "#/$defs/NoEqualsToNullConfiguration" },
|
|
5190
5481
|
{ "type": "null" }
|
|
5191
5482
|
]
|
|
5192
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
|
+
},
|
|
5193
5505
|
"noFloatingPromises": {
|
|
5194
|
-
"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",
|
|
5195
5507
|
"anyOf": [
|
|
5196
5508
|
{ "$ref": "#/$defs/NoFloatingPromisesConfiguration" },
|
|
5197
5509
|
{ "type": "null" }
|
|
5198
5510
|
]
|
|
5199
5511
|
},
|
|
5200
5512
|
"noForIn": {
|
|
5201
|
-
"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",
|
|
5202
5514
|
"anyOf": [
|
|
5203
5515
|
{ "$ref": "#/$defs/NoForInConfiguration" },
|
|
5204
5516
|
{ "type": "null" }
|
|
5205
5517
|
]
|
|
5206
5518
|
},
|
|
5207
5519
|
"noImportCycles": {
|
|
5208
|
-
"description": "Prevent import cycles.\nSee
|
|
5520
|
+
"description": "Prevent import cycles.\nSee https://biomejs.dev/linter/rules/no-import-cycles",
|
|
5209
5521
|
"anyOf": [
|
|
5210
5522
|
{ "$ref": "#/$defs/NoImportCyclesConfiguration" },
|
|
5211
5523
|
{ "type": "null" }
|
|
5212
5524
|
]
|
|
5213
5525
|
},
|
|
5214
5526
|
"noIncrementDecrement": {
|
|
5215
|
-
"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",
|
|
5216
5528
|
"anyOf": [
|
|
5217
5529
|
{ "$ref": "#/$defs/NoIncrementDecrementConfiguration" },
|
|
5218
5530
|
{ "type": "null" }
|
|
5219
5531
|
]
|
|
5220
5532
|
},
|
|
5221
5533
|
"noJsxLiterals": {
|
|
5222
|
-
"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",
|
|
5223
5535
|
"anyOf": [
|
|
5224
5536
|
{ "$ref": "#/$defs/NoJsxLiteralsConfiguration" },
|
|
5225
5537
|
{ "type": "null" }
|
|
5226
5538
|
]
|
|
5227
5539
|
},
|
|
5540
|
+
"noJsxPropsBind": {
|
|
5541
|
+
"description": "Disallow .bind(), arrow functions, or function expressions in JSX props.\nSee https://biomejs.dev/linter/rules/no-jsx-props-bind",
|
|
5542
|
+
"anyOf": [
|
|
5543
|
+
{ "$ref": "#/$defs/NoJsxPropsBindConfiguration" },
|
|
5544
|
+
{ "type": "null" }
|
|
5545
|
+
]
|
|
5546
|
+
},
|
|
5228
5547
|
"noLeakedRender": {
|
|
5229
|
-
"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",
|
|
5230
5549
|
"anyOf": [
|
|
5231
5550
|
{ "$ref": "#/$defs/NoLeakedRenderConfiguration" },
|
|
5232
5551
|
{ "type": "null" }
|
|
5233
5552
|
]
|
|
5234
5553
|
},
|
|
5235
5554
|
"noMisusedPromises": {
|
|
5236
|
-
"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",
|
|
5237
5556
|
"anyOf": [
|
|
5238
5557
|
{ "$ref": "#/$defs/NoMisusedPromisesConfiguration" },
|
|
5239
5558
|
{ "type": "null" }
|
|
5240
5559
|
]
|
|
5241
5560
|
},
|
|
5561
|
+
"noMultiAssign": {
|
|
5562
|
+
"description": "Disallow use of chained assignment expressions.\nSee https://biomejs.dev/linter/rules/no-multi-assign",
|
|
5563
|
+
"anyOf": [
|
|
5564
|
+
{ "$ref": "#/$defs/NoMultiAssignConfiguration" },
|
|
5565
|
+
{ "type": "null" }
|
|
5566
|
+
]
|
|
5567
|
+
},
|
|
5242
5568
|
"noMultiStr": {
|
|
5243
|
-
"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",
|
|
5244
5570
|
"anyOf": [
|
|
5245
5571
|
{ "$ref": "#/$defs/NoMultiStrConfiguration" },
|
|
5246
5572
|
{ "type": "null" }
|
|
5247
5573
|
]
|
|
5248
5574
|
},
|
|
5249
5575
|
"noNextAsyncClientComponent": {
|
|
5250
|
-
"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",
|
|
5251
5577
|
"anyOf": [
|
|
5252
5578
|
{ "$ref": "#/$defs/NoNextAsyncClientComponentConfiguration" },
|
|
5253
5579
|
{ "type": "null" }
|
|
5254
5580
|
]
|
|
5255
5581
|
},
|
|
5256
5582
|
"noParametersOnlyUsedInRecursion": {
|
|
5257
|
-
"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",
|
|
5258
5584
|
"anyOf": [
|
|
5259
5585
|
{ "$ref": "#/$defs/NoParametersOnlyUsedInRecursionConfiguration" },
|
|
5260
5586
|
{ "type": "null" }
|
|
5261
5587
|
]
|
|
5262
5588
|
},
|
|
5263
5589
|
"noProto": {
|
|
5264
|
-
"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",
|
|
5265
5591
|
"anyOf": [
|
|
5266
5592
|
{ "$ref": "#/$defs/NoProtoConfiguration" },
|
|
5267
5593
|
{ "type": "null" }
|
|
5268
5594
|
]
|
|
5269
5595
|
},
|
|
5270
5596
|
"noReactForwardRef": {
|
|
5271
|
-
"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",
|
|
5272
5598
|
"anyOf": [
|
|
5273
5599
|
{ "$ref": "#/$defs/NoReactForwardRefConfiguration" },
|
|
5274
5600
|
{ "type": "null" }
|
|
5275
5601
|
]
|
|
5276
5602
|
},
|
|
5603
|
+
"noReturnAssign": {
|
|
5604
|
+
"description": "Disallow assignments in return statements.\nSee https://biomejs.dev/linter/rules/no-return-assign",
|
|
5605
|
+
"anyOf": [
|
|
5606
|
+
{ "$ref": "#/$defs/NoReturnAssignConfiguration" },
|
|
5607
|
+
{ "type": "null" }
|
|
5608
|
+
]
|
|
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
|
+
},
|
|
5277
5617
|
"noScriptUrl": {
|
|
5278
|
-
"description": "Disallow javascript: URLs in HTML.\nSee
|
|
5618
|
+
"description": "Disallow javascript: URLs in HTML.\nSee https://biomejs.dev/linter/rules/no-script-url",
|
|
5279
5619
|
"anyOf": [
|
|
5280
5620
|
{ "$ref": "#/$defs/NoScriptUrlConfiguration" },
|
|
5281
5621
|
{ "type": "null" }
|
|
5282
5622
|
]
|
|
5283
5623
|
},
|
|
5284
5624
|
"noShadow": {
|
|
5285
|
-
"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",
|
|
5286
5626
|
"anyOf": [
|
|
5287
5627
|
{ "$ref": "#/$defs/NoShadowConfiguration" },
|
|
5288
5628
|
{ "type": "null" }
|
|
5289
5629
|
]
|
|
5290
5630
|
},
|
|
5291
5631
|
"noSyncScripts": {
|
|
5292
|
-
"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",
|
|
5293
5633
|
"anyOf": [
|
|
5294
5634
|
{ "$ref": "#/$defs/NoSyncScriptsConfiguration" },
|
|
5295
5635
|
{ "type": "null" }
|
|
5296
5636
|
]
|
|
5297
5637
|
},
|
|
5298
5638
|
"noTernary": {
|
|
5299
|
-
"description": "Disallow ternary operators.\nSee
|
|
5639
|
+
"description": "Disallow ternary operators.\nSee https://biomejs.dev/linter/rules/no-ternary",
|
|
5300
5640
|
"anyOf": [
|
|
5301
5641
|
{ "$ref": "#/$defs/NoTernaryConfiguration" },
|
|
5302
5642
|
{ "type": "null" }
|
|
5303
5643
|
]
|
|
5304
5644
|
},
|
|
5305
5645
|
"noUndeclaredEnvVars": {
|
|
5306
|
-
"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",
|
|
5307
5647
|
"anyOf": [
|
|
5308
5648
|
{ "$ref": "#/$defs/NoUndeclaredEnvVarsConfiguration" },
|
|
5309
5649
|
{ "type": "null" }
|
|
5310
5650
|
]
|
|
5311
5651
|
},
|
|
5312
5652
|
"noUnknownAttribute": {
|
|
5313
|
-
"description": "Disallow unknown DOM properties.\nSee
|
|
5653
|
+
"description": "Disallow unknown DOM properties.\nSee https://biomejs.dev/linter/rules/no-unknown-attribute",
|
|
5314
5654
|
"anyOf": [
|
|
5315
5655
|
{ "$ref": "#/$defs/NoUnknownAttributeConfiguration" },
|
|
5316
5656
|
{ "type": "null" }
|
|
5317
5657
|
]
|
|
5318
5658
|
},
|
|
5319
5659
|
"noUnnecessaryConditions": {
|
|
5320
|
-
"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",
|
|
5321
5661
|
"anyOf": [
|
|
5322
5662
|
{ "$ref": "#/$defs/NoUnnecessaryConditionsConfiguration" },
|
|
5323
5663
|
{ "type": "null" }
|
|
5324
5664
|
]
|
|
5325
5665
|
},
|
|
5326
5666
|
"noUnresolvedImports": {
|
|
5327
|
-
"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",
|
|
5328
5668
|
"anyOf": [
|
|
5329
5669
|
{ "$ref": "#/$defs/NoUnresolvedImportsConfiguration" },
|
|
5330
5670
|
{ "type": "null" }
|
|
5331
5671
|
]
|
|
5332
5672
|
},
|
|
5333
5673
|
"noUnusedExpressions": {
|
|
5334
|
-
"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",
|
|
5335
5675
|
"anyOf": [
|
|
5336
5676
|
{ "$ref": "#/$defs/NoUnusedExpressionsConfiguration" },
|
|
5337
5677
|
{ "type": "null" }
|
|
5338
5678
|
]
|
|
5339
5679
|
},
|
|
5340
5680
|
"noUselessCatchBinding": {
|
|
5341
|
-
"description": "Disallow unused catch bindings.\nSee
|
|
5681
|
+
"description": "Disallow unused catch bindings.\nSee https://biomejs.dev/linter/rules/no-useless-catch-binding",
|
|
5342
5682
|
"anyOf": [
|
|
5343
5683
|
{ "$ref": "#/$defs/NoUselessCatchBindingConfiguration" },
|
|
5344
5684
|
{ "type": "null" }
|
|
5345
5685
|
]
|
|
5346
5686
|
},
|
|
5347
5687
|
"noUselessUndefined": {
|
|
5348
|
-
"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",
|
|
5349
5689
|
"anyOf": [
|
|
5350
5690
|
{ "$ref": "#/$defs/NoUselessUndefinedConfiguration" },
|
|
5351
5691
|
{ "type": "null" }
|
|
5352
5692
|
]
|
|
5353
5693
|
},
|
|
5354
5694
|
"noVueDataObjectDeclaration": {
|
|
5355
|
-
"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",
|
|
5356
5696
|
"anyOf": [
|
|
5357
5697
|
{ "$ref": "#/$defs/NoVueDataObjectDeclarationConfiguration" },
|
|
5358
5698
|
{ "type": "null" }
|
|
5359
5699
|
]
|
|
5360
5700
|
},
|
|
5361
5701
|
"noVueDuplicateKeys": {
|
|
5362
|
-
"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",
|
|
5363
5703
|
"anyOf": [
|
|
5364
5704
|
{ "$ref": "#/$defs/NoVueDuplicateKeysConfiguration" },
|
|
5365
5705
|
{ "type": "null" }
|
|
5366
5706
|
]
|
|
5367
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
|
+
},
|
|
5368
5715
|
"noVueReservedKeys": {
|
|
5369
|
-
"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",
|
|
5370
5717
|
"anyOf": [
|
|
5371
5718
|
{ "$ref": "#/$defs/NoVueReservedKeysConfiguration" },
|
|
5372
5719
|
{ "type": "null" }
|
|
5373
5720
|
]
|
|
5374
5721
|
},
|
|
5375
5722
|
"noVueReservedProps": {
|
|
5376
|
-
"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",
|
|
5377
5724
|
"anyOf": [
|
|
5378
5725
|
{ "$ref": "#/$defs/NoVueReservedPropsConfiguration" },
|
|
5379
5726
|
{ "type": "null" }
|
|
5380
5727
|
]
|
|
5381
5728
|
},
|
|
5382
5729
|
"noVueSetupPropsReactivityLoss": {
|
|
5383
|
-
"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",
|
|
5384
5731
|
"anyOf": [
|
|
5385
5732
|
{ "$ref": "#/$defs/NoVueSetupPropsReactivityLossConfiguration" },
|
|
5386
5733
|
{ "type": "null" }
|
|
5387
5734
|
]
|
|
5388
5735
|
},
|
|
5389
5736
|
"noVueVIfWithVFor": {
|
|
5390
|
-
"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",
|
|
5391
5738
|
"anyOf": [
|
|
5392
5739
|
{ "$ref": "#/$defs/NoVueVIfWithVForConfiguration" },
|
|
5393
5740
|
{ "type": "null" }
|
|
@@ -5398,193 +5745,279 @@
|
|
|
5398
5745
|
"type": ["boolean", "null"]
|
|
5399
5746
|
},
|
|
5400
5747
|
"useArraySortCompare": {
|
|
5401
|
-
"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",
|
|
5402
5749
|
"anyOf": [
|
|
5403
5750
|
{ "$ref": "#/$defs/UseArraySortCompareConfiguration" },
|
|
5404
5751
|
{ "type": "null" }
|
|
5405
5752
|
]
|
|
5406
5753
|
},
|
|
5407
5754
|
"useAwaitThenable": {
|
|
5408
|
-
"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",
|
|
5409
5756
|
"anyOf": [
|
|
5410
5757
|
{ "$ref": "#/$defs/UseAwaitThenableConfiguration" },
|
|
5411
5758
|
{ "type": "null" }
|
|
5412
5759
|
]
|
|
5413
5760
|
},
|
|
5414
5761
|
"useConsistentArrowReturn": {
|
|
5415
|
-
"description": "Enforce consistent arrow function bodies.\nSee
|
|
5762
|
+
"description": "Enforce consistent arrow function bodies.\nSee https://biomejs.dev/linter/rules/use-consistent-arrow-return",
|
|
5416
5763
|
"anyOf": [
|
|
5417
5764
|
{ "$ref": "#/$defs/UseConsistentArrowReturnConfiguration" },
|
|
5418
5765
|
{ "type": "null" }
|
|
5419
5766
|
]
|
|
5420
5767
|
},
|
|
5421
5768
|
"useConsistentGraphqlDescriptions": {
|
|
5422
|
-
"description": "Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.\nSee
|
|
5769
|
+
"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",
|
|
5423
5770
|
"anyOf": [
|
|
5424
5771
|
{ "$ref": "#/$defs/UseConsistentGraphqlDescriptionsConfiguration" },
|
|
5425
5772
|
{ "type": "null" }
|
|
5426
5773
|
]
|
|
5427
5774
|
},
|
|
5428
5775
|
"useDeprecatedDate": {
|
|
5429
|
-
"description": "Require the @deprecated directive to specify a deletion date.\nSee
|
|
5776
|
+
"description": "Require the @deprecated directive to specify a deletion date.\nSee https://biomejs.dev/linter/rules/use-deprecated-date",
|
|
5430
5777
|
"anyOf": [
|
|
5431
5778
|
{ "$ref": "#/$defs/UseDeprecatedDateConfiguration" },
|
|
5432
5779
|
{ "type": "null" }
|
|
5433
5780
|
]
|
|
5434
5781
|
},
|
|
5435
5782
|
"useDestructuring": {
|
|
5436
|
-
"description": "Require destructuring from arrays and/or objects.\nSee
|
|
5783
|
+
"description": "Require destructuring from arrays and/or objects.\nSee https://biomejs.dev/linter/rules/use-destructuring",
|
|
5437
5784
|
"anyOf": [
|
|
5438
5785
|
{ "$ref": "#/$defs/UseDestructuringConfiguration" },
|
|
5439
5786
|
{ "type": "null" }
|
|
5440
5787
|
]
|
|
5441
5788
|
},
|
|
5789
|
+
"useErrorCause": {
|
|
5790
|
+
"description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
|
|
5791
|
+
"anyOf": [
|
|
5792
|
+
{ "$ref": "#/$defs/UseErrorCauseConfiguration" },
|
|
5793
|
+
{ "type": "null" }
|
|
5794
|
+
]
|
|
5795
|
+
},
|
|
5442
5796
|
"useExhaustiveSwitchCases": {
|
|
5443
|
-
"description": "Require switch-case statements to be exhaustive.\nSee
|
|
5797
|
+
"description": "Require switch-case statements to be exhaustive.\nSee https://biomejs.dev/linter/rules/use-exhaustive-switch-cases",
|
|
5444
5798
|
"anyOf": [
|
|
5445
5799
|
{ "$ref": "#/$defs/UseExhaustiveSwitchCasesConfiguration" },
|
|
5446
5800
|
{ "type": "null" }
|
|
5447
5801
|
]
|
|
5448
5802
|
},
|
|
5449
5803
|
"useExplicitType": {
|
|
5450
|
-
"description": "Enforce types in functions, methods, variables, and parameters.\nSee
|
|
5804
|
+
"description": "Enforce types in functions, methods, variables, and parameters.\nSee https://biomejs.dev/linter/rules/use-explicit-type",
|
|
5451
5805
|
"anyOf": [
|
|
5452
5806
|
{ "$ref": "#/$defs/UseExplicitTypeConfiguration" },
|
|
5453
5807
|
{ "type": "null" }
|
|
5454
5808
|
]
|
|
5455
5809
|
},
|
|
5456
5810
|
"useFind": {
|
|
5457
|
-
"description": "Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.\nSee
|
|
5811
|
+
"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",
|
|
5458
5812
|
"anyOf": [
|
|
5459
5813
|
{ "$ref": "#/$defs/UseFindConfiguration" },
|
|
5460
5814
|
{ "type": "null" }
|
|
5461
5815
|
]
|
|
5462
5816
|
},
|
|
5817
|
+
"useInlineScriptId": {
|
|
5818
|
+
"description": "Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.\nSee https://biomejs.dev/linter/rules/use-inline-script-id",
|
|
5819
|
+
"anyOf": [
|
|
5820
|
+
{ "$ref": "#/$defs/UseInlineScriptIdConfiguration" },
|
|
5821
|
+
{ "type": "null" }
|
|
5822
|
+
]
|
|
5823
|
+
},
|
|
5824
|
+
"useLoneAnonymousOperation": {
|
|
5825
|
+
"description": "Disallow anonymous operations when more than one operation specified in document.\nSee https://biomejs.dev/linter/rules/use-lone-anonymous-operation",
|
|
5826
|
+
"anyOf": [
|
|
5827
|
+
{ "$ref": "#/$defs/UseLoneAnonymousOperationConfiguration" },
|
|
5828
|
+
{ "type": "null" }
|
|
5829
|
+
]
|
|
5830
|
+
},
|
|
5831
|
+
"useLoneExecutableDefinition": {
|
|
5832
|
+
"description": "Require queries, mutations, subscriptions or fragments each to be located in separate files.\nSee https://biomejs.dev/linter/rules/use-lone-executable-definition",
|
|
5833
|
+
"anyOf": [
|
|
5834
|
+
{ "$ref": "#/$defs/UseLoneExecutableDefinitionConfiguration" },
|
|
5835
|
+
{ "type": "null" }
|
|
5836
|
+
]
|
|
5837
|
+
},
|
|
5463
5838
|
"useMaxParams": {
|
|
5464
|
-
"description": "Enforce a maximum number of parameters in function definitions.\nSee
|
|
5839
|
+
"description": "Enforce a maximum number of parameters in function definitions.\nSee https://biomejs.dev/linter/rules/use-max-params",
|
|
5465
5840
|
"anyOf": [
|
|
5466
5841
|
{ "$ref": "#/$defs/UseMaxParamsConfiguration" },
|
|
5467
5842
|
{ "type": "null" }
|
|
5468
5843
|
]
|
|
5469
5844
|
},
|
|
5470
5845
|
"useQwikMethodUsage": {
|
|
5471
|
-
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee
|
|
5846
|
+
"description": "Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.\nSee https://biomejs.dev/linter/rules/use-qwik-method-usage",
|
|
5472
5847
|
"anyOf": [
|
|
5473
5848
|
{ "$ref": "#/$defs/UseQwikMethodUsageConfiguration" },
|
|
5474
5849
|
{ "type": "null" }
|
|
5475
5850
|
]
|
|
5476
5851
|
},
|
|
5477
5852
|
"useQwikValidLexicalScope": {
|
|
5478
|
-
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee
|
|
5853
|
+
"description": "Disallow unserializable expressions in Qwik dollar ($) scopes.\nSee https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope",
|
|
5479
5854
|
"anyOf": [
|
|
5480
5855
|
{ "$ref": "#/$defs/UseQwikValidLexicalScopeConfiguration" },
|
|
5481
5856
|
{ "type": "null" }
|
|
5482
5857
|
]
|
|
5483
5858
|
},
|
|
5484
5859
|
"useRegexpExec": {
|
|
5485
|
-
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee
|
|
5860
|
+
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee https://biomejs.dev/linter/rules/use-regexp-exec",
|
|
5486
5861
|
"anyOf": [
|
|
5487
5862
|
{ "$ref": "#/$defs/UseRegexpExecConfiguration" },
|
|
5488
5863
|
{ "type": "null" }
|
|
5489
5864
|
]
|
|
5490
5865
|
},
|
|
5491
5866
|
"useRequiredScripts": {
|
|
5492
|
-
"description": "Enforce the presence of required scripts in package.json.\nSee
|
|
5867
|
+
"description": "Enforce the presence of required scripts in package.json.\nSee https://biomejs.dev/linter/rules/use-required-scripts",
|
|
5493
5868
|
"anyOf": [
|
|
5494
5869
|
{ "$ref": "#/$defs/UseRequiredScriptsConfiguration" },
|
|
5495
5870
|
{ "type": "null" }
|
|
5496
5871
|
]
|
|
5497
5872
|
},
|
|
5498
5873
|
"useSortedClasses": {
|
|
5499
|
-
"description": "Enforce the sorting of CSS utility classes.\nSee
|
|
5874
|
+
"description": "Enforce the sorting of CSS utility classes.\nSee https://biomejs.dev/linter/rules/use-sorted-classes",
|
|
5500
5875
|
"anyOf": [
|
|
5501
5876
|
{ "$ref": "#/$defs/UseSortedClassesConfiguration" },
|
|
5502
5877
|
{ "type": "null" }
|
|
5503
5878
|
]
|
|
5504
5879
|
},
|
|
5505
5880
|
"useSpread": {
|
|
5506
|
-
"description": "Enforce the use of the spread operator over .apply().\nSee
|
|
5881
|
+
"description": "Enforce the use of the spread operator over .apply().\nSee https://biomejs.dev/linter/rules/use-spread",
|
|
5507
5882
|
"anyOf": [
|
|
5508
5883
|
{ "$ref": "#/$defs/UseSpreadConfiguration" },
|
|
5509
5884
|
{ "type": "null" }
|
|
5510
5885
|
]
|
|
5511
5886
|
},
|
|
5512
|
-
"
|
|
5513
|
-
"description": "Enforce
|
|
5887
|
+
"useVueConsistentDefinePropsDeclaration": {
|
|
5888
|
+
"description": "Enforce consistent defineProps declaration style.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration",
|
|
5889
|
+
"anyOf": [
|
|
5890
|
+
{
|
|
5891
|
+
"$ref": "#/$defs/UseVueConsistentDefinePropsDeclarationConfiguration"
|
|
5892
|
+
},
|
|
5893
|
+
{ "type": "null" }
|
|
5894
|
+
]
|
|
5895
|
+
},
|
|
5896
|
+
"useVueConsistentVBindStyle": {
|
|
5897
|
+
"description": "Enforce a consistent style for v-bind in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style",
|
|
5514
5898
|
"anyOf": [
|
|
5515
|
-
{ "$ref": "#/$defs/
|
|
5899
|
+
{ "$ref": "#/$defs/UseVueConsistentVBindStyleConfiguration" },
|
|
5900
|
+
{ "type": "null" }
|
|
5901
|
+
]
|
|
5902
|
+
},
|
|
5903
|
+
"useVueConsistentVOnStyle": {
|
|
5904
|
+
"description": "Enforce a consistent style for v-on in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style",
|
|
5905
|
+
"anyOf": [
|
|
5906
|
+
{ "$ref": "#/$defs/UseVueConsistentVOnStyleConfiguration" },
|
|
5516
5907
|
{ "type": "null" }
|
|
5517
5908
|
]
|
|
5518
5909
|
},
|
|
5519
5910
|
"useVueDefineMacrosOrder": {
|
|
5520
|
-
"description": "Enforce specific order of Vue compiler macros.\nSee
|
|
5911
|
+
"description": "Enforce specific order of Vue compiler macros.\nSee https://biomejs.dev/linter/rules/use-vue-define-macros-order",
|
|
5521
5912
|
"anyOf": [
|
|
5522
5913
|
{ "$ref": "#/$defs/UseVueDefineMacrosOrderConfiguration" },
|
|
5523
5914
|
{ "type": "null" }
|
|
5524
5915
|
]
|
|
5525
5916
|
},
|
|
5526
5917
|
"useVueHyphenatedAttributes": {
|
|
5527
|
-
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee
|
|
5918
|
+
"description": "Enforce hyphenated (kebab-case) attribute names in Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes",
|
|
5528
5919
|
"anyOf": [
|
|
5529
5920
|
{ "$ref": "#/$defs/UseVueHyphenatedAttributesConfiguration" },
|
|
5530
5921
|
{ "type": "null" }
|
|
5531
5922
|
]
|
|
5532
5923
|
},
|
|
5533
5924
|
"useVueMultiWordComponentNames": {
|
|
5534
|
-
"description": "Enforce multi-word component names in Vue components.\nSee
|
|
5925
|
+
"description": "Enforce multi-word component names in Vue components.\nSee https://biomejs.dev/linter/rules/use-vue-multi-word-component-names",
|
|
5535
5926
|
"anyOf": [
|
|
5536
5927
|
{ "$ref": "#/$defs/UseVueMultiWordComponentNamesConfiguration" },
|
|
5537
5928
|
{ "type": "null" }
|
|
5538
5929
|
]
|
|
5539
5930
|
},
|
|
5931
|
+
"useVueVForKey": {
|
|
5932
|
+
"description": "Enforce that elements using v-for also specify a unique key.\nSee https://biomejs.dev/linter/rules/use-vue-v-for-key",
|
|
5933
|
+
"anyOf": [
|
|
5934
|
+
{ "$ref": "#/$defs/UseVueVForKeyConfiguration" },
|
|
5935
|
+
{ "type": "null" }
|
|
5936
|
+
]
|
|
5937
|
+
},
|
|
5938
|
+
"useVueValidTemplateRoot": {
|
|
5939
|
+
"description": "Enforce valid Vue \\<template> root usage.\nSee https://biomejs.dev/linter/rules/use-vue-valid-template-root",
|
|
5940
|
+
"anyOf": [
|
|
5941
|
+
{ "$ref": "#/$defs/UseVueValidTemplateRootConfiguration" },
|
|
5942
|
+
{ "type": "null" }
|
|
5943
|
+
]
|
|
5944
|
+
},
|
|
5540
5945
|
"useVueValidVBind": {
|
|
5541
|
-
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee
|
|
5946
|
+
"description": "Forbids v-bind directives with missing arguments or invalid modifiers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-bind",
|
|
5542
5947
|
"anyOf": [
|
|
5543
5948
|
{ "$ref": "#/$defs/UseVueValidVBindConfiguration" },
|
|
5544
5949
|
{ "type": "null" }
|
|
5545
5950
|
]
|
|
5546
5951
|
},
|
|
5952
|
+
"useVueValidVCloak": {
|
|
5953
|
+
"description": "Enforce valid v-cloak Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-cloak",
|
|
5954
|
+
"anyOf": [
|
|
5955
|
+
{ "$ref": "#/$defs/UseVueValidVCloakConfiguration" },
|
|
5956
|
+
{ "type": "null" }
|
|
5957
|
+
]
|
|
5958
|
+
},
|
|
5547
5959
|
"useVueValidVElse": {
|
|
5548
|
-
"description": "Enforce valid usage of v-else.\nSee
|
|
5960
|
+
"description": "Enforce valid usage of v-else.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else",
|
|
5549
5961
|
"anyOf": [
|
|
5550
5962
|
{ "$ref": "#/$defs/UseVueValidVElseConfiguration" },
|
|
5551
5963
|
{ "type": "null" }
|
|
5552
5964
|
]
|
|
5553
5965
|
},
|
|
5554
5966
|
"useVueValidVElseIf": {
|
|
5555
|
-
"description": "Enforce valid v-else-if directives.\nSee
|
|
5967
|
+
"description": "Enforce valid v-else-if directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-else-if",
|
|
5556
5968
|
"anyOf": [
|
|
5557
5969
|
{ "$ref": "#/$defs/UseVueValidVElseIfConfiguration" },
|
|
5558
5970
|
{ "type": "null" }
|
|
5559
5971
|
]
|
|
5560
5972
|
},
|
|
5561
5973
|
"useVueValidVHtml": {
|
|
5562
|
-
"description": "Enforce valid v-html directives.\nSee
|
|
5974
|
+
"description": "Enforce valid v-html directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-html",
|
|
5563
5975
|
"anyOf": [
|
|
5564
5976
|
{ "$ref": "#/$defs/UseVueValidVHtmlConfiguration" },
|
|
5565
5977
|
{ "type": "null" }
|
|
5566
5978
|
]
|
|
5567
5979
|
},
|
|
5568
5980
|
"useVueValidVIf": {
|
|
5569
|
-
"description": "Enforces valid v-if usage for Vue templates.\nSee
|
|
5981
|
+
"description": "Enforces valid v-if usage for Vue templates.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-if",
|
|
5570
5982
|
"anyOf": [
|
|
5571
5983
|
{ "$ref": "#/$defs/UseVueValidVIfConfiguration" },
|
|
5572
5984
|
{ "type": "null" }
|
|
5573
5985
|
]
|
|
5574
5986
|
},
|
|
5575
5987
|
"useVueValidVOn": {
|
|
5576
|
-
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee
|
|
5988
|
+
"description": "Enforce valid v-on directives with proper arguments, modifiers, and handlers.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-on",
|
|
5577
5989
|
"anyOf": [
|
|
5578
5990
|
{ "$ref": "#/$defs/UseVueValidVOnConfiguration" },
|
|
5579
5991
|
{ "type": "null" }
|
|
5580
5992
|
]
|
|
5581
5993
|
},
|
|
5994
|
+
"useVueValidVOnce": {
|
|
5995
|
+
"description": "Enforce valid v-once Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-once",
|
|
5996
|
+
"anyOf": [
|
|
5997
|
+
{ "$ref": "#/$defs/UseVueValidVOnceConfiguration" },
|
|
5998
|
+
{ "type": "null" }
|
|
5999
|
+
]
|
|
6000
|
+
},
|
|
6001
|
+
"useVueValidVPre": {
|
|
6002
|
+
"description": "Enforce valid v-pre Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-pre",
|
|
6003
|
+
"anyOf": [
|
|
6004
|
+
{ "$ref": "#/$defs/UseVueValidVPreConfiguration" },
|
|
6005
|
+
{ "type": "null" }
|
|
6006
|
+
]
|
|
6007
|
+
},
|
|
5582
6008
|
"useVueValidVText": {
|
|
5583
|
-
"description": "Enforce valid v-text Vue directives.\nSee
|
|
6009
|
+
"description": "Enforce valid v-text Vue directives.\nSee https://biomejs.dev/linter/rules/use-vue-valid-v-text",
|
|
5584
6010
|
"anyOf": [
|
|
5585
6011
|
{ "$ref": "#/$defs/UseVueValidVTextConfiguration" },
|
|
5586
6012
|
{ "type": "null" }
|
|
5587
6013
|
]
|
|
6014
|
+
},
|
|
6015
|
+
"useVueVapor": {
|
|
6016
|
+
"description": "Enforce opting in to Vue Vapor mode in \\<script setup> blocks.\nSee https://biomejs.dev/linter/rules/use-vue-vapor",
|
|
6017
|
+
"anyOf": [
|
|
6018
|
+
{ "$ref": "#/$defs/UseVueVaporConfiguration" },
|
|
6019
|
+
{ "type": "null" }
|
|
6020
|
+
]
|
|
5588
6021
|
}
|
|
5589
6022
|
},
|
|
5590
6023
|
"additionalProperties": false
|
|
@@ -5857,63 +6290,63 @@
|
|
|
5857
6290
|
"type": "object",
|
|
5858
6291
|
"properties": {
|
|
5859
6292
|
"noAccumulatingSpread": {
|
|
5860
|
-
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee
|
|
6293
|
+
"description": "Disallow the use of spread (...) syntax on accumulators.\nSee https://biomejs.dev/linter/rules/no-accumulating-spread",
|
|
5861
6294
|
"anyOf": [
|
|
5862
6295
|
{ "$ref": "#/$defs/NoAccumulatingSpreadConfiguration" },
|
|
5863
6296
|
{ "type": "null" }
|
|
5864
6297
|
]
|
|
5865
6298
|
},
|
|
5866
6299
|
"noAwaitInLoops": {
|
|
5867
|
-
"description": "Disallow await inside loops.\nSee
|
|
6300
|
+
"description": "Disallow await inside loops.\nSee https://biomejs.dev/linter/rules/no-await-in-loops",
|
|
5868
6301
|
"anyOf": [
|
|
5869
6302
|
{ "$ref": "#/$defs/NoAwaitInLoopsConfiguration" },
|
|
5870
6303
|
{ "type": "null" }
|
|
5871
6304
|
]
|
|
5872
6305
|
},
|
|
5873
6306
|
"noBarrelFile": {
|
|
5874
|
-
"description": "Disallow the use of barrel file.\nSee
|
|
6307
|
+
"description": "Disallow the use of barrel file.\nSee https://biomejs.dev/linter/rules/no-barrel-file",
|
|
5875
6308
|
"anyOf": [
|
|
5876
6309
|
{ "$ref": "#/$defs/NoBarrelFileConfiguration" },
|
|
5877
6310
|
{ "type": "null" }
|
|
5878
6311
|
]
|
|
5879
6312
|
},
|
|
5880
6313
|
"noDelete": {
|
|
5881
|
-
"description": "Disallow the use of the delete operator.\nSee
|
|
6314
|
+
"description": "Disallow the use of the delete operator.\nSee https://biomejs.dev/linter/rules/no-delete",
|
|
5882
6315
|
"anyOf": [
|
|
5883
6316
|
{ "$ref": "#/$defs/NoDeleteConfiguration" },
|
|
5884
6317
|
{ "type": "null" }
|
|
5885
6318
|
]
|
|
5886
6319
|
},
|
|
5887
6320
|
"noDynamicNamespaceImportAccess": {
|
|
5888
|
-
"description": "Disallow accessing namespace imports dynamically.\nSee
|
|
6321
|
+
"description": "Disallow accessing namespace imports dynamically.\nSee https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access",
|
|
5889
6322
|
"anyOf": [
|
|
5890
6323
|
{ "$ref": "#/$defs/NoDynamicNamespaceImportAccessConfiguration" },
|
|
5891
6324
|
{ "type": "null" }
|
|
5892
6325
|
]
|
|
5893
6326
|
},
|
|
5894
6327
|
"noImgElement": {
|
|
5895
|
-
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee
|
|
6328
|
+
"description": "Prevent usage of \\<img> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-img-element",
|
|
5896
6329
|
"anyOf": [
|
|
5897
6330
|
{ "$ref": "#/$defs/NoImgElementConfiguration" },
|
|
5898
6331
|
{ "type": "null" }
|
|
5899
6332
|
]
|
|
5900
6333
|
},
|
|
5901
6334
|
"noNamespaceImport": {
|
|
5902
|
-
"description": "Disallow the use of namespace imports.\nSee
|
|
6335
|
+
"description": "Disallow the use of namespace imports.\nSee https://biomejs.dev/linter/rules/no-namespace-import",
|
|
5903
6336
|
"anyOf": [
|
|
5904
6337
|
{ "$ref": "#/$defs/NoNamespaceImportConfiguration" },
|
|
5905
6338
|
{ "type": "null" }
|
|
5906
6339
|
]
|
|
5907
6340
|
},
|
|
5908
6341
|
"noReExportAll": {
|
|
5909
|
-
"description": "Avoid re-export all.\nSee
|
|
6342
|
+
"description": "Avoid re-export all.\nSee https://biomejs.dev/linter/rules/no-re-export-all",
|
|
5910
6343
|
"anyOf": [
|
|
5911
6344
|
{ "$ref": "#/$defs/NoReExportAllConfiguration" },
|
|
5912
6345
|
{ "type": "null" }
|
|
5913
6346
|
]
|
|
5914
6347
|
},
|
|
5915
6348
|
"noUnwantedPolyfillio": {
|
|
5916
|
-
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee
|
|
6349
|
+
"description": "Prevent duplicate polyfills from Polyfill.io.\nSee https://biomejs.dev/linter/rules/no-unwanted-polyfillio",
|
|
5917
6350
|
"anyOf": [
|
|
5918
6351
|
{ "$ref": "#/$defs/NoUnwantedPolyfillioConfiguration" },
|
|
5919
6352
|
{ "type": "null" }
|
|
@@ -5924,21 +6357,21 @@
|
|
|
5924
6357
|
"type": ["boolean", "null"]
|
|
5925
6358
|
},
|
|
5926
6359
|
"useGoogleFontPreconnect": {
|
|
5927
|
-
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee
|
|
6360
|
+
"description": "Ensure the preconnect attribute is used when using Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-preconnect",
|
|
5928
6361
|
"anyOf": [
|
|
5929
6362
|
{ "$ref": "#/$defs/UseGoogleFontPreconnectConfiguration" },
|
|
5930
6363
|
{ "type": "null" }
|
|
5931
6364
|
]
|
|
5932
6365
|
},
|
|
5933
6366
|
"useSolidForComponent": {
|
|
5934
|
-
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee
|
|
6367
|
+
"description": "Enforce using Solid's \\<For /> component for mapping an array to JSX elements.\nSee https://biomejs.dev/linter/rules/use-solid-for-component",
|
|
5935
6368
|
"anyOf": [
|
|
5936
6369
|
{ "$ref": "#/$defs/UseSolidForComponentConfiguration" },
|
|
5937
6370
|
{ "type": "null" }
|
|
5938
6371
|
]
|
|
5939
6372
|
},
|
|
5940
6373
|
"useTopLevelRegex": {
|
|
5941
|
-
"description": "Require regex literals to be declared at the top level.\nSee
|
|
6374
|
+
"description": "Require regex literals to be declared at the top level.\nSee https://biomejs.dev/linter/rules/use-top-level-regex",
|
|
5942
6375
|
"anyOf": [
|
|
5943
6376
|
{ "$ref": "#/$defs/UseTopLevelRegexConfiguration" },
|
|
5944
6377
|
{ "type": "null" }
|
|
@@ -6253,6 +6686,17 @@
|
|
|
6253
6686
|
"additionalProperties": false,
|
|
6254
6687
|
"required": ["level"]
|
|
6255
6688
|
},
|
|
6689
|
+
"RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions": {
|
|
6690
|
+
"type": "object",
|
|
6691
|
+
"properties": {
|
|
6692
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6693
|
+
"options": {
|
|
6694
|
+
"$ref": "#/$defs/NoBeforeInteractiveScriptOutsideDocumentOptions"
|
|
6695
|
+
}
|
|
6696
|
+
},
|
|
6697
|
+
"additionalProperties": false,
|
|
6698
|
+
"required": ["level"]
|
|
6699
|
+
},
|
|
6256
6700
|
"RuleWithNoBiomeFirstExceptionOptions": {
|
|
6257
6701
|
"type": "object",
|
|
6258
6702
|
"properties": {
|
|
@@ -6528,6 +6972,16 @@
|
|
|
6528
6972
|
"additionalProperties": false,
|
|
6529
6973
|
"required": ["level"]
|
|
6530
6974
|
},
|
|
6975
|
+
"RuleWithNoDivRegexOptions": {
|
|
6976
|
+
"type": "object",
|
|
6977
|
+
"properties": {
|
|
6978
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
6979
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6980
|
+
"options": { "$ref": "#/$defs/NoDivRegexOptions" }
|
|
6981
|
+
},
|
|
6982
|
+
"additionalProperties": false,
|
|
6983
|
+
"required": ["level"]
|
|
6984
|
+
},
|
|
6531
6985
|
"RuleWithNoDocumentCookieOptions": {
|
|
6532
6986
|
"type": "object",
|
|
6533
6987
|
"properties": {
|
|
@@ -6565,6 +7019,15 @@
|
|
|
6565
7019
|
"additionalProperties": false,
|
|
6566
7020
|
"required": ["level"]
|
|
6567
7021
|
},
|
|
7022
|
+
"RuleWithNoDuplicateArgumentNamesOptions": {
|
|
7023
|
+
"type": "object",
|
|
7024
|
+
"properties": {
|
|
7025
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7026
|
+
"options": { "$ref": "#/$defs/NoDuplicateArgumentNamesOptions" }
|
|
7027
|
+
},
|
|
7028
|
+
"additionalProperties": false,
|
|
7029
|
+
"required": ["level"]
|
|
7030
|
+
},
|
|
6568
7031
|
"RuleWithNoDuplicateAtImportRulesOptions": {
|
|
6569
7032
|
"type": "object",
|
|
6570
7033
|
"properties": {
|
|
@@ -6574,6 +7037,15 @@
|
|
|
6574
7037
|
"additionalProperties": false,
|
|
6575
7038
|
"required": ["level"]
|
|
6576
7039
|
},
|
|
7040
|
+
"RuleWithNoDuplicateAttributesOptions": {
|
|
7041
|
+
"type": "object",
|
|
7042
|
+
"properties": {
|
|
7043
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7044
|
+
"options": { "$ref": "#/$defs/NoDuplicateAttributesOptions" }
|
|
7045
|
+
},
|
|
7046
|
+
"additionalProperties": false,
|
|
7047
|
+
"required": ["level"]
|
|
7048
|
+
},
|
|
6577
7049
|
"RuleWithNoDuplicateCaseOptions": {
|
|
6578
7050
|
"type": "object",
|
|
6579
7051
|
"properties": {
|
|
@@ -6619,6 +7091,33 @@
|
|
|
6619
7091
|
"additionalProperties": false,
|
|
6620
7092
|
"required": ["level"]
|
|
6621
7093
|
},
|
|
7094
|
+
"RuleWithNoDuplicateEnumValueNamesOptions": {
|
|
7095
|
+
"type": "object",
|
|
7096
|
+
"properties": {
|
|
7097
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7098
|
+
"options": { "$ref": "#/$defs/NoDuplicateEnumValueNamesOptions" }
|
|
7099
|
+
},
|
|
7100
|
+
"additionalProperties": false,
|
|
7101
|
+
"required": ["level"]
|
|
7102
|
+
},
|
|
7103
|
+
"RuleWithNoDuplicateEnumValuesOptions": {
|
|
7104
|
+
"type": "object",
|
|
7105
|
+
"properties": {
|
|
7106
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7107
|
+
"options": { "$ref": "#/$defs/NoDuplicateEnumValuesOptions" }
|
|
7108
|
+
},
|
|
7109
|
+
"additionalProperties": false,
|
|
7110
|
+
"required": ["level"]
|
|
7111
|
+
},
|
|
7112
|
+
"RuleWithNoDuplicateFieldDefinitionNamesOptions": {
|
|
7113
|
+
"type": "object",
|
|
7114
|
+
"properties": {
|
|
7115
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7116
|
+
"options": { "$ref": "#/$defs/NoDuplicateFieldDefinitionNamesOptions" }
|
|
7117
|
+
},
|
|
7118
|
+
"additionalProperties": false,
|
|
7119
|
+
"required": ["level"]
|
|
7120
|
+
},
|
|
6622
7121
|
"RuleWithNoDuplicateFieldsOptions": {
|
|
6623
7122
|
"type": "object",
|
|
6624
7123
|
"properties": {
|
|
@@ -6637,6 +7136,24 @@
|
|
|
6637
7136
|
"additionalProperties": false,
|
|
6638
7137
|
"required": ["level"]
|
|
6639
7138
|
},
|
|
7139
|
+
"RuleWithNoDuplicateGraphqlOperationNameOptions": {
|
|
7140
|
+
"type": "object",
|
|
7141
|
+
"properties": {
|
|
7142
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7143
|
+
"options": { "$ref": "#/$defs/NoDuplicateGraphqlOperationNameOptions" }
|
|
7144
|
+
},
|
|
7145
|
+
"additionalProperties": false,
|
|
7146
|
+
"required": ["level"]
|
|
7147
|
+
},
|
|
7148
|
+
"RuleWithNoDuplicateInputFieldNamesOptions": {
|
|
7149
|
+
"type": "object",
|
|
7150
|
+
"properties": {
|
|
7151
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7152
|
+
"options": { "$ref": "#/$defs/NoDuplicateInputFieldNamesOptions" }
|
|
7153
|
+
},
|
|
7154
|
+
"additionalProperties": false,
|
|
7155
|
+
"required": ["level"]
|
|
7156
|
+
},
|
|
6640
7157
|
"RuleWithNoDuplicateJsxPropsOptions": {
|
|
6641
7158
|
"type": "object",
|
|
6642
7159
|
"properties": {
|
|
@@ -6693,6 +7210,15 @@
|
|
|
6693
7210
|
"additionalProperties": false,
|
|
6694
7211
|
"required": ["level"]
|
|
6695
7212
|
},
|
|
7213
|
+
"RuleWithNoDuplicateVariableNamesOptions": {
|
|
7214
|
+
"type": "object",
|
|
7215
|
+
"properties": {
|
|
7216
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7217
|
+
"options": { "$ref": "#/$defs/NoDuplicateVariableNamesOptions" }
|
|
7218
|
+
},
|
|
7219
|
+
"additionalProperties": false,
|
|
7220
|
+
"required": ["level"]
|
|
7221
|
+
},
|
|
6696
7222
|
"RuleWithNoDuplicatedSpreadPropsOptions": {
|
|
6697
7223
|
"type": "object",
|
|
6698
7224
|
"properties": {
|
|
@@ -6803,6 +7329,15 @@
|
|
|
6803
7329
|
"additionalProperties": false,
|
|
6804
7330
|
"required": ["level"]
|
|
6805
7331
|
},
|
|
7332
|
+
"RuleWithNoExcessiveClassesPerFileOptions": {
|
|
7333
|
+
"type": "object",
|
|
7334
|
+
"properties": {
|
|
7335
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7336
|
+
"options": { "$ref": "#/$defs/NoExcessiveClassesPerFileOptions" }
|
|
7337
|
+
},
|
|
7338
|
+
"additionalProperties": false,
|
|
7339
|
+
"required": ["level"]
|
|
7340
|
+
},
|
|
6806
7341
|
"RuleWithNoExcessiveCognitiveComplexityOptions": {
|
|
6807
7342
|
"type": "object",
|
|
6808
7343
|
"properties": {
|
|
@@ -6812,6 +7347,15 @@
|
|
|
6812
7347
|
"additionalProperties": false,
|
|
6813
7348
|
"required": ["level"]
|
|
6814
7349
|
},
|
|
7350
|
+
"RuleWithNoExcessiveLinesPerFileOptions": {
|
|
7351
|
+
"type": "object",
|
|
7352
|
+
"properties": {
|
|
7353
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7354
|
+
"options": { "$ref": "#/$defs/NoExcessiveLinesPerFileOptions" }
|
|
7355
|
+
},
|
|
7356
|
+
"additionalProperties": false,
|
|
7357
|
+
"required": ["level"]
|
|
7358
|
+
},
|
|
6815
7359
|
"RuleWithNoExcessiveLinesPerFunctionOptions": {
|
|
6816
7360
|
"type": "object",
|
|
6817
7361
|
"properties": {
|
|
@@ -6896,6 +7440,15 @@
|
|
|
6896
7440
|
"additionalProperties": false,
|
|
6897
7441
|
"required": ["level"]
|
|
6898
7442
|
},
|
|
7443
|
+
"RuleWithNoFloatingClassesOptions": {
|
|
7444
|
+
"type": "object",
|
|
7445
|
+
"properties": {
|
|
7446
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7447
|
+
"options": { "$ref": "#/$defs/NoFloatingClassesOptions" }
|
|
7448
|
+
},
|
|
7449
|
+
"additionalProperties": false,
|
|
7450
|
+
"required": ["level"]
|
|
7451
|
+
},
|
|
6899
7452
|
"RuleWithNoFloatingPromisesOptions": {
|
|
6900
7453
|
"type": "object",
|
|
6901
7454
|
"properties": {
|
|
@@ -7204,16 +7757,25 @@
|
|
|
7204
7757
|
"type": "object",
|
|
7205
7758
|
"properties": {
|
|
7206
7759
|
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7207
|
-
"options": { "$ref": "#/$defs/NoIrregularWhitespaceOptions" }
|
|
7760
|
+
"options": { "$ref": "#/$defs/NoIrregularWhitespaceOptions" }
|
|
7761
|
+
},
|
|
7762
|
+
"additionalProperties": false,
|
|
7763
|
+
"required": ["level"]
|
|
7764
|
+
},
|
|
7765
|
+
"RuleWithNoJsxLiteralsOptions": {
|
|
7766
|
+
"type": "object",
|
|
7767
|
+
"properties": {
|
|
7768
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7769
|
+
"options": { "$ref": "#/$defs/NoJsxLiteralsOptions" }
|
|
7208
7770
|
},
|
|
7209
7771
|
"additionalProperties": false,
|
|
7210
7772
|
"required": ["level"]
|
|
7211
7773
|
},
|
|
7212
|
-
"
|
|
7774
|
+
"RuleWithNoJsxPropsBindOptions": {
|
|
7213
7775
|
"type": "object",
|
|
7214
7776
|
"properties": {
|
|
7215
7777
|
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7216
|
-
"options": { "$ref": "#/$defs/
|
|
7778
|
+
"options": { "$ref": "#/$defs/NoJsxPropsBindOptions" }
|
|
7217
7779
|
},
|
|
7218
7780
|
"additionalProperties": false,
|
|
7219
7781
|
"required": ["level"]
|
|
@@ -7311,6 +7873,15 @@
|
|
|
7311
7873
|
"additionalProperties": false,
|
|
7312
7874
|
"required": ["level"]
|
|
7313
7875
|
},
|
|
7876
|
+
"RuleWithNoMultiAssignOptions": {
|
|
7877
|
+
"type": "object",
|
|
7878
|
+
"properties": {
|
|
7879
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7880
|
+
"options": { "$ref": "#/$defs/NoMultiAssignOptions" }
|
|
7881
|
+
},
|
|
7882
|
+
"additionalProperties": false,
|
|
7883
|
+
"required": ["level"]
|
|
7884
|
+
},
|
|
7314
7885
|
"RuleWithNoMultiStrOptions": {
|
|
7315
7886
|
"type": "object",
|
|
7316
7887
|
"properties": {
|
|
@@ -7691,6 +8262,24 @@
|
|
|
7691
8262
|
"additionalProperties": false,
|
|
7692
8263
|
"required": ["level"]
|
|
7693
8264
|
},
|
|
8265
|
+
"RuleWithNoReturnAssignOptions": {
|
|
8266
|
+
"type": "object",
|
|
8267
|
+
"properties": {
|
|
8268
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8269
|
+
"options": { "$ref": "#/$defs/NoReturnAssignOptions" }
|
|
8270
|
+
},
|
|
8271
|
+
"additionalProperties": false,
|
|
8272
|
+
"required": ["level"]
|
|
8273
|
+
},
|
|
8274
|
+
"RuleWithNoRootTypeOptions": {
|
|
8275
|
+
"type": "object",
|
|
8276
|
+
"properties": {
|
|
8277
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8278
|
+
"options": { "$ref": "#/$defs/NoRootTypeOptions" }
|
|
8279
|
+
},
|
|
8280
|
+
"additionalProperties": false,
|
|
8281
|
+
"required": ["level"]
|
|
8282
|
+
},
|
|
7694
8283
|
"RuleWithNoScriptUrlOptions": {
|
|
7695
8284
|
"type": "object",
|
|
7696
8285
|
"properties": {
|
|
@@ -8475,6 +9064,15 @@
|
|
|
8475
9064
|
"additionalProperties": false,
|
|
8476
9065
|
"required": ["level"]
|
|
8477
9066
|
},
|
|
9067
|
+
"RuleWithNoVueOptionsApiOptions": {
|
|
9068
|
+
"type": "object",
|
|
9069
|
+
"properties": {
|
|
9070
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9071
|
+
"options": { "$ref": "#/$defs/NoVueOptionsApiOptions" }
|
|
9072
|
+
},
|
|
9073
|
+
"additionalProperties": false,
|
|
9074
|
+
"required": ["level"]
|
|
9075
|
+
},
|
|
8478
9076
|
"RuleWithNoVueReservedKeysOptions": {
|
|
8479
9077
|
"type": "object",
|
|
8480
9078
|
"properties": {
|
|
@@ -8878,6 +9476,15 @@
|
|
|
8878
9476
|
"additionalProperties": false,
|
|
8879
9477
|
"required": ["level"]
|
|
8880
9478
|
},
|
|
9479
|
+
"RuleWithUseErrorCauseOptions": {
|
|
9480
|
+
"type": "object",
|
|
9481
|
+
"properties": {
|
|
9482
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9483
|
+
"options": { "$ref": "#/$defs/UseErrorCauseOptions" }
|
|
9484
|
+
},
|
|
9485
|
+
"additionalProperties": false,
|
|
9486
|
+
"required": ["level"]
|
|
9487
|
+
},
|
|
8881
9488
|
"RuleWithUseErrorMessageOptions": {
|
|
8882
9489
|
"type": "object",
|
|
8883
9490
|
"properties": {
|
|
@@ -9160,6 +9767,15 @@
|
|
|
9160
9767
|
"additionalProperties": false,
|
|
9161
9768
|
"required": ["level"]
|
|
9162
9769
|
},
|
|
9770
|
+
"RuleWithUseInlineScriptIdOptions": {
|
|
9771
|
+
"type": "object",
|
|
9772
|
+
"properties": {
|
|
9773
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9774
|
+
"options": { "$ref": "#/$defs/UseInlineScriptIdOptions" }
|
|
9775
|
+
},
|
|
9776
|
+
"additionalProperties": false,
|
|
9777
|
+
"required": ["level"]
|
|
9778
|
+
},
|
|
9163
9779
|
"RuleWithUseIsArrayOptions": {
|
|
9164
9780
|
"type": "object",
|
|
9165
9781
|
"properties": {
|
|
@@ -9245,6 +9861,24 @@
|
|
|
9245
9861
|
"additionalProperties": false,
|
|
9246
9862
|
"required": ["level"]
|
|
9247
9863
|
},
|
|
9864
|
+
"RuleWithUseLoneAnonymousOperationOptions": {
|
|
9865
|
+
"type": "object",
|
|
9866
|
+
"properties": {
|
|
9867
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9868
|
+
"options": { "$ref": "#/$defs/UseLoneAnonymousOperationOptions" }
|
|
9869
|
+
},
|
|
9870
|
+
"additionalProperties": false,
|
|
9871
|
+
"required": ["level"]
|
|
9872
|
+
},
|
|
9873
|
+
"RuleWithUseLoneExecutableDefinitionOptions": {
|
|
9874
|
+
"type": "object",
|
|
9875
|
+
"properties": {
|
|
9876
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9877
|
+
"options": { "$ref": "#/$defs/UseLoneExecutableDefinitionOptions" }
|
|
9878
|
+
},
|
|
9879
|
+
"additionalProperties": false,
|
|
9880
|
+
"required": ["level"]
|
|
9881
|
+
},
|
|
9248
9882
|
"RuleWithUseMaxParamsOptions": {
|
|
9249
9883
|
"type": "object",
|
|
9250
9884
|
"properties": {
|
|
@@ -9651,15 +10285,6 @@
|
|
|
9651
10285
|
"additionalProperties": false,
|
|
9652
10286
|
"required": ["level"]
|
|
9653
10287
|
},
|
|
9654
|
-
"RuleWithUseUniqueGraphqlOperationNameOptions": {
|
|
9655
|
-
"type": "object",
|
|
9656
|
-
"properties": {
|
|
9657
|
-
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9658
|
-
"options": { "$ref": "#/$defs/UseUniqueGraphqlOperationNameOptions" }
|
|
9659
|
-
},
|
|
9660
|
-
"additionalProperties": false,
|
|
9661
|
-
"required": ["level"]
|
|
9662
|
-
},
|
|
9663
10288
|
"RuleWithUseValidAnchorOptions": {
|
|
9664
10289
|
"type": "object",
|
|
9665
10290
|
"properties": {
|
|
@@ -9735,6 +10360,37 @@
|
|
|
9735
10360
|
"additionalProperties": false,
|
|
9736
10361
|
"required": ["level"]
|
|
9737
10362
|
},
|
|
10363
|
+
"RuleWithUseVueConsistentDefinePropsDeclarationOptions": {
|
|
10364
|
+
"type": "object",
|
|
10365
|
+
"properties": {
|
|
10366
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10367
|
+
"options": {
|
|
10368
|
+
"$ref": "#/$defs/UseVueConsistentDefinePropsDeclarationOptions"
|
|
10369
|
+
}
|
|
10370
|
+
},
|
|
10371
|
+
"additionalProperties": false,
|
|
10372
|
+
"required": ["level"]
|
|
10373
|
+
},
|
|
10374
|
+
"RuleWithUseVueConsistentVBindStyleOptions": {
|
|
10375
|
+
"type": "object",
|
|
10376
|
+
"properties": {
|
|
10377
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10378
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10379
|
+
"options": { "$ref": "#/$defs/UseVueConsistentVBindStyleOptions" }
|
|
10380
|
+
},
|
|
10381
|
+
"additionalProperties": false,
|
|
10382
|
+
"required": ["level"]
|
|
10383
|
+
},
|
|
10384
|
+
"RuleWithUseVueConsistentVOnStyleOptions": {
|
|
10385
|
+
"type": "object",
|
|
10386
|
+
"properties": {
|
|
10387
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10388
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10389
|
+
"options": { "$ref": "#/$defs/UseVueConsistentVOnStyleOptions" }
|
|
10390
|
+
},
|
|
10391
|
+
"additionalProperties": false,
|
|
10392
|
+
"required": ["level"]
|
|
10393
|
+
},
|
|
9738
10394
|
"RuleWithUseVueDefineMacrosOrderOptions": {
|
|
9739
10395
|
"type": "object",
|
|
9740
10396
|
"properties": {
|
|
@@ -9764,6 +10420,25 @@
|
|
|
9764
10420
|
"additionalProperties": false,
|
|
9765
10421
|
"required": ["level"]
|
|
9766
10422
|
},
|
|
10423
|
+
"RuleWithUseVueVForKeyOptions": {
|
|
10424
|
+
"type": "object",
|
|
10425
|
+
"properties": {
|
|
10426
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10427
|
+
"options": { "$ref": "#/$defs/UseVueVForKeyOptions" }
|
|
10428
|
+
},
|
|
10429
|
+
"additionalProperties": false,
|
|
10430
|
+
"required": ["level"]
|
|
10431
|
+
},
|
|
10432
|
+
"RuleWithUseVueValidTemplateRootOptions": {
|
|
10433
|
+
"type": "object",
|
|
10434
|
+
"properties": {
|
|
10435
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10436
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10437
|
+
"options": { "$ref": "#/$defs/UseVueValidTemplateRootOptions" }
|
|
10438
|
+
},
|
|
10439
|
+
"additionalProperties": false,
|
|
10440
|
+
"required": ["level"]
|
|
10441
|
+
},
|
|
9767
10442
|
"RuleWithUseVueValidVBindOptions": {
|
|
9768
10443
|
"type": "object",
|
|
9769
10444
|
"properties": {
|
|
@@ -9773,6 +10448,16 @@
|
|
|
9773
10448
|
"additionalProperties": false,
|
|
9774
10449
|
"required": ["level"]
|
|
9775
10450
|
},
|
|
10451
|
+
"RuleWithUseVueValidVCloakOptions": {
|
|
10452
|
+
"type": "object",
|
|
10453
|
+
"properties": {
|
|
10454
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10455
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10456
|
+
"options": { "$ref": "#/$defs/UseVueValidVCloakOptions" }
|
|
10457
|
+
},
|
|
10458
|
+
"additionalProperties": false,
|
|
10459
|
+
"required": ["level"]
|
|
10460
|
+
},
|
|
9776
10461
|
"RuleWithUseVueValidVElseIfOptions": {
|
|
9777
10462
|
"type": "object",
|
|
9778
10463
|
"properties": {
|
|
@@ -9818,6 +10503,26 @@
|
|
|
9818
10503
|
"additionalProperties": false,
|
|
9819
10504
|
"required": ["level"]
|
|
9820
10505
|
},
|
|
10506
|
+
"RuleWithUseVueValidVOnceOptions": {
|
|
10507
|
+
"type": "object",
|
|
10508
|
+
"properties": {
|
|
10509
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10510
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10511
|
+
"options": { "$ref": "#/$defs/UseVueValidVOnceOptions" }
|
|
10512
|
+
},
|
|
10513
|
+
"additionalProperties": false,
|
|
10514
|
+
"required": ["level"]
|
|
10515
|
+
},
|
|
10516
|
+
"RuleWithUseVueValidVPreOptions": {
|
|
10517
|
+
"type": "object",
|
|
10518
|
+
"properties": {
|
|
10519
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10520
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10521
|
+
"options": { "$ref": "#/$defs/UseVueValidVPreOptions" }
|
|
10522
|
+
},
|
|
10523
|
+
"additionalProperties": false,
|
|
10524
|
+
"required": ["level"]
|
|
10525
|
+
},
|
|
9821
10526
|
"RuleWithUseVueValidVTextOptions": {
|
|
9822
10527
|
"type": "object",
|
|
9823
10528
|
"properties": {
|
|
@@ -9827,6 +10532,16 @@
|
|
|
9827
10532
|
"additionalProperties": false,
|
|
9828
10533
|
"required": ["level"]
|
|
9829
10534
|
},
|
|
10535
|
+
"RuleWithUseVueVaporOptions": {
|
|
10536
|
+
"type": "object",
|
|
10537
|
+
"properties": {
|
|
10538
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10539
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10540
|
+
"options": { "$ref": "#/$defs/UseVueVaporOptions" }
|
|
10541
|
+
},
|
|
10542
|
+
"additionalProperties": false,
|
|
10543
|
+
"required": ["level"]
|
|
10544
|
+
},
|
|
9830
10545
|
"RuleWithUseWhileOptions": {
|
|
9831
10546
|
"type": "object",
|
|
9832
10547
|
"properties": {
|
|
@@ -9902,21 +10617,21 @@
|
|
|
9902
10617
|
"type": "object",
|
|
9903
10618
|
"properties": {
|
|
9904
10619
|
"noBlankTarget": {
|
|
9905
|
-
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee
|
|
10620
|
+
"description": "Disallow target=\"_blank\" attribute without rel=\"noopener\".\nSee https://biomejs.dev/linter/rules/no-blank-target",
|
|
9906
10621
|
"anyOf": [
|
|
9907
10622
|
{ "$ref": "#/$defs/NoBlankTargetConfiguration" },
|
|
9908
10623
|
{ "type": "null" }
|
|
9909
10624
|
]
|
|
9910
10625
|
},
|
|
9911
10626
|
"noDangerouslySetInnerHtml": {
|
|
9912
|
-
"description": "Prevent the usage of dangerous JSX props.\nSee
|
|
10627
|
+
"description": "Prevent the usage of dangerous JSX props.\nSee https://biomejs.dev/linter/rules/no-dangerously-set-inner-html",
|
|
9913
10628
|
"anyOf": [
|
|
9914
10629
|
{ "$ref": "#/$defs/NoDangerouslySetInnerHtmlConfiguration" },
|
|
9915
10630
|
{ "type": "null" }
|
|
9916
10631
|
]
|
|
9917
10632
|
},
|
|
9918
10633
|
"noDangerouslySetInnerHtmlWithChildren": {
|
|
9919
|
-
"description": "Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.\nSee
|
|
10634
|
+
"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",
|
|
9920
10635
|
"anyOf": [
|
|
9921
10636
|
{
|
|
9922
10637
|
"$ref": "#/$defs/NoDangerouslySetInnerHtmlWithChildrenConfiguration"
|
|
@@ -9925,14 +10640,14 @@
|
|
|
9925
10640
|
]
|
|
9926
10641
|
},
|
|
9927
10642
|
"noGlobalEval": {
|
|
9928
|
-
"description": "Disallow the use of global eval().\nSee
|
|
10643
|
+
"description": "Disallow the use of global eval().\nSee https://biomejs.dev/linter/rules/no-global-eval",
|
|
9929
10644
|
"anyOf": [
|
|
9930
10645
|
{ "$ref": "#/$defs/NoGlobalEvalConfiguration" },
|
|
9931
10646
|
{ "type": "null" }
|
|
9932
10647
|
]
|
|
9933
10648
|
},
|
|
9934
10649
|
"noSecrets": {
|
|
9935
|
-
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee
|
|
10650
|
+
"description": "Disallow usage of sensitive data such as API keys and tokens.\nSee https://biomejs.dev/linter/rules/no-secrets",
|
|
9936
10651
|
"anyOf": [
|
|
9937
10652
|
{ "$ref": "#/$defs/NoSecretsConfiguration" },
|
|
9938
10653
|
{ "type": "null" }
|
|
@@ -10030,7 +10745,7 @@
|
|
|
10030
10745
|
"type": "object",
|
|
10031
10746
|
"properties": {
|
|
10032
10747
|
"organizeImports": {
|
|
10033
|
-
"description": "Provides a code action to sort the imports and exports in the file using a built-in or custom order.\nSee
|
|
10748
|
+
"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",
|
|
10034
10749
|
"anyOf": [
|
|
10035
10750
|
{ "$ref": "#/$defs/OrganizeImportsConfiguration" },
|
|
10036
10751
|
{ "type": "null" }
|
|
@@ -10041,21 +10756,21 @@
|
|
|
10041
10756
|
"type": ["boolean", "null"]
|
|
10042
10757
|
},
|
|
10043
10758
|
"useSortedAttributes": {
|
|
10044
|
-
"description": "Enforce attribute sorting in JSX elements.\nSee
|
|
10759
|
+
"description": "Enforce attribute sorting in JSX elements.\nSee https://biomejs.dev/assist/actions/use-sorted-attributes",
|
|
10045
10760
|
"anyOf": [
|
|
10046
10761
|
{ "$ref": "#/$defs/UseSortedAttributesConfiguration" },
|
|
10047
10762
|
{ "type": "null" }
|
|
10048
10763
|
]
|
|
10049
10764
|
},
|
|
10050
10765
|
"useSortedKeys": {
|
|
10051
|
-
"description": "Sort the keys of a JSON object in natural order.\nSee
|
|
10766
|
+
"description": "Sort the keys of a JSON object in natural order.\nSee https://biomejs.dev/assist/actions/use-sorted-keys",
|
|
10052
10767
|
"anyOf": [
|
|
10053
10768
|
{ "$ref": "#/$defs/UseSortedKeysConfiguration" },
|
|
10054
10769
|
{ "type": "null" }
|
|
10055
10770
|
]
|
|
10056
10771
|
},
|
|
10057
10772
|
"useSortedProperties": {
|
|
10058
|
-
"description": "Enforce ordering of CSS properties and nested rules.\nSee
|
|
10773
|
+
"description": "Enforce ordering of CSS properties and nested rules.\nSee https://biomejs.dev/assist/actions/use-sorted-properties",
|
|
10059
10774
|
"anyOf": [
|
|
10060
10775
|
{ "$ref": "#/$defs/UseSortedPropertiesConfiguration" },
|
|
10061
10776
|
{ "type": "null" }
|
|
@@ -10106,182 +10821,182 @@
|
|
|
10106
10821
|
"type": "object",
|
|
10107
10822
|
"properties": {
|
|
10108
10823
|
"noCommonJs": {
|
|
10109
|
-
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee
|
|
10824
|
+
"description": "Disallow use of CommonJs module system in favor of ESM style imports.\nSee https://biomejs.dev/linter/rules/no-common-js",
|
|
10110
10825
|
"anyOf": [
|
|
10111
10826
|
{ "$ref": "#/$defs/NoCommonJsConfiguration" },
|
|
10112
10827
|
{ "type": "null" }
|
|
10113
10828
|
]
|
|
10114
10829
|
},
|
|
10115
10830
|
"noDefaultExport": {
|
|
10116
|
-
"description": "Disallow default exports.\nSee
|
|
10831
|
+
"description": "Disallow default exports.\nSee https://biomejs.dev/linter/rules/no-default-export",
|
|
10117
10832
|
"anyOf": [
|
|
10118
10833
|
{ "$ref": "#/$defs/NoDefaultExportConfiguration" },
|
|
10119
10834
|
{ "type": "null" }
|
|
10120
10835
|
]
|
|
10121
10836
|
},
|
|
10122
10837
|
"noDescendingSpecificity": {
|
|
10123
|
-
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee
|
|
10838
|
+
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.\nSee https://biomejs.dev/linter/rules/no-descending-specificity",
|
|
10124
10839
|
"anyOf": [
|
|
10125
10840
|
{ "$ref": "#/$defs/NoDescendingSpecificityConfiguration" },
|
|
10126
10841
|
{ "type": "null" }
|
|
10127
10842
|
]
|
|
10128
10843
|
},
|
|
10129
10844
|
"noDoneCallback": {
|
|
10130
|
-
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee
|
|
10845
|
+
"description": "Disallow using a callback in asynchronous tests and hooks.\nSee https://biomejs.dev/linter/rules/no-done-callback",
|
|
10131
10846
|
"anyOf": [
|
|
10132
10847
|
{ "$ref": "#/$defs/NoDoneCallbackConfiguration" },
|
|
10133
10848
|
{ "type": "null" }
|
|
10134
10849
|
]
|
|
10135
10850
|
},
|
|
10136
10851
|
"noEnum": {
|
|
10137
|
-
"description": "Disallow TypeScript enum.\nSee
|
|
10852
|
+
"description": "Disallow TypeScript enum.\nSee https://biomejs.dev/linter/rules/no-enum",
|
|
10138
10853
|
"anyOf": [
|
|
10139
10854
|
{ "$ref": "#/$defs/NoEnumConfiguration" },
|
|
10140
10855
|
{ "type": "null" }
|
|
10141
10856
|
]
|
|
10142
10857
|
},
|
|
10143
10858
|
"noExportedImports": {
|
|
10144
|
-
"description": "Disallow exporting an imported variable.\nSee
|
|
10859
|
+
"description": "Disallow exporting an imported variable.\nSee https://biomejs.dev/linter/rules/no-exported-imports",
|
|
10145
10860
|
"anyOf": [
|
|
10146
10861
|
{ "$ref": "#/$defs/NoExportedImportsConfiguration" },
|
|
10147
10862
|
{ "type": "null" }
|
|
10148
10863
|
]
|
|
10149
10864
|
},
|
|
10150
10865
|
"noHeadElement": {
|
|
10151
|
-
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee
|
|
10866
|
+
"description": "Prevent usage of \\<head> element in a Next.js project.\nSee https://biomejs.dev/linter/rules/no-head-element",
|
|
10152
10867
|
"anyOf": [
|
|
10153
10868
|
{ "$ref": "#/$defs/NoHeadElementConfiguration" },
|
|
10154
10869
|
{ "type": "null" }
|
|
10155
10870
|
]
|
|
10156
10871
|
},
|
|
10157
10872
|
"noImplicitBoolean": {
|
|
10158
|
-
"description": "Disallow implicit true values on JSX boolean attributes.\nSee
|
|
10873
|
+
"description": "Disallow implicit true values on JSX boolean attributes.\nSee https://biomejs.dev/linter/rules/no-implicit-boolean",
|
|
10159
10874
|
"anyOf": [
|
|
10160
10875
|
{ "$ref": "#/$defs/NoImplicitBooleanConfiguration" },
|
|
10161
10876
|
{ "type": "null" }
|
|
10162
10877
|
]
|
|
10163
10878
|
},
|
|
10164
10879
|
"noInferrableTypes": {
|
|
10165
|
-
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee
|
|
10880
|
+
"description": "Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.\nSee https://biomejs.dev/linter/rules/no-inferrable-types",
|
|
10166
10881
|
"anyOf": [
|
|
10167
10882
|
{ "$ref": "#/$defs/NoInferrableTypesConfiguration" },
|
|
10168
10883
|
{ "type": "null" }
|
|
10169
10884
|
]
|
|
10170
10885
|
},
|
|
10171
10886
|
"noMagicNumbers": {
|
|
10172
|
-
"description": "Reports usage of \"magic numbers\" — numbers used directly instead of being assigned to named constants.\nSee
|
|
10887
|
+
"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",
|
|
10173
10888
|
"anyOf": [
|
|
10174
10889
|
{ "$ref": "#/$defs/NoMagicNumbersConfiguration" },
|
|
10175
10890
|
{ "type": "null" }
|
|
10176
10891
|
]
|
|
10177
10892
|
},
|
|
10178
10893
|
"noNamespace": {
|
|
10179
|
-
"description": "Disallow the use of TypeScript's namespaces.\nSee
|
|
10894
|
+
"description": "Disallow the use of TypeScript's namespaces.\nSee https://biomejs.dev/linter/rules/no-namespace",
|
|
10180
10895
|
"anyOf": [
|
|
10181
10896
|
{ "$ref": "#/$defs/NoNamespaceConfiguration" },
|
|
10182
10897
|
{ "type": "null" }
|
|
10183
10898
|
]
|
|
10184
10899
|
},
|
|
10185
10900
|
"noNegationElse": {
|
|
10186
|
-
"description": "Disallow negation in the condition of an if statement if it has an else clause.\nSee
|
|
10901
|
+
"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",
|
|
10187
10902
|
"anyOf": [
|
|
10188
10903
|
{ "$ref": "#/$defs/NoNegationElseConfiguration" },
|
|
10189
10904
|
{ "type": "null" }
|
|
10190
10905
|
]
|
|
10191
10906
|
},
|
|
10192
10907
|
"noNestedTernary": {
|
|
10193
|
-
"description": "Disallow nested ternary expressions.\nSee
|
|
10908
|
+
"description": "Disallow nested ternary expressions.\nSee https://biomejs.dev/linter/rules/no-nested-ternary",
|
|
10194
10909
|
"anyOf": [
|
|
10195
10910
|
{ "$ref": "#/$defs/NoNestedTernaryConfiguration" },
|
|
10196
10911
|
{ "type": "null" }
|
|
10197
10912
|
]
|
|
10198
10913
|
},
|
|
10199
10914
|
"noNonNullAssertion": {
|
|
10200
|
-
"description": "Disallow non-null assertions using the ! postfix operator.\nSee
|
|
10915
|
+
"description": "Disallow non-null assertions using the ! postfix operator.\nSee https://biomejs.dev/linter/rules/no-non-null-assertion",
|
|
10201
10916
|
"anyOf": [
|
|
10202
10917
|
{ "$ref": "#/$defs/NoNonNullAssertionConfiguration" },
|
|
10203
10918
|
{ "type": "null" }
|
|
10204
10919
|
]
|
|
10205
10920
|
},
|
|
10206
10921
|
"noParameterAssign": {
|
|
10207
|
-
"description": "Disallow reassigning function parameters.\nSee
|
|
10922
|
+
"description": "Disallow reassigning function parameters.\nSee https://biomejs.dev/linter/rules/no-parameter-assign",
|
|
10208
10923
|
"anyOf": [
|
|
10209
10924
|
{ "$ref": "#/$defs/NoParameterAssignConfiguration" },
|
|
10210
10925
|
{ "type": "null" }
|
|
10211
10926
|
]
|
|
10212
10927
|
},
|
|
10213
10928
|
"noParameterProperties": {
|
|
10214
|
-
"description": "Disallow the use of parameter properties in class constructors.\nSee
|
|
10929
|
+
"description": "Disallow the use of parameter properties in class constructors.\nSee https://biomejs.dev/linter/rules/no-parameter-properties",
|
|
10215
10930
|
"anyOf": [
|
|
10216
10931
|
{ "$ref": "#/$defs/NoParameterPropertiesConfiguration" },
|
|
10217
10932
|
{ "type": "null" }
|
|
10218
10933
|
]
|
|
10219
10934
|
},
|
|
10220
10935
|
"noProcessEnv": {
|
|
10221
|
-
"description": "Disallow the use of process.env.\nSee
|
|
10936
|
+
"description": "Disallow the use of process.env.\nSee https://biomejs.dev/linter/rules/no-process-env",
|
|
10222
10937
|
"anyOf": [
|
|
10223
10938
|
{ "$ref": "#/$defs/NoProcessEnvConfiguration" },
|
|
10224
10939
|
{ "type": "null" }
|
|
10225
10940
|
]
|
|
10226
10941
|
},
|
|
10227
10942
|
"noRestrictedGlobals": {
|
|
10228
|
-
"description": "This rule allows you to specify global variable names that you don’t want to use in your application.\nSee
|
|
10943
|
+
"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",
|
|
10229
10944
|
"anyOf": [
|
|
10230
10945
|
{ "$ref": "#/$defs/NoRestrictedGlobalsConfiguration" },
|
|
10231
10946
|
{ "type": "null" }
|
|
10232
10947
|
]
|
|
10233
10948
|
},
|
|
10234
10949
|
"noRestrictedImports": {
|
|
10235
|
-
"description": "Disallow specified modules when loaded by import or require.\nSee
|
|
10950
|
+
"description": "Disallow specified modules when loaded by import or require.\nSee https://biomejs.dev/linter/rules/no-restricted-imports",
|
|
10236
10951
|
"anyOf": [
|
|
10237
10952
|
{ "$ref": "#/$defs/NoRestrictedImportsConfiguration" },
|
|
10238
10953
|
{ "type": "null" }
|
|
10239
10954
|
]
|
|
10240
10955
|
},
|
|
10241
10956
|
"noRestrictedTypes": {
|
|
10242
|
-
"description": "Disallow user defined types.\nSee
|
|
10957
|
+
"description": "Disallow user defined types.\nSee https://biomejs.dev/linter/rules/no-restricted-types",
|
|
10243
10958
|
"anyOf": [
|
|
10244
10959
|
{ "$ref": "#/$defs/NoRestrictedTypesConfiguration" },
|
|
10245
10960
|
{ "type": "null" }
|
|
10246
10961
|
]
|
|
10247
10962
|
},
|
|
10248
10963
|
"noShoutyConstants": {
|
|
10249
|
-
"description": "Disallow the use of constants which its value is the upper-case version of its name.\nSee
|
|
10964
|
+
"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",
|
|
10250
10965
|
"anyOf": [
|
|
10251
10966
|
{ "$ref": "#/$defs/NoShoutyConstantsConfiguration" },
|
|
10252
10967
|
{ "type": "null" }
|
|
10253
10968
|
]
|
|
10254
10969
|
},
|
|
10255
10970
|
"noSubstr": {
|
|
10256
|
-
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee
|
|
10971
|
+
"description": "Enforce the use of String.slice() over String.substr() and String.substring().\nSee https://biomejs.dev/linter/rules/no-substr",
|
|
10257
10972
|
"anyOf": [
|
|
10258
10973
|
{ "$ref": "#/$defs/NoSubstrConfiguration" },
|
|
10259
10974
|
{ "type": "null" }
|
|
10260
10975
|
]
|
|
10261
10976
|
},
|
|
10262
10977
|
"noUnusedTemplateLiteral": {
|
|
10263
|
-
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee
|
|
10978
|
+
"description": "Disallow template literals if interpolation and special-character handling are not needed.\nSee https://biomejs.dev/linter/rules/no-unused-template-literal",
|
|
10264
10979
|
"anyOf": [
|
|
10265
10980
|
{ "$ref": "#/$defs/NoUnusedTemplateLiteralConfiguration" },
|
|
10266
10981
|
{ "type": "null" }
|
|
10267
10982
|
]
|
|
10268
10983
|
},
|
|
10269
10984
|
"noUselessElse": {
|
|
10270
|
-
"description": "Disallow else block when the if block breaks early.\nSee
|
|
10985
|
+
"description": "Disallow else block when the if block breaks early.\nSee https://biomejs.dev/linter/rules/no-useless-else",
|
|
10271
10986
|
"anyOf": [
|
|
10272
10987
|
{ "$ref": "#/$defs/NoUselessElseConfiguration" },
|
|
10273
10988
|
{ "type": "null" }
|
|
10274
10989
|
]
|
|
10275
10990
|
},
|
|
10276
10991
|
"noValueAtRule": {
|
|
10277
|
-
"description": "Disallow use of @value rule in css modules.\nSee
|
|
10992
|
+
"description": "Disallow use of @value rule in css modules.\nSee https://biomejs.dev/linter/rules/no-value-at-rule",
|
|
10278
10993
|
"anyOf": [
|
|
10279
10994
|
{ "$ref": "#/$defs/NoValueAtRuleConfiguration" },
|
|
10280
10995
|
{ "type": "null" }
|
|
10281
10996
|
]
|
|
10282
10997
|
},
|
|
10283
10998
|
"noYodaExpression": {
|
|
10284
|
-
"description": "Disallow the use of yoda expressions.\nSee
|
|
10999
|
+
"description": "Disallow the use of yoda expressions.\nSee https://biomejs.dev/linter/rules/no-yoda-expression",
|
|
10285
11000
|
"anyOf": [
|
|
10286
11001
|
{ "$ref": "#/$defs/NoYodaExpressionConfiguration" },
|
|
10287
11002
|
{ "type": "null" }
|
|
@@ -10292,63 +11007,63 @@
|
|
|
10292
11007
|
"type": ["boolean", "null"]
|
|
10293
11008
|
},
|
|
10294
11009
|
"useArrayLiterals": {
|
|
10295
|
-
"description": "Disallow Array constructors.\nSee
|
|
11010
|
+
"description": "Disallow Array constructors.\nSee https://biomejs.dev/linter/rules/use-array-literals",
|
|
10296
11011
|
"anyOf": [
|
|
10297
11012
|
{ "$ref": "#/$defs/UseArrayLiteralsConfiguration" },
|
|
10298
11013
|
{ "type": "null" }
|
|
10299
11014
|
]
|
|
10300
11015
|
},
|
|
10301
11016
|
"useAsConstAssertion": {
|
|
10302
|
-
"description": "Enforce the use of as const over literal type and type annotation.\nSee
|
|
11017
|
+
"description": "Enforce the use of as const over literal type and type annotation.\nSee https://biomejs.dev/linter/rules/use-as-const-assertion",
|
|
10303
11018
|
"anyOf": [
|
|
10304
11019
|
{ "$ref": "#/$defs/UseAsConstAssertionConfiguration" },
|
|
10305
11020
|
{ "type": "null" }
|
|
10306
11021
|
]
|
|
10307
11022
|
},
|
|
10308
11023
|
"useAtIndex": {
|
|
10309
|
-
"description": "Use at() instead of integer index access.\nSee
|
|
11024
|
+
"description": "Use at() instead of integer index access.\nSee https://biomejs.dev/linter/rules/use-at-index",
|
|
10310
11025
|
"anyOf": [
|
|
10311
11026
|
{ "$ref": "#/$defs/UseAtIndexConfiguration" },
|
|
10312
11027
|
{ "type": "null" }
|
|
10313
11028
|
]
|
|
10314
11029
|
},
|
|
10315
11030
|
"useBlockStatements": {
|
|
10316
|
-
"description": "Requires following curly brace conventions.\nSee
|
|
11031
|
+
"description": "Requires following curly brace conventions.\nSee https://biomejs.dev/linter/rules/use-block-statements",
|
|
10317
11032
|
"anyOf": [
|
|
10318
11033
|
{ "$ref": "#/$defs/UseBlockStatementsConfiguration" },
|
|
10319
11034
|
{ "type": "null" }
|
|
10320
11035
|
]
|
|
10321
11036
|
},
|
|
10322
11037
|
"useCollapsedElseIf": {
|
|
10323
|
-
"description": "Enforce using else if instead of nested if in else clauses.\nSee
|
|
11038
|
+
"description": "Enforce using else if instead of nested if in else clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-else-if",
|
|
10324
11039
|
"anyOf": [
|
|
10325
11040
|
{ "$ref": "#/$defs/UseCollapsedElseIfConfiguration" },
|
|
10326
11041
|
{ "type": "null" }
|
|
10327
11042
|
]
|
|
10328
11043
|
},
|
|
10329
11044
|
"useCollapsedIf": {
|
|
10330
|
-
"description": "Enforce using single if instead of nested if clauses.\nSee
|
|
11045
|
+
"description": "Enforce using single if instead of nested if clauses.\nSee https://biomejs.dev/linter/rules/use-collapsed-if",
|
|
10331
11046
|
"anyOf": [
|
|
10332
11047
|
{ "$ref": "#/$defs/UseCollapsedIfConfiguration" },
|
|
10333
11048
|
{ "type": "null" }
|
|
10334
11049
|
]
|
|
10335
11050
|
},
|
|
10336
11051
|
"useComponentExportOnlyModules": {
|
|
10337
|
-
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee
|
|
11052
|
+
"description": "Enforce declaring components only within modules that export React Components exclusively.\nSee https://biomejs.dev/linter/rules/use-component-export-only-modules",
|
|
10338
11053
|
"anyOf": [
|
|
10339
11054
|
{ "$ref": "#/$defs/UseComponentExportOnlyModulesConfiguration" },
|
|
10340
11055
|
{ "type": "null" }
|
|
10341
11056
|
]
|
|
10342
11057
|
},
|
|
10343
11058
|
"useConsistentArrayType": {
|
|
10344
|
-
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee
|
|
11059
|
+
"description": "Require consistently using either T\\[] or Array\\<T>.\nSee https://biomejs.dev/linter/rules/use-consistent-array-type",
|
|
10345
11060
|
"anyOf": [
|
|
10346
11061
|
{ "$ref": "#/$defs/UseConsistentArrayTypeConfiguration" },
|
|
10347
11062
|
{ "type": "null" }
|
|
10348
11063
|
]
|
|
10349
11064
|
},
|
|
10350
11065
|
"useConsistentBuiltinInstantiation": {
|
|
10351
|
-
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee
|
|
11066
|
+
"description": "Enforce the use of new for all builtins, except String, Number and Boolean.\nSee https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation",
|
|
10352
11067
|
"anyOf": [
|
|
10353
11068
|
{
|
|
10354
11069
|
"$ref": "#/$defs/UseConsistentBuiltinInstantiationConfiguration"
|
|
@@ -10357,266 +11072,266 @@
|
|
|
10357
11072
|
]
|
|
10358
11073
|
},
|
|
10359
11074
|
"useConsistentCurlyBraces": {
|
|
10360
|
-
"description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.\nSee
|
|
11075
|
+
"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",
|
|
10361
11076
|
"anyOf": [
|
|
10362
11077
|
{ "$ref": "#/$defs/UseConsistentCurlyBracesConfiguration" },
|
|
10363
11078
|
{ "type": "null" }
|
|
10364
11079
|
]
|
|
10365
11080
|
},
|
|
10366
11081
|
"useConsistentMemberAccessibility": {
|
|
10367
|
-
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee
|
|
11082
|
+
"description": "Require consistent accessibility modifiers on class properties and methods.\nSee https://biomejs.dev/linter/rules/use-consistent-member-accessibility",
|
|
10368
11083
|
"anyOf": [
|
|
10369
11084
|
{ "$ref": "#/$defs/UseConsistentMemberAccessibilityConfiguration" },
|
|
10370
11085
|
{ "type": "null" }
|
|
10371
11086
|
]
|
|
10372
11087
|
},
|
|
10373
11088
|
"useConsistentObjectDefinitions": {
|
|
10374
|
-
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee
|
|
11089
|
+
"description": "Require the consistent declaration of object literals. Defaults to explicit definitions.\nSee https://biomejs.dev/linter/rules/use-consistent-object-definitions",
|
|
10375
11090
|
"anyOf": [
|
|
10376
11091
|
{ "$ref": "#/$defs/UseConsistentObjectDefinitionsConfiguration" },
|
|
10377
11092
|
{ "type": "null" }
|
|
10378
11093
|
]
|
|
10379
11094
|
},
|
|
10380
11095
|
"useConsistentTypeDefinitions": {
|
|
10381
|
-
"description": "Enforce type definitions to consistently use either interface or type.\nSee
|
|
11096
|
+
"description": "Enforce type definitions to consistently use either interface or type.\nSee https://biomejs.dev/linter/rules/use-consistent-type-definitions",
|
|
10382
11097
|
"anyOf": [
|
|
10383
11098
|
{ "$ref": "#/$defs/UseConsistentTypeDefinitionsConfiguration" },
|
|
10384
11099
|
{ "type": "null" }
|
|
10385
11100
|
]
|
|
10386
11101
|
},
|
|
10387
11102
|
"useConst": {
|
|
10388
|
-
"description": "Require const declarations for variables that are only assigned once.\nSee
|
|
11103
|
+
"description": "Require const declarations for variables that are only assigned once.\nSee https://biomejs.dev/linter/rules/use-const",
|
|
10389
11104
|
"anyOf": [
|
|
10390
11105
|
{ "$ref": "#/$defs/UseConstConfiguration" },
|
|
10391
11106
|
{ "type": "null" }
|
|
10392
11107
|
]
|
|
10393
11108
|
},
|
|
10394
11109
|
"useDefaultParameterLast": {
|
|
10395
|
-
"description": "Enforce default function parameters and optional function parameters to be last.\nSee
|
|
11110
|
+
"description": "Enforce default function parameters and optional function parameters to be last.\nSee https://biomejs.dev/linter/rules/use-default-parameter-last",
|
|
10396
11111
|
"anyOf": [
|
|
10397
11112
|
{ "$ref": "#/$defs/UseDefaultParameterLastConfiguration" },
|
|
10398
11113
|
{ "type": "null" }
|
|
10399
11114
|
]
|
|
10400
11115
|
},
|
|
10401
11116
|
"useDefaultSwitchClause": {
|
|
10402
|
-
"description": "Require the default clause in switch statements.\nSee
|
|
11117
|
+
"description": "Require the default clause in switch statements.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause",
|
|
10403
11118
|
"anyOf": [
|
|
10404
11119
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseConfiguration" },
|
|
10405
11120
|
{ "type": "null" }
|
|
10406
11121
|
]
|
|
10407
11122
|
},
|
|
10408
11123
|
"useDeprecatedReason": {
|
|
10409
|
-
"description": "Require specifying the reason argument when using @deprecated directive.\nSee
|
|
11124
|
+
"description": "Require specifying the reason argument when using @deprecated directive.\nSee https://biomejs.dev/linter/rules/use-deprecated-reason",
|
|
10410
11125
|
"anyOf": [
|
|
10411
11126
|
{ "$ref": "#/$defs/UseDeprecatedReasonConfiguration" },
|
|
10412
11127
|
{ "type": "null" }
|
|
10413
11128
|
]
|
|
10414
11129
|
},
|
|
10415
11130
|
"useEnumInitializers": {
|
|
10416
|
-
"description": "Require that each enum member value be explicitly initialized.\nSee
|
|
11131
|
+
"description": "Require that each enum member value be explicitly initialized.\nSee https://biomejs.dev/linter/rules/use-enum-initializers",
|
|
10417
11132
|
"anyOf": [
|
|
10418
11133
|
{ "$ref": "#/$defs/UseEnumInitializersConfiguration" },
|
|
10419
11134
|
{ "type": "null" }
|
|
10420
11135
|
]
|
|
10421
11136
|
},
|
|
10422
11137
|
"useExplicitLengthCheck": {
|
|
10423
|
-
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee
|
|
11138
|
+
"description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.\nSee https://biomejs.dev/linter/rules/use-explicit-length-check",
|
|
10424
11139
|
"anyOf": [
|
|
10425
11140
|
{ "$ref": "#/$defs/UseExplicitLengthCheckConfiguration" },
|
|
10426
11141
|
{ "type": "null" }
|
|
10427
11142
|
]
|
|
10428
11143
|
},
|
|
10429
11144
|
"useExponentiationOperator": {
|
|
10430
|
-
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee
|
|
11145
|
+
"description": "Disallow the use of Math.pow in favor of the ** operator.\nSee https://biomejs.dev/linter/rules/use-exponentiation-operator",
|
|
10431
11146
|
"anyOf": [
|
|
10432
11147
|
{ "$ref": "#/$defs/UseExponentiationOperatorConfiguration" },
|
|
10433
11148
|
{ "type": "null" }
|
|
10434
11149
|
]
|
|
10435
11150
|
},
|
|
10436
11151
|
"useExportType": {
|
|
10437
|
-
"description": "Promotes the use of export type for types.\nSee
|
|
11152
|
+
"description": "Promotes the use of export type for types.\nSee https://biomejs.dev/linter/rules/use-export-type",
|
|
10438
11153
|
"anyOf": [
|
|
10439
11154
|
{ "$ref": "#/$defs/UseExportTypeConfiguration" },
|
|
10440
11155
|
{ "type": "null" }
|
|
10441
11156
|
]
|
|
10442
11157
|
},
|
|
10443
11158
|
"useExportsLast": {
|
|
10444
|
-
"description": "Require that all exports are declared after all non-export statements.\nSee
|
|
11159
|
+
"description": "Require that all exports are declared after all non-export statements.\nSee https://biomejs.dev/linter/rules/use-exports-last",
|
|
10445
11160
|
"anyOf": [
|
|
10446
11161
|
{ "$ref": "#/$defs/UseExportsLastConfiguration" },
|
|
10447
11162
|
{ "type": "null" }
|
|
10448
11163
|
]
|
|
10449
11164
|
},
|
|
10450
11165
|
"useFilenamingConvention": {
|
|
10451
|
-
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee
|
|
11166
|
+
"description": "Enforce naming conventions for JavaScript and TypeScript filenames.\nSee https://biomejs.dev/linter/rules/use-filenaming-convention",
|
|
10452
11167
|
"anyOf": [
|
|
10453
11168
|
{ "$ref": "#/$defs/UseFilenamingConventionConfiguration" },
|
|
10454
11169
|
{ "type": "null" }
|
|
10455
11170
|
]
|
|
10456
11171
|
},
|
|
10457
11172
|
"useForOf": {
|
|
10458
|
-
"description": "Prefer using for...of loops over standard for loops where possible.\nSee
|
|
11173
|
+
"description": "Prefer using for...of loops over standard for loops where possible.\nSee https://biomejs.dev/linter/rules/use-for-of",
|
|
10459
11174
|
"anyOf": [
|
|
10460
11175
|
{ "$ref": "#/$defs/UseForOfConfiguration" },
|
|
10461
11176
|
{ "type": "null" }
|
|
10462
11177
|
]
|
|
10463
11178
|
},
|
|
10464
11179
|
"useFragmentSyntax": {
|
|
10465
|
-
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee
|
|
11180
|
+
"description": "This rule enforces the use of \\<>...\\</> over \\<Fragment>...\\</Fragment>.\nSee https://biomejs.dev/linter/rules/use-fragment-syntax",
|
|
10466
11181
|
"anyOf": [
|
|
10467
11182
|
{ "$ref": "#/$defs/UseFragmentSyntaxConfiguration" },
|
|
10468
11183
|
{ "type": "null" }
|
|
10469
11184
|
]
|
|
10470
11185
|
},
|
|
10471
11186
|
"useGraphqlNamingConvention": {
|
|
10472
|
-
"description": "Validates that all enum values are capitalized.\nSee
|
|
11187
|
+
"description": "Validates that all enum values are capitalized.\nSee https://biomejs.dev/linter/rules/use-graphql-naming-convention",
|
|
10473
11188
|
"anyOf": [
|
|
10474
11189
|
{ "$ref": "#/$defs/UseGraphqlNamingConventionConfiguration" },
|
|
10475
11190
|
{ "type": "null" }
|
|
10476
11191
|
]
|
|
10477
11192
|
},
|
|
10478
11193
|
"useGroupedAccessorPairs": {
|
|
10479
|
-
"description": "Enforce that getters and setters for the same property are adjacent in class and object definitions.\nSee
|
|
11194
|
+
"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",
|
|
10480
11195
|
"anyOf": [
|
|
10481
11196
|
{ "$ref": "#/$defs/UseGroupedAccessorPairsConfiguration" },
|
|
10482
11197
|
{ "type": "null" }
|
|
10483
11198
|
]
|
|
10484
11199
|
},
|
|
10485
11200
|
"useImportType": {
|
|
10486
|
-
"description": "Promotes the use of import type for types.\nSee
|
|
11201
|
+
"description": "Promotes the use of import type for types.\nSee https://biomejs.dev/linter/rules/use-import-type",
|
|
10487
11202
|
"anyOf": [
|
|
10488
11203
|
{ "$ref": "#/$defs/UseImportTypeConfiguration" },
|
|
10489
11204
|
{ "type": "null" }
|
|
10490
11205
|
]
|
|
10491
11206
|
},
|
|
10492
11207
|
"useLiteralEnumMembers": {
|
|
10493
|
-
"description": "Require all enum members to be literal values.\nSee
|
|
11208
|
+
"description": "Require all enum members to be literal values.\nSee https://biomejs.dev/linter/rules/use-literal-enum-members",
|
|
10494
11209
|
"anyOf": [
|
|
10495
11210
|
{ "$ref": "#/$defs/UseLiteralEnumMembersConfiguration" },
|
|
10496
11211
|
{ "type": "null" }
|
|
10497
11212
|
]
|
|
10498
11213
|
},
|
|
10499
11214
|
"useNamingConvention": {
|
|
10500
|
-
"description": "Enforce naming conventions for everything across a codebase.\nSee
|
|
11215
|
+
"description": "Enforce naming conventions for everything across a codebase.\nSee https://biomejs.dev/linter/rules/use-naming-convention",
|
|
10501
11216
|
"anyOf": [
|
|
10502
11217
|
{ "$ref": "#/$defs/UseNamingConventionConfiguration" },
|
|
10503
11218
|
{ "type": "null" }
|
|
10504
11219
|
]
|
|
10505
11220
|
},
|
|
10506
11221
|
"useNodeAssertStrict": {
|
|
10507
|
-
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee
|
|
11222
|
+
"description": "Promotes the usage of node:assert/strict over node:assert.\nSee https://biomejs.dev/linter/rules/use-node-assert-strict",
|
|
10508
11223
|
"anyOf": [
|
|
10509
11224
|
{ "$ref": "#/$defs/UseNodeAssertStrictConfiguration" },
|
|
10510
11225
|
{ "type": "null" }
|
|
10511
11226
|
]
|
|
10512
11227
|
},
|
|
10513
11228
|
"useNodejsImportProtocol": {
|
|
10514
|
-
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee
|
|
11229
|
+
"description": "Enforces using the node: protocol for Node.js builtin modules.\nSee https://biomejs.dev/linter/rules/use-nodejs-import-protocol",
|
|
10515
11230
|
"anyOf": [
|
|
10516
11231
|
{ "$ref": "#/$defs/UseNodejsImportProtocolConfiguration" },
|
|
10517
11232
|
{ "type": "null" }
|
|
10518
11233
|
]
|
|
10519
11234
|
},
|
|
10520
11235
|
"useNumberNamespace": {
|
|
10521
|
-
"description": "Use the Number properties instead of global ones.\nSee
|
|
11236
|
+
"description": "Use the Number properties instead of global ones.\nSee https://biomejs.dev/linter/rules/use-number-namespace",
|
|
10522
11237
|
"anyOf": [
|
|
10523
11238
|
{ "$ref": "#/$defs/UseNumberNamespaceConfiguration" },
|
|
10524
11239
|
{ "type": "null" }
|
|
10525
11240
|
]
|
|
10526
11241
|
},
|
|
10527
11242
|
"useNumericSeparators": {
|
|
10528
|
-
"description": "Enforce the use of numeric separators in numeric literals.\nSee
|
|
11243
|
+
"description": "Enforce the use of numeric separators in numeric literals.\nSee https://biomejs.dev/linter/rules/use-numeric-separators",
|
|
10529
11244
|
"anyOf": [
|
|
10530
11245
|
{ "$ref": "#/$defs/UseNumericSeparatorsConfiguration" },
|
|
10531
11246
|
{ "type": "null" }
|
|
10532
11247
|
]
|
|
10533
11248
|
},
|
|
10534
11249
|
"useObjectSpread": {
|
|
10535
|
-
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee
|
|
11250
|
+
"description": "Prefer object spread over Object.assign() when constructing new objects.\nSee https://biomejs.dev/linter/rules/use-object-spread",
|
|
10536
11251
|
"anyOf": [
|
|
10537
11252
|
{ "$ref": "#/$defs/UseObjectSpreadConfiguration" },
|
|
10538
11253
|
{ "type": "null" }
|
|
10539
11254
|
]
|
|
10540
11255
|
},
|
|
10541
11256
|
"useReactFunctionComponents": {
|
|
10542
|
-
"description": "Enforce that components are defined as functions and never as classes.\nSee
|
|
11257
|
+
"description": "Enforce that components are defined as functions and never as classes.\nSee https://biomejs.dev/linter/rules/use-react-function-components",
|
|
10543
11258
|
"anyOf": [
|
|
10544
11259
|
{ "$ref": "#/$defs/UseReactFunctionComponentsConfiguration" },
|
|
10545
11260
|
{ "type": "null" }
|
|
10546
11261
|
]
|
|
10547
11262
|
},
|
|
10548
11263
|
"useReadonlyClassProperties": {
|
|
10549
|
-
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee
|
|
11264
|
+
"description": "Enforce marking members as readonly if they are never modified outside the constructor.\nSee https://biomejs.dev/linter/rules/use-readonly-class-properties",
|
|
10550
11265
|
"anyOf": [
|
|
10551
11266
|
{ "$ref": "#/$defs/UseReadonlyClassPropertiesConfiguration" },
|
|
10552
11267
|
{ "type": "null" }
|
|
10553
11268
|
]
|
|
10554
11269
|
},
|
|
10555
11270
|
"useSelfClosingElements": {
|
|
10556
|
-
"description": "Prevent extra closing tags for components without children.\nSee
|
|
11271
|
+
"description": "Prevent extra closing tags for components without children.\nSee https://biomejs.dev/linter/rules/use-self-closing-elements",
|
|
10557
11272
|
"anyOf": [
|
|
10558
11273
|
{ "$ref": "#/$defs/UseSelfClosingElementsConfiguration" },
|
|
10559
11274
|
{ "type": "null" }
|
|
10560
11275
|
]
|
|
10561
11276
|
},
|
|
10562
11277
|
"useShorthandAssign": {
|
|
10563
|
-
"description": "Require assignment operator shorthand where possible.\nSee
|
|
11278
|
+
"description": "Require assignment operator shorthand where possible.\nSee https://biomejs.dev/linter/rules/use-shorthand-assign",
|
|
10564
11279
|
"anyOf": [
|
|
10565
11280
|
{ "$ref": "#/$defs/UseShorthandAssignConfiguration" },
|
|
10566
11281
|
{ "type": "null" }
|
|
10567
11282
|
]
|
|
10568
11283
|
},
|
|
10569
11284
|
"useShorthandFunctionType": {
|
|
10570
|
-
"description": "Enforce using function types instead of object type with call signatures.\nSee
|
|
11285
|
+
"description": "Enforce using function types instead of object type with call signatures.\nSee https://biomejs.dev/linter/rules/use-shorthand-function-type",
|
|
10571
11286
|
"anyOf": [
|
|
10572
11287
|
{ "$ref": "#/$defs/UseShorthandFunctionTypeConfiguration" },
|
|
10573
11288
|
{ "type": "null" }
|
|
10574
11289
|
]
|
|
10575
11290
|
},
|
|
10576
11291
|
"useSingleVarDeclarator": {
|
|
10577
|
-
"description": "Disallow multiple variable declarations in the same variable statement.\nSee
|
|
11292
|
+
"description": "Disallow multiple variable declarations in the same variable statement.\nSee https://biomejs.dev/linter/rules/use-single-var-declarator",
|
|
10578
11293
|
"anyOf": [
|
|
10579
11294
|
{ "$ref": "#/$defs/UseSingleVarDeclaratorConfiguration" },
|
|
10580
11295
|
{ "type": "null" }
|
|
10581
11296
|
]
|
|
10582
11297
|
},
|
|
10583
11298
|
"useSymbolDescription": {
|
|
10584
|
-
"description": "Require a description parameter for the Symbol().\nSee
|
|
11299
|
+
"description": "Require a description parameter for the Symbol().\nSee https://biomejs.dev/linter/rules/use-symbol-description",
|
|
10585
11300
|
"anyOf": [
|
|
10586
11301
|
{ "$ref": "#/$defs/UseSymbolDescriptionConfiguration" },
|
|
10587
11302
|
{ "type": "null" }
|
|
10588
11303
|
]
|
|
10589
11304
|
},
|
|
10590
11305
|
"useTemplate": {
|
|
10591
|
-
"description": "Prefer template literals over string concatenation.\nSee
|
|
11306
|
+
"description": "Prefer template literals over string concatenation.\nSee https://biomejs.dev/linter/rules/use-template",
|
|
10592
11307
|
"anyOf": [
|
|
10593
11308
|
{ "$ref": "#/$defs/UseTemplateConfiguration" },
|
|
10594
11309
|
{ "type": "null" }
|
|
10595
11310
|
]
|
|
10596
11311
|
},
|
|
10597
11312
|
"useThrowNewError": {
|
|
10598
|
-
"description": "Require new when throwing an error.\nSee
|
|
11313
|
+
"description": "Require new when throwing an error.\nSee https://biomejs.dev/linter/rules/use-throw-new-error",
|
|
10599
11314
|
"anyOf": [
|
|
10600
11315
|
{ "$ref": "#/$defs/UseThrowNewErrorConfiguration" },
|
|
10601
11316
|
{ "type": "null" }
|
|
10602
11317
|
]
|
|
10603
11318
|
},
|
|
10604
11319
|
"useThrowOnlyError": {
|
|
10605
|
-
"description": "Disallow throwing non-Error values.\nSee
|
|
11320
|
+
"description": "Disallow throwing non-Error values.\nSee https://biomejs.dev/linter/rules/use-throw-only-error",
|
|
10606
11321
|
"anyOf": [
|
|
10607
11322
|
{ "$ref": "#/$defs/UseThrowOnlyErrorConfiguration" },
|
|
10608
11323
|
{ "type": "null" }
|
|
10609
11324
|
]
|
|
10610
11325
|
},
|
|
10611
11326
|
"useTrimStartEnd": {
|
|
10612
|
-
"description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().\nSee
|
|
11327
|
+
"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",
|
|
10613
11328
|
"anyOf": [
|
|
10614
11329
|
{ "$ref": "#/$defs/UseTrimStartEndConfiguration" },
|
|
10615
11330
|
{ "type": "null" }
|
|
10616
11331
|
]
|
|
10617
11332
|
},
|
|
10618
11333
|
"useUnifiedTypeSignatures": {
|
|
10619
|
-
"description": "Disallow overload signatures that can be unified into a single signature.\nSee
|
|
11334
|
+
"description": "Disallow overload signatures that can be unified into a single signature.\nSee https://biomejs.dev/linter/rules/use-unified-type-signatures",
|
|
10620
11335
|
"anyOf": [
|
|
10621
11336
|
{ "$ref": "#/$defs/UseUnifiedTypeSignaturesConfiguration" },
|
|
10622
11337
|
{ "type": "null" }
|
|
@@ -10630,231 +11345,231 @@
|
|
|
10630
11345
|
"type": "object",
|
|
10631
11346
|
"properties": {
|
|
10632
11347
|
"noAlert": {
|
|
10633
|
-
"description": "Disallow the use of alert, confirm, and prompt.\nSee
|
|
11348
|
+
"description": "Disallow the use of alert, confirm, and prompt.\nSee https://biomejs.dev/linter/rules/no-alert",
|
|
10634
11349
|
"anyOf": [
|
|
10635
11350
|
{ "$ref": "#/$defs/NoAlertConfiguration" },
|
|
10636
11351
|
{ "type": "null" }
|
|
10637
11352
|
]
|
|
10638
11353
|
},
|
|
10639
11354
|
"noApproximativeNumericConstant": {
|
|
10640
|
-
"description": "Use standard constants instead of approximated literals.\nSee
|
|
11355
|
+
"description": "Use standard constants instead of approximated literals.\nSee https://biomejs.dev/linter/rules/no-approximative-numeric-constant",
|
|
10641
11356
|
"anyOf": [
|
|
10642
11357
|
{ "$ref": "#/$defs/NoApproximativeNumericConstantConfiguration" },
|
|
10643
11358
|
{ "type": "null" }
|
|
10644
11359
|
]
|
|
10645
11360
|
},
|
|
10646
11361
|
"noArrayIndexKey": {
|
|
10647
|
-
"description": "Discourage the usage of Array index in keys.\nSee
|
|
11362
|
+
"description": "Discourage the usage of Array index in keys.\nSee https://biomejs.dev/linter/rules/no-array-index-key",
|
|
10648
11363
|
"anyOf": [
|
|
10649
11364
|
{ "$ref": "#/$defs/NoArrayIndexKeyConfiguration" },
|
|
10650
11365
|
{ "type": "null" }
|
|
10651
11366
|
]
|
|
10652
11367
|
},
|
|
10653
11368
|
"noAssignInExpressions": {
|
|
10654
|
-
"description": "Disallow assignments in expressions.\nSee
|
|
11369
|
+
"description": "Disallow assignments in expressions.\nSee https://biomejs.dev/linter/rules/no-assign-in-expressions",
|
|
10655
11370
|
"anyOf": [
|
|
10656
11371
|
{ "$ref": "#/$defs/NoAssignInExpressionsConfiguration" },
|
|
10657
11372
|
{ "type": "null" }
|
|
10658
11373
|
]
|
|
10659
11374
|
},
|
|
10660
11375
|
"noAsyncPromiseExecutor": {
|
|
10661
|
-
"description": "Disallows using an async function as a Promise executor.\nSee
|
|
11376
|
+
"description": "Disallows using an async function as a Promise executor.\nSee https://biomejs.dev/linter/rules/no-async-promise-executor",
|
|
10662
11377
|
"anyOf": [
|
|
10663
11378
|
{ "$ref": "#/$defs/NoAsyncPromiseExecutorConfiguration" },
|
|
10664
11379
|
{ "type": "null" }
|
|
10665
11380
|
]
|
|
10666
11381
|
},
|
|
10667
11382
|
"noBiomeFirstException": {
|
|
10668
|
-
"description": "Prevents the misuse of glob patterns inside the files.includes field.\nSee
|
|
11383
|
+
"description": "Prevents the misuse of glob patterns inside the files.includes field.\nSee https://biomejs.dev/linter/rules/no-biome-first-exception",
|
|
10669
11384
|
"anyOf": [
|
|
10670
11385
|
{ "$ref": "#/$defs/NoBiomeFirstExceptionConfiguration" },
|
|
10671
11386
|
{ "type": "null" }
|
|
10672
11387
|
]
|
|
10673
11388
|
},
|
|
10674
11389
|
"noBitwiseOperators": {
|
|
10675
|
-
"description": "Disallow bitwise operators.\nSee
|
|
11390
|
+
"description": "Disallow bitwise operators.\nSee https://biomejs.dev/linter/rules/no-bitwise-operators",
|
|
10676
11391
|
"anyOf": [
|
|
10677
11392
|
{ "$ref": "#/$defs/NoBitwiseOperatorsConfiguration" },
|
|
10678
11393
|
{ "type": "null" }
|
|
10679
11394
|
]
|
|
10680
11395
|
},
|
|
10681
11396
|
"noCatchAssign": {
|
|
10682
|
-
"description": "Disallow reassigning exceptions in catch clauses.\nSee
|
|
11397
|
+
"description": "Disallow reassigning exceptions in catch clauses.\nSee https://biomejs.dev/linter/rules/no-catch-assign",
|
|
10683
11398
|
"anyOf": [
|
|
10684
11399
|
{ "$ref": "#/$defs/NoCatchAssignConfiguration" },
|
|
10685
11400
|
{ "type": "null" }
|
|
10686
11401
|
]
|
|
10687
11402
|
},
|
|
10688
11403
|
"noClassAssign": {
|
|
10689
|
-
"description": "Disallow reassigning class members.\nSee
|
|
11404
|
+
"description": "Disallow reassigning class members.\nSee https://biomejs.dev/linter/rules/no-class-assign",
|
|
10690
11405
|
"anyOf": [
|
|
10691
11406
|
{ "$ref": "#/$defs/NoClassAssignConfiguration" },
|
|
10692
11407
|
{ "type": "null" }
|
|
10693
11408
|
]
|
|
10694
11409
|
},
|
|
10695
11410
|
"noCommentText": {
|
|
10696
|
-
"description": "Prevent comments from being inserted as text nodes.\nSee
|
|
11411
|
+
"description": "Prevent comments from being inserted as text nodes.\nSee https://biomejs.dev/linter/rules/no-comment-text",
|
|
10697
11412
|
"anyOf": [
|
|
10698
11413
|
{ "$ref": "#/$defs/NoCommentTextConfiguration" },
|
|
10699
11414
|
{ "type": "null" }
|
|
10700
11415
|
]
|
|
10701
11416
|
},
|
|
10702
11417
|
"noCompareNegZero": {
|
|
10703
|
-
"description": "Disallow comparing against -0.\nSee
|
|
11418
|
+
"description": "Disallow comparing against -0.\nSee https://biomejs.dev/linter/rules/no-compare-neg-zero",
|
|
10704
11419
|
"anyOf": [
|
|
10705
11420
|
{ "$ref": "#/$defs/NoCompareNegZeroConfiguration" },
|
|
10706
11421
|
{ "type": "null" }
|
|
10707
11422
|
]
|
|
10708
11423
|
},
|
|
10709
11424
|
"noConfusingLabels": {
|
|
10710
|
-
"description": "Disallow labeled statements that are not loops.\nSee
|
|
11425
|
+
"description": "Disallow labeled statements that are not loops.\nSee https://biomejs.dev/linter/rules/no-confusing-labels",
|
|
10711
11426
|
"anyOf": [
|
|
10712
11427
|
{ "$ref": "#/$defs/NoConfusingLabelsConfiguration" },
|
|
10713
11428
|
{ "type": "null" }
|
|
10714
11429
|
]
|
|
10715
11430
|
},
|
|
10716
11431
|
"noConfusingVoidType": {
|
|
10717
|
-
"description": "Disallow void type outside of generic or return types.\nSee
|
|
11432
|
+
"description": "Disallow void type outside of generic or return types.\nSee https://biomejs.dev/linter/rules/no-confusing-void-type",
|
|
10718
11433
|
"anyOf": [
|
|
10719
11434
|
{ "$ref": "#/$defs/NoConfusingVoidTypeConfiguration" },
|
|
10720
11435
|
{ "type": "null" }
|
|
10721
11436
|
]
|
|
10722
11437
|
},
|
|
10723
11438
|
"noConsole": {
|
|
10724
|
-
"description": "Disallow the use of console.\nSee
|
|
11439
|
+
"description": "Disallow the use of console.\nSee https://biomejs.dev/linter/rules/no-console",
|
|
10725
11440
|
"anyOf": [
|
|
10726
11441
|
{ "$ref": "#/$defs/NoConsoleConfiguration" },
|
|
10727
11442
|
{ "type": "null" }
|
|
10728
11443
|
]
|
|
10729
11444
|
},
|
|
10730
11445
|
"noConstEnum": {
|
|
10731
|
-
"description": "Disallow TypeScript const enum.\nSee
|
|
11446
|
+
"description": "Disallow TypeScript const enum.\nSee https://biomejs.dev/linter/rules/no-const-enum",
|
|
10732
11447
|
"anyOf": [
|
|
10733
11448
|
{ "$ref": "#/$defs/NoConstEnumConfiguration" },
|
|
10734
11449
|
{ "type": "null" }
|
|
10735
11450
|
]
|
|
10736
11451
|
},
|
|
10737
11452
|
"noConstantBinaryExpressions": {
|
|
10738
|
-
"description": "Disallow expressions where the operation doesn't affect the value.\nSee
|
|
11453
|
+
"description": "Disallow expressions where the operation doesn't affect the value.\nSee https://biomejs.dev/linter/rules/no-constant-binary-expressions",
|
|
10739
11454
|
"anyOf": [
|
|
10740
11455
|
{ "$ref": "#/$defs/NoConstantBinaryExpressionsConfiguration" },
|
|
10741
11456
|
{ "type": "null" }
|
|
10742
11457
|
]
|
|
10743
11458
|
},
|
|
10744
11459
|
"noControlCharactersInRegex": {
|
|
10745
|
-
"description": "Prevents from having control characters and some escape sequences that match control characters in regular expression literals.\nSee
|
|
11460
|
+
"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",
|
|
10746
11461
|
"anyOf": [
|
|
10747
11462
|
{ "$ref": "#/$defs/NoControlCharactersInRegexConfiguration" },
|
|
10748
11463
|
{ "type": "null" }
|
|
10749
11464
|
]
|
|
10750
11465
|
},
|
|
10751
11466
|
"noDebugger": {
|
|
10752
|
-
"description": "Disallow the use of debugger.\nSee
|
|
11467
|
+
"description": "Disallow the use of debugger.\nSee https://biomejs.dev/linter/rules/no-debugger",
|
|
10753
11468
|
"anyOf": [
|
|
10754
11469
|
{ "$ref": "#/$defs/NoDebuggerConfiguration" },
|
|
10755
11470
|
{ "type": "null" }
|
|
10756
11471
|
]
|
|
10757
11472
|
},
|
|
10758
11473
|
"noDocumentCookie": {
|
|
10759
|
-
"description": "Disallow direct assignments to document.cookie.\nSee
|
|
11474
|
+
"description": "Disallow direct assignments to document.cookie.\nSee https://biomejs.dev/linter/rules/no-document-cookie",
|
|
10760
11475
|
"anyOf": [
|
|
10761
11476
|
{ "$ref": "#/$defs/NoDocumentCookieConfiguration" },
|
|
10762
11477
|
{ "type": "null" }
|
|
10763
11478
|
]
|
|
10764
11479
|
},
|
|
10765
11480
|
"noDocumentImportInPage": {
|
|
10766
|
-
"description": "Prevents importing next/document outside of pages/_document.jsx in Next.js projects.\nSee
|
|
11481
|
+
"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",
|
|
10767
11482
|
"anyOf": [
|
|
10768
11483
|
{ "$ref": "#/$defs/NoDocumentImportInPageConfiguration" },
|
|
10769
11484
|
{ "type": "null" }
|
|
10770
11485
|
]
|
|
10771
11486
|
},
|
|
10772
11487
|
"noDoubleEquals": {
|
|
10773
|
-
"description": "Require the use of === and !==.\nSee
|
|
11488
|
+
"description": "Require the use of === and !==.\nSee https://biomejs.dev/linter/rules/no-double-equals",
|
|
10774
11489
|
"anyOf": [
|
|
10775
11490
|
{ "$ref": "#/$defs/NoDoubleEqualsConfiguration" },
|
|
10776
11491
|
{ "type": "null" }
|
|
10777
11492
|
]
|
|
10778
11493
|
},
|
|
10779
11494
|
"noDuplicateAtImportRules": {
|
|
10780
|
-
"description": "Disallow duplicate @import rules.\nSee
|
|
11495
|
+
"description": "Disallow duplicate @import rules.\nSee https://biomejs.dev/linter/rules/no-duplicate-at-import-rules",
|
|
10781
11496
|
"anyOf": [
|
|
10782
11497
|
{ "$ref": "#/$defs/NoDuplicateAtImportRulesConfiguration" },
|
|
10783
11498
|
{ "type": "null" }
|
|
10784
11499
|
]
|
|
10785
11500
|
},
|
|
10786
11501
|
"noDuplicateCase": {
|
|
10787
|
-
"description": "Disallow duplicate case labels.\nSee
|
|
11502
|
+
"description": "Disallow duplicate case labels.\nSee https://biomejs.dev/linter/rules/no-duplicate-case",
|
|
10788
11503
|
"anyOf": [
|
|
10789
11504
|
{ "$ref": "#/$defs/NoDuplicateCaseConfiguration" },
|
|
10790
11505
|
{ "type": "null" }
|
|
10791
11506
|
]
|
|
10792
11507
|
},
|
|
10793
11508
|
"noDuplicateClassMembers": {
|
|
10794
|
-
"description": "Disallow duplicate class members.\nSee
|
|
11509
|
+
"description": "Disallow duplicate class members.\nSee https://biomejs.dev/linter/rules/no-duplicate-class-members",
|
|
10795
11510
|
"anyOf": [
|
|
10796
11511
|
{ "$ref": "#/$defs/NoDuplicateClassMembersConfiguration" },
|
|
10797
11512
|
{ "type": "null" }
|
|
10798
11513
|
]
|
|
10799
11514
|
},
|
|
10800
11515
|
"noDuplicateCustomProperties": {
|
|
10801
|
-
"description": "Disallow duplicate custom properties within declaration blocks.\nSee
|
|
11516
|
+
"description": "Disallow duplicate custom properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-custom-properties",
|
|
10802
11517
|
"anyOf": [
|
|
10803
11518
|
{ "$ref": "#/$defs/NoDuplicateCustomPropertiesConfiguration" },
|
|
10804
11519
|
{ "type": "null" }
|
|
10805
11520
|
]
|
|
10806
11521
|
},
|
|
10807
11522
|
"noDuplicateElseIf": {
|
|
10808
|
-
"description": "Disallow duplicate conditions in if-else-if chains.\nSee
|
|
11523
|
+
"description": "Disallow duplicate conditions in if-else-if chains.\nSee https://biomejs.dev/linter/rules/no-duplicate-else-if",
|
|
10809
11524
|
"anyOf": [
|
|
10810
11525
|
{ "$ref": "#/$defs/NoDuplicateElseIfConfiguration" },
|
|
10811
11526
|
{ "type": "null" }
|
|
10812
11527
|
]
|
|
10813
11528
|
},
|
|
10814
11529
|
"noDuplicateFields": {
|
|
10815
|
-
"description": "No duplicated fields in GraphQL operations.\nSee
|
|
11530
|
+
"description": "No duplicated fields in GraphQL operations.\nSee https://biomejs.dev/linter/rules/no-duplicate-fields",
|
|
10816
11531
|
"anyOf": [
|
|
10817
11532
|
{ "$ref": "#/$defs/NoDuplicateFieldsConfiguration" },
|
|
10818
11533
|
{ "type": "null" }
|
|
10819
11534
|
]
|
|
10820
11535
|
},
|
|
10821
11536
|
"noDuplicateFontNames": {
|
|
10822
|
-
"description": "Disallow duplicate names within font families.\nSee
|
|
11537
|
+
"description": "Disallow duplicate names within font families.\nSee https://biomejs.dev/linter/rules/no-duplicate-font-names",
|
|
10823
11538
|
"anyOf": [
|
|
10824
11539
|
{ "$ref": "#/$defs/NoDuplicateFontNamesConfiguration" },
|
|
10825
11540
|
{ "type": "null" }
|
|
10826
11541
|
]
|
|
10827
11542
|
},
|
|
10828
11543
|
"noDuplicateJsxProps": {
|
|
10829
|
-
"description": "Prevents JSX properties to be assigned multiple times.\nSee
|
|
11544
|
+
"description": "Prevents JSX properties to be assigned multiple times.\nSee https://biomejs.dev/linter/rules/no-duplicate-jsx-props",
|
|
10830
11545
|
"anyOf": [
|
|
10831
11546
|
{ "$ref": "#/$defs/NoDuplicateJsxPropsConfiguration" },
|
|
10832
11547
|
{ "type": "null" }
|
|
10833
11548
|
]
|
|
10834
11549
|
},
|
|
10835
11550
|
"noDuplicateObjectKeys": {
|
|
10836
|
-
"description": "Disallow two keys with the same name inside objects.\nSee
|
|
11551
|
+
"description": "Disallow two keys with the same name inside objects.\nSee https://biomejs.dev/linter/rules/no-duplicate-object-keys",
|
|
10837
11552
|
"anyOf": [
|
|
10838
11553
|
{ "$ref": "#/$defs/NoDuplicateObjectKeysConfiguration" },
|
|
10839
11554
|
{ "type": "null" }
|
|
10840
11555
|
]
|
|
10841
11556
|
},
|
|
10842
11557
|
"noDuplicateParameters": {
|
|
10843
|
-
"description": "Disallow duplicate function parameter name.\nSee
|
|
11558
|
+
"description": "Disallow duplicate function parameter name.\nSee https://biomejs.dev/linter/rules/no-duplicate-parameters",
|
|
10844
11559
|
"anyOf": [
|
|
10845
11560
|
{ "$ref": "#/$defs/NoDuplicateParametersConfiguration" },
|
|
10846
11561
|
{ "type": "null" }
|
|
10847
11562
|
]
|
|
10848
11563
|
},
|
|
10849
11564
|
"noDuplicateProperties": {
|
|
10850
|
-
"description": "Disallow duplicate properties within declaration blocks.\nSee
|
|
11565
|
+
"description": "Disallow duplicate properties within declaration blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-properties",
|
|
10851
11566
|
"anyOf": [
|
|
10852
11567
|
{ "$ref": "#/$defs/NoDuplicatePropertiesConfiguration" },
|
|
10853
11568
|
{ "type": "null" }
|
|
10854
11569
|
]
|
|
10855
11570
|
},
|
|
10856
11571
|
"noDuplicateSelectorsKeyframeBlock": {
|
|
10857
|
-
"description": "Disallow duplicate selectors within keyframe blocks.\nSee
|
|
11572
|
+
"description": "Disallow duplicate selectors within keyframe blocks.\nSee https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block",
|
|
10858
11573
|
"anyOf": [
|
|
10859
11574
|
{
|
|
10860
11575
|
"$ref": "#/$defs/NoDuplicateSelectorsKeyframeBlockConfiguration"
|
|
@@ -10863,336 +11578,336 @@
|
|
|
10863
11578
|
]
|
|
10864
11579
|
},
|
|
10865
11580
|
"noDuplicateTestHooks": {
|
|
10866
|
-
"description": "A describe block should not contain duplicate hooks.\nSee
|
|
11581
|
+
"description": "A describe block should not contain duplicate hooks.\nSee https://biomejs.dev/linter/rules/no-duplicate-test-hooks",
|
|
10867
11582
|
"anyOf": [
|
|
10868
11583
|
{ "$ref": "#/$defs/NoDuplicateTestHooksConfiguration" },
|
|
10869
11584
|
{ "type": "null" }
|
|
10870
11585
|
]
|
|
10871
11586
|
},
|
|
10872
11587
|
"noEmptyBlock": {
|
|
10873
|
-
"description": "Disallow CSS empty blocks.\nSee
|
|
11588
|
+
"description": "Disallow CSS empty blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block",
|
|
10874
11589
|
"anyOf": [
|
|
10875
11590
|
{ "$ref": "#/$defs/NoEmptyBlockConfiguration" },
|
|
10876
11591
|
{ "type": "null" }
|
|
10877
11592
|
]
|
|
10878
11593
|
},
|
|
10879
11594
|
"noEmptyBlockStatements": {
|
|
10880
|
-
"description": "Disallow empty block statements and static blocks.\nSee
|
|
11595
|
+
"description": "Disallow empty block statements and static blocks.\nSee https://biomejs.dev/linter/rules/no-empty-block-statements",
|
|
10881
11596
|
"anyOf": [
|
|
10882
11597
|
{ "$ref": "#/$defs/NoEmptyBlockStatementsConfiguration" },
|
|
10883
11598
|
{ "type": "null" }
|
|
10884
11599
|
]
|
|
10885
11600
|
},
|
|
10886
11601
|
"noEmptyInterface": {
|
|
10887
|
-
"description": "Disallow the declaration of empty interfaces.\nSee
|
|
11602
|
+
"description": "Disallow the declaration of empty interfaces.\nSee https://biomejs.dev/linter/rules/no-empty-interface",
|
|
10888
11603
|
"anyOf": [
|
|
10889
11604
|
{ "$ref": "#/$defs/NoEmptyInterfaceConfiguration" },
|
|
10890
11605
|
{ "type": "null" }
|
|
10891
11606
|
]
|
|
10892
11607
|
},
|
|
10893
11608
|
"noEvolvingTypes": {
|
|
10894
|
-
"description": "Disallow variables from evolving into any type through reassignments.\nSee
|
|
11609
|
+
"description": "Disallow variables from evolving into any type through reassignments.\nSee https://biomejs.dev/linter/rules/no-evolving-types",
|
|
10895
11610
|
"anyOf": [
|
|
10896
11611
|
{ "$ref": "#/$defs/NoEvolvingTypesConfiguration" },
|
|
10897
11612
|
{ "type": "null" }
|
|
10898
11613
|
]
|
|
10899
11614
|
},
|
|
10900
11615
|
"noExplicitAny": {
|
|
10901
|
-
"description": "Disallow the any type usage.\nSee
|
|
11616
|
+
"description": "Disallow the any type usage.\nSee https://biomejs.dev/linter/rules/no-explicit-any",
|
|
10902
11617
|
"anyOf": [
|
|
10903
11618
|
{ "$ref": "#/$defs/NoExplicitAnyConfiguration" },
|
|
10904
11619
|
{ "type": "null" }
|
|
10905
11620
|
]
|
|
10906
11621
|
},
|
|
10907
11622
|
"noExportsInTest": {
|
|
10908
|
-
"description": "Disallow using export or module.exports in files containing tests.\nSee
|
|
11623
|
+
"description": "Disallow using export or module.exports in files containing tests.\nSee https://biomejs.dev/linter/rules/no-exports-in-test",
|
|
10909
11624
|
"anyOf": [
|
|
10910
11625
|
{ "$ref": "#/$defs/NoExportsInTestConfiguration" },
|
|
10911
11626
|
{ "type": "null" }
|
|
10912
11627
|
]
|
|
10913
11628
|
},
|
|
10914
11629
|
"noExtraNonNullAssertion": {
|
|
10915
|
-
"description": "Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.\nSee
|
|
11630
|
+
"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",
|
|
10916
11631
|
"anyOf": [
|
|
10917
11632
|
{ "$ref": "#/$defs/NoExtraNonNullAssertionConfiguration" },
|
|
10918
11633
|
{ "type": "null" }
|
|
10919
11634
|
]
|
|
10920
11635
|
},
|
|
10921
11636
|
"noFallthroughSwitchClause": {
|
|
10922
|
-
"description": "Disallow fallthrough of switch clauses.\nSee
|
|
11637
|
+
"description": "Disallow fallthrough of switch clauses.\nSee https://biomejs.dev/linter/rules/no-fallthrough-switch-clause",
|
|
10923
11638
|
"anyOf": [
|
|
10924
11639
|
{ "$ref": "#/$defs/NoFallthroughSwitchClauseConfiguration" },
|
|
10925
11640
|
{ "type": "null" }
|
|
10926
11641
|
]
|
|
10927
11642
|
},
|
|
10928
11643
|
"noFocusedTests": {
|
|
10929
|
-
"description": "Disallow focused tests.\nSee
|
|
11644
|
+
"description": "Disallow focused tests.\nSee https://biomejs.dev/linter/rules/no-focused-tests",
|
|
10930
11645
|
"anyOf": [
|
|
10931
11646
|
{ "$ref": "#/$defs/NoFocusedTestsConfiguration" },
|
|
10932
11647
|
{ "type": "null" }
|
|
10933
11648
|
]
|
|
10934
11649
|
},
|
|
10935
11650
|
"noFunctionAssign": {
|
|
10936
|
-
"description": "Disallow reassigning function declarations.\nSee
|
|
11651
|
+
"description": "Disallow reassigning function declarations.\nSee https://biomejs.dev/linter/rules/no-function-assign",
|
|
10937
11652
|
"anyOf": [
|
|
10938
11653
|
{ "$ref": "#/$defs/NoFunctionAssignConfiguration" },
|
|
10939
11654
|
{ "type": "null" }
|
|
10940
11655
|
]
|
|
10941
11656
|
},
|
|
10942
11657
|
"noGlobalAssign": {
|
|
10943
|
-
"description": "Disallow assignments to native objects and read-only global variables.\nSee
|
|
11658
|
+
"description": "Disallow assignments to native objects and read-only global variables.\nSee https://biomejs.dev/linter/rules/no-global-assign",
|
|
10944
11659
|
"anyOf": [
|
|
10945
11660
|
{ "$ref": "#/$defs/NoGlobalAssignConfiguration" },
|
|
10946
11661
|
{ "type": "null" }
|
|
10947
11662
|
]
|
|
10948
11663
|
},
|
|
10949
11664
|
"noGlobalIsFinite": {
|
|
10950
|
-
"description": "Use Number.isFinite instead of global isFinite.\nSee
|
|
11665
|
+
"description": "Use Number.isFinite instead of global isFinite.\nSee https://biomejs.dev/linter/rules/no-global-is-finite",
|
|
10951
11666
|
"anyOf": [
|
|
10952
11667
|
{ "$ref": "#/$defs/NoGlobalIsFiniteConfiguration" },
|
|
10953
11668
|
{ "type": "null" }
|
|
10954
11669
|
]
|
|
10955
11670
|
},
|
|
10956
11671
|
"noGlobalIsNan": {
|
|
10957
|
-
"description": "Use Number.isNaN instead of global isNaN.\nSee
|
|
11672
|
+
"description": "Use Number.isNaN instead of global isNaN.\nSee https://biomejs.dev/linter/rules/no-global-is-nan",
|
|
10958
11673
|
"anyOf": [
|
|
10959
11674
|
{ "$ref": "#/$defs/NoGlobalIsNanConfiguration" },
|
|
10960
11675
|
{ "type": "null" }
|
|
10961
11676
|
]
|
|
10962
11677
|
},
|
|
10963
11678
|
"noHeadImportInDocument": {
|
|
10964
|
-
"description": "Prevent using the next/head module in pages/_document.js on Next.js projects.\nSee
|
|
11679
|
+
"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",
|
|
10965
11680
|
"anyOf": [
|
|
10966
11681
|
{ "$ref": "#/$defs/NoHeadImportInDocumentConfiguration" },
|
|
10967
11682
|
{ "type": "null" }
|
|
10968
11683
|
]
|
|
10969
11684
|
},
|
|
10970
11685
|
"noImplicitAnyLet": {
|
|
10971
|
-
"description": "Disallow use of implicit any type on variable declarations.\nSee
|
|
11686
|
+
"description": "Disallow use of implicit any type on variable declarations.\nSee https://biomejs.dev/linter/rules/no-implicit-any-let",
|
|
10972
11687
|
"anyOf": [
|
|
10973
11688
|
{ "$ref": "#/$defs/NoImplicitAnyLetConfiguration" },
|
|
10974
11689
|
{ "type": "null" }
|
|
10975
11690
|
]
|
|
10976
11691
|
},
|
|
10977
11692
|
"noImportAssign": {
|
|
10978
|
-
"description": "Disallow assigning to imported bindings.\nSee
|
|
11693
|
+
"description": "Disallow assigning to imported bindings.\nSee https://biomejs.dev/linter/rules/no-import-assign",
|
|
10979
11694
|
"anyOf": [
|
|
10980
11695
|
{ "$ref": "#/$defs/NoImportAssignConfiguration" },
|
|
10981
11696
|
{ "type": "null" }
|
|
10982
11697
|
]
|
|
10983
11698
|
},
|
|
10984
11699
|
"noImportantInKeyframe": {
|
|
10985
|
-
"description": "Disallow invalid !important within keyframe declarations.\nSee
|
|
11700
|
+
"description": "Disallow invalid !important within keyframe declarations.\nSee https://biomejs.dev/linter/rules/no-important-in-keyframe",
|
|
10986
11701
|
"anyOf": [
|
|
10987
11702
|
{ "$ref": "#/$defs/NoImportantInKeyframeConfiguration" },
|
|
10988
11703
|
{ "type": "null" }
|
|
10989
11704
|
]
|
|
10990
11705
|
},
|
|
10991
11706
|
"noIrregularWhitespace": {
|
|
10992
|
-
"description": "Disallows the use of irregular whitespace characters.\nSee
|
|
11707
|
+
"description": "Disallows the use of irregular whitespace characters.\nSee https://biomejs.dev/linter/rules/no-irregular-whitespace",
|
|
10993
11708
|
"anyOf": [
|
|
10994
11709
|
{ "$ref": "#/$defs/NoIrregularWhitespaceConfiguration" },
|
|
10995
11710
|
{ "type": "null" }
|
|
10996
11711
|
]
|
|
10997
11712
|
},
|
|
10998
11713
|
"noLabelVar": {
|
|
10999
|
-
"description": "Disallow labels that share a name with a variable.\nSee
|
|
11714
|
+
"description": "Disallow labels that share a name with a variable.\nSee https://biomejs.dev/linter/rules/no-label-var",
|
|
11000
11715
|
"anyOf": [
|
|
11001
11716
|
{ "$ref": "#/$defs/NoLabelVarConfiguration" },
|
|
11002
11717
|
{ "type": "null" }
|
|
11003
11718
|
]
|
|
11004
11719
|
},
|
|
11005
11720
|
"noMisleadingCharacterClass": {
|
|
11006
|
-
"description": "Disallow characters made with multiple code points in character class syntax.\nSee
|
|
11721
|
+
"description": "Disallow characters made with multiple code points in character class syntax.\nSee https://biomejs.dev/linter/rules/no-misleading-character-class",
|
|
11007
11722
|
"anyOf": [
|
|
11008
11723
|
{ "$ref": "#/$defs/NoMisleadingCharacterClassConfiguration" },
|
|
11009
11724
|
{ "type": "null" }
|
|
11010
11725
|
]
|
|
11011
11726
|
},
|
|
11012
11727
|
"noMisleadingInstantiator": {
|
|
11013
|
-
"description": "Enforce proper usage of new and constructor.\nSee
|
|
11728
|
+
"description": "Enforce proper usage of new and constructor.\nSee https://biomejs.dev/linter/rules/no-misleading-instantiator",
|
|
11014
11729
|
"anyOf": [
|
|
11015
11730
|
{ "$ref": "#/$defs/NoMisleadingInstantiatorConfiguration" },
|
|
11016
11731
|
{ "type": "null" }
|
|
11017
11732
|
]
|
|
11018
11733
|
},
|
|
11019
11734
|
"noMisplacedAssertion": {
|
|
11020
|
-
"description": "Checks that the assertion function, for example expect, is placed inside an it() function call.\nSee
|
|
11735
|
+
"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",
|
|
11021
11736
|
"anyOf": [
|
|
11022
11737
|
{ "$ref": "#/$defs/NoMisplacedAssertionConfiguration" },
|
|
11023
11738
|
{ "type": "null" }
|
|
11024
11739
|
]
|
|
11025
11740
|
},
|
|
11026
11741
|
"noMisrefactoredShorthandAssign": {
|
|
11027
|
-
"description": "Disallow shorthand assign when variable appears on both sides.\nSee
|
|
11742
|
+
"description": "Disallow shorthand assign when variable appears on both sides.\nSee https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign",
|
|
11028
11743
|
"anyOf": [
|
|
11029
11744
|
{ "$ref": "#/$defs/NoMisrefactoredShorthandAssignConfiguration" },
|
|
11030
11745
|
{ "type": "null" }
|
|
11031
11746
|
]
|
|
11032
11747
|
},
|
|
11033
11748
|
"noNonNullAssertedOptionalChain": {
|
|
11034
|
-
"description": "Disallow non-null assertions after optional chaining expressions.\nSee
|
|
11749
|
+
"description": "Disallow non-null assertions after optional chaining expressions.\nSee https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain",
|
|
11035
11750
|
"anyOf": [
|
|
11036
11751
|
{ "$ref": "#/$defs/NoNonNullAssertedOptionalChainConfiguration" },
|
|
11037
11752
|
{ "type": "null" }
|
|
11038
11753
|
]
|
|
11039
11754
|
},
|
|
11040
11755
|
"noOctalEscape": {
|
|
11041
|
-
"description": "Disallow octal escape sequences in string literals.\nSee
|
|
11756
|
+
"description": "Disallow octal escape sequences in string literals.\nSee https://biomejs.dev/linter/rules/no-octal-escape",
|
|
11042
11757
|
"anyOf": [
|
|
11043
11758
|
{ "$ref": "#/$defs/NoOctalEscapeConfiguration" },
|
|
11044
11759
|
{ "type": "null" }
|
|
11045
11760
|
]
|
|
11046
11761
|
},
|
|
11047
11762
|
"noPrototypeBuiltins": {
|
|
11048
|
-
"description": "Disallow direct use of Object.prototype builtins.\nSee
|
|
11763
|
+
"description": "Disallow direct use of Object.prototype builtins.\nSee https://biomejs.dev/linter/rules/no-prototype-builtins",
|
|
11049
11764
|
"anyOf": [
|
|
11050
11765
|
{ "$ref": "#/$defs/NoPrototypeBuiltinsConfiguration" },
|
|
11051
11766
|
{ "type": "null" }
|
|
11052
11767
|
]
|
|
11053
11768
|
},
|
|
11054
11769
|
"noQuickfixBiome": {
|
|
11055
|
-
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee
|
|
11770
|
+
"description": "Disallow the use if quickfix.biome inside editor settings file.\nSee https://biomejs.dev/linter/rules/no-quickfix-biome",
|
|
11056
11771
|
"anyOf": [
|
|
11057
11772
|
{ "$ref": "#/$defs/NoQuickfixBiomeConfiguration" },
|
|
11058
11773
|
{ "type": "null" }
|
|
11059
11774
|
]
|
|
11060
11775
|
},
|
|
11061
11776
|
"noReactSpecificProps": {
|
|
11062
|
-
"description": "Prevents React-specific JSX properties from being used.\nSee
|
|
11777
|
+
"description": "Prevents React-specific JSX properties from being used.\nSee https://biomejs.dev/linter/rules/no-react-specific-props",
|
|
11063
11778
|
"anyOf": [
|
|
11064
11779
|
{ "$ref": "#/$defs/NoReactSpecificPropsConfiguration" },
|
|
11065
11780
|
{ "type": "null" }
|
|
11066
11781
|
]
|
|
11067
11782
|
},
|
|
11068
11783
|
"noRedeclare": {
|
|
11069
|
-
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee
|
|
11784
|
+
"description": "Disallow variable, function, class, and type redeclarations in the same scope.\nSee https://biomejs.dev/linter/rules/no-redeclare",
|
|
11070
11785
|
"anyOf": [
|
|
11071
11786
|
{ "$ref": "#/$defs/NoRedeclareConfiguration" },
|
|
11072
11787
|
{ "type": "null" }
|
|
11073
11788
|
]
|
|
11074
11789
|
},
|
|
11075
11790
|
"noRedundantUseStrict": {
|
|
11076
|
-
"description": "Prevents from having redundant \"use strict\".\nSee
|
|
11791
|
+
"description": "Prevents from having redundant \"use strict\".\nSee https://biomejs.dev/linter/rules/no-redundant-use-strict",
|
|
11077
11792
|
"anyOf": [
|
|
11078
11793
|
{ "$ref": "#/$defs/NoRedundantUseStrictConfiguration" },
|
|
11079
11794
|
{ "type": "null" }
|
|
11080
11795
|
]
|
|
11081
11796
|
},
|
|
11082
11797
|
"noSelfCompare": {
|
|
11083
|
-
"description": "Disallow comparisons where both sides are exactly the same.\nSee
|
|
11798
|
+
"description": "Disallow comparisons where both sides are exactly the same.\nSee https://biomejs.dev/linter/rules/no-self-compare",
|
|
11084
11799
|
"anyOf": [
|
|
11085
11800
|
{ "$ref": "#/$defs/NoSelfCompareConfiguration" },
|
|
11086
11801
|
{ "type": "null" }
|
|
11087
11802
|
]
|
|
11088
11803
|
},
|
|
11089
11804
|
"noShadowRestrictedNames": {
|
|
11090
|
-
"description": "Disallow identifiers from shadowing restricted names.\nSee
|
|
11805
|
+
"description": "Disallow identifiers from shadowing restricted names.\nSee https://biomejs.dev/linter/rules/no-shadow-restricted-names",
|
|
11091
11806
|
"anyOf": [
|
|
11092
11807
|
{ "$ref": "#/$defs/NoShadowRestrictedNamesConfiguration" },
|
|
11093
11808
|
{ "type": "null" }
|
|
11094
11809
|
]
|
|
11095
11810
|
},
|
|
11096
11811
|
"noShorthandPropertyOverrides": {
|
|
11097
|
-
"description": "Disallow shorthand properties that override related longhand properties.\nSee
|
|
11812
|
+
"description": "Disallow shorthand properties that override related longhand properties.\nSee https://biomejs.dev/linter/rules/no-shorthand-property-overrides",
|
|
11098
11813
|
"anyOf": [
|
|
11099
11814
|
{ "$ref": "#/$defs/NoShorthandPropertyOverridesConfiguration" },
|
|
11100
11815
|
{ "type": "null" }
|
|
11101
11816
|
]
|
|
11102
11817
|
},
|
|
11103
11818
|
"noSkippedTests": {
|
|
11104
|
-
"description": "Disallow disabled tests.\nSee
|
|
11819
|
+
"description": "Disallow disabled tests.\nSee https://biomejs.dev/linter/rules/no-skipped-tests",
|
|
11105
11820
|
"anyOf": [
|
|
11106
11821
|
{ "$ref": "#/$defs/NoSkippedTestsConfiguration" },
|
|
11107
11822
|
{ "type": "null" }
|
|
11108
11823
|
]
|
|
11109
11824
|
},
|
|
11110
11825
|
"noSparseArray": {
|
|
11111
|
-
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee
|
|
11826
|
+
"description": "Prevents the use of sparse arrays (arrays with holes).\nSee https://biomejs.dev/linter/rules/no-sparse-array",
|
|
11112
11827
|
"anyOf": [
|
|
11113
11828
|
{ "$ref": "#/$defs/NoSparseArrayConfiguration" },
|
|
11114
11829
|
{ "type": "null" }
|
|
11115
11830
|
]
|
|
11116
11831
|
},
|
|
11117
11832
|
"noSuspiciousSemicolonInJsx": {
|
|
11118
|
-
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee
|
|
11833
|
+
"description": "It detects possible \"wrong\" semicolons inside JSX elements.\nSee https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx",
|
|
11119
11834
|
"anyOf": [
|
|
11120
11835
|
{ "$ref": "#/$defs/NoSuspiciousSemicolonInJsxConfiguration" },
|
|
11121
11836
|
{ "type": "null" }
|
|
11122
11837
|
]
|
|
11123
11838
|
},
|
|
11124
11839
|
"noTemplateCurlyInString": {
|
|
11125
|
-
"description": "Disallow template literal placeholder syntax in regular strings.\nSee
|
|
11840
|
+
"description": "Disallow template literal placeholder syntax in regular strings.\nSee https://biomejs.dev/linter/rules/no-template-curly-in-string",
|
|
11126
11841
|
"anyOf": [
|
|
11127
11842
|
{ "$ref": "#/$defs/NoTemplateCurlyInStringConfiguration" },
|
|
11128
11843
|
{ "type": "null" }
|
|
11129
11844
|
]
|
|
11130
11845
|
},
|
|
11131
11846
|
"noThenProperty": {
|
|
11132
|
-
"description": "Disallow then property.\nSee
|
|
11847
|
+
"description": "Disallow then property.\nSee https://biomejs.dev/linter/rules/no-then-property",
|
|
11133
11848
|
"anyOf": [
|
|
11134
11849
|
{ "$ref": "#/$defs/NoThenPropertyConfiguration" },
|
|
11135
11850
|
{ "type": "null" }
|
|
11136
11851
|
]
|
|
11137
11852
|
},
|
|
11138
11853
|
"noTsIgnore": {
|
|
11139
|
-
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee
|
|
11854
|
+
"description": "Prevents the use of the TypeScript directive @ts-ignore.\nSee https://biomejs.dev/linter/rules/no-ts-ignore",
|
|
11140
11855
|
"anyOf": [
|
|
11141
11856
|
{ "$ref": "#/$defs/NoTsIgnoreConfiguration" },
|
|
11142
11857
|
{ "type": "null" }
|
|
11143
11858
|
]
|
|
11144
11859
|
},
|
|
11145
11860
|
"noUnassignedVariables": {
|
|
11146
|
-
"description": "Disallow let or var variables that are read but never assigned.\nSee
|
|
11861
|
+
"description": "Disallow let or var variables that are read but never assigned.\nSee https://biomejs.dev/linter/rules/no-unassigned-variables",
|
|
11147
11862
|
"anyOf": [
|
|
11148
11863
|
{ "$ref": "#/$defs/NoUnassignedVariablesConfiguration" },
|
|
11149
11864
|
{ "type": "null" }
|
|
11150
11865
|
]
|
|
11151
11866
|
},
|
|
11152
11867
|
"noUnknownAtRules": {
|
|
11153
|
-
"description": "Disallow unknown at-rules.\nSee
|
|
11868
|
+
"description": "Disallow unknown at-rules.\nSee https://biomejs.dev/linter/rules/no-unknown-at-rules",
|
|
11154
11869
|
"anyOf": [
|
|
11155
11870
|
{ "$ref": "#/$defs/NoUnknownAtRulesConfiguration" },
|
|
11156
11871
|
{ "type": "null" }
|
|
11157
11872
|
]
|
|
11158
11873
|
},
|
|
11159
11874
|
"noUnsafeDeclarationMerging": {
|
|
11160
|
-
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee
|
|
11875
|
+
"description": "Disallow unsafe declaration merging between interfaces and classes.\nSee https://biomejs.dev/linter/rules/no-unsafe-declaration-merging",
|
|
11161
11876
|
"anyOf": [
|
|
11162
11877
|
{ "$ref": "#/$defs/NoUnsafeDeclarationMergingConfiguration" },
|
|
11163
11878
|
{ "type": "null" }
|
|
11164
11879
|
]
|
|
11165
11880
|
},
|
|
11166
11881
|
"noUnsafeNegation": {
|
|
11167
|
-
"description": "Disallow using unsafe negation.\nSee
|
|
11882
|
+
"description": "Disallow using unsafe negation.\nSee https://biomejs.dev/linter/rules/no-unsafe-negation",
|
|
11168
11883
|
"anyOf": [
|
|
11169
11884
|
{ "$ref": "#/$defs/NoUnsafeNegationConfiguration" },
|
|
11170
11885
|
{ "type": "null" }
|
|
11171
11886
|
]
|
|
11172
11887
|
},
|
|
11173
11888
|
"noUselessEscapeInString": {
|
|
11174
|
-
"description": "Disallow unnecessary escapes in string literals.\nSee
|
|
11889
|
+
"description": "Disallow unnecessary escapes in string literals.\nSee https://biomejs.dev/linter/rules/no-useless-escape-in-string",
|
|
11175
11890
|
"anyOf": [
|
|
11176
11891
|
{ "$ref": "#/$defs/NoUselessEscapeInStringConfiguration" },
|
|
11177
11892
|
{ "type": "null" }
|
|
11178
11893
|
]
|
|
11179
11894
|
},
|
|
11180
11895
|
"noUselessRegexBackrefs": {
|
|
11181
|
-
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee
|
|
11896
|
+
"description": "Disallow useless backreferences in regular expression literals that always match an empty string.\nSee https://biomejs.dev/linter/rules/no-useless-regex-backrefs",
|
|
11182
11897
|
"anyOf": [
|
|
11183
11898
|
{ "$ref": "#/$defs/NoUselessRegexBackrefsConfiguration" },
|
|
11184
11899
|
{ "type": "null" }
|
|
11185
11900
|
]
|
|
11186
11901
|
},
|
|
11187
11902
|
"noVar": {
|
|
11188
|
-
"description": "Disallow the use of var.\nSee
|
|
11903
|
+
"description": "Disallow the use of var.\nSee https://biomejs.dev/linter/rules/no-var",
|
|
11189
11904
|
"anyOf": [
|
|
11190
11905
|
{ "$ref": "#/$defs/NoVarConfiguration" },
|
|
11191
11906
|
{ "type": "null" }
|
|
11192
11907
|
]
|
|
11193
11908
|
},
|
|
11194
11909
|
"noWith": {
|
|
11195
|
-
"description": "Disallow with statements in non-strict contexts.\nSee
|
|
11910
|
+
"description": "Disallow with statements in non-strict contexts.\nSee https://biomejs.dev/linter/rules/no-with",
|
|
11196
11911
|
"anyOf": [
|
|
11197
11912
|
{ "$ref": "#/$defs/NoWithConfiguration" },
|
|
11198
11913
|
{ "type": "null" }
|
|
@@ -11203,98 +11918,98 @@
|
|
|
11203
11918
|
"type": ["boolean", "null"]
|
|
11204
11919
|
},
|
|
11205
11920
|
"useAdjacentOverloadSignatures": {
|
|
11206
|
-
"description": "Disallow the use of overload signatures that are not next to each other.\nSee
|
|
11921
|
+
"description": "Disallow the use of overload signatures that are not next to each other.\nSee https://biomejs.dev/linter/rules/use-adjacent-overload-signatures",
|
|
11207
11922
|
"anyOf": [
|
|
11208
11923
|
{ "$ref": "#/$defs/UseAdjacentOverloadSignaturesConfiguration" },
|
|
11209
11924
|
{ "type": "null" }
|
|
11210
11925
|
]
|
|
11211
11926
|
},
|
|
11212
11927
|
"useAwait": {
|
|
11213
|
-
"description": "Ensure async functions utilize await.\nSee
|
|
11928
|
+
"description": "Ensure async functions utilize await.\nSee https://biomejs.dev/linter/rules/use-await",
|
|
11214
11929
|
"anyOf": [
|
|
11215
11930
|
{ "$ref": "#/$defs/UseAwaitConfiguration" },
|
|
11216
11931
|
{ "type": "null" }
|
|
11217
11932
|
]
|
|
11218
11933
|
},
|
|
11219
11934
|
"useBiomeIgnoreFolder": {
|
|
11220
|
-
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee
|
|
11935
|
+
"description": "Promotes the correct usage for ignoring folders in the configuration file.\nSee https://biomejs.dev/linter/rules/use-biome-ignore-folder",
|
|
11221
11936
|
"anyOf": [
|
|
11222
11937
|
{ "$ref": "#/$defs/UseBiomeIgnoreFolderConfiguration" },
|
|
11223
11938
|
{ "type": "null" }
|
|
11224
11939
|
]
|
|
11225
11940
|
},
|
|
11226
11941
|
"useDefaultSwitchClauseLast": {
|
|
11227
|
-
"description": "Enforce default clauses in switch statements to be last.\nSee
|
|
11942
|
+
"description": "Enforce default clauses in switch statements to be last.\nSee https://biomejs.dev/linter/rules/use-default-switch-clause-last",
|
|
11228
11943
|
"anyOf": [
|
|
11229
11944
|
{ "$ref": "#/$defs/UseDefaultSwitchClauseLastConfiguration" },
|
|
11230
11945
|
{ "type": "null" }
|
|
11231
11946
|
]
|
|
11232
11947
|
},
|
|
11233
11948
|
"useErrorMessage": {
|
|
11234
|
-
"description": "Enforce passing a message value when creating a built-in error.\nSee
|
|
11949
|
+
"description": "Enforce passing a message value when creating a built-in error.\nSee https://biomejs.dev/linter/rules/use-error-message",
|
|
11235
11950
|
"anyOf": [
|
|
11236
11951
|
{ "$ref": "#/$defs/UseErrorMessageConfiguration" },
|
|
11237
11952
|
{ "type": "null" }
|
|
11238
11953
|
]
|
|
11239
11954
|
},
|
|
11240
11955
|
"useGetterReturn": {
|
|
11241
|
-
"description": "Enforce get methods to always return a value.\nSee
|
|
11956
|
+
"description": "Enforce get methods to always return a value.\nSee https://biomejs.dev/linter/rules/use-getter-return",
|
|
11242
11957
|
"anyOf": [
|
|
11243
11958
|
{ "$ref": "#/$defs/UseGetterReturnConfiguration" },
|
|
11244
11959
|
{ "type": "null" }
|
|
11245
11960
|
]
|
|
11246
11961
|
},
|
|
11247
11962
|
"useGoogleFontDisplay": {
|
|
11248
|
-
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee
|
|
11963
|
+
"description": "Enforces the use of a recommended display strategy with Google Fonts.\nSee https://biomejs.dev/linter/rules/use-google-font-display",
|
|
11249
11964
|
"anyOf": [
|
|
11250
11965
|
{ "$ref": "#/$defs/UseGoogleFontDisplayConfiguration" },
|
|
11251
11966
|
{ "type": "null" }
|
|
11252
11967
|
]
|
|
11253
11968
|
},
|
|
11254
11969
|
"useGuardForIn": {
|
|
11255
|
-
"description": "Require for-in loops to include an if statement.\nSee
|
|
11970
|
+
"description": "Require for-in loops to include an if statement.\nSee https://biomejs.dev/linter/rules/use-guard-for-in",
|
|
11256
11971
|
"anyOf": [
|
|
11257
11972
|
{ "$ref": "#/$defs/UseGuardForInConfiguration" },
|
|
11258
11973
|
{ "type": "null" }
|
|
11259
11974
|
]
|
|
11260
11975
|
},
|
|
11261
11976
|
"useIsArray": {
|
|
11262
|
-
"description": "Use Array.isArray() instead of instanceof Array.\nSee
|
|
11977
|
+
"description": "Use Array.isArray() instead of instanceof Array.\nSee https://biomejs.dev/linter/rules/use-is-array",
|
|
11263
11978
|
"anyOf": [
|
|
11264
11979
|
{ "$ref": "#/$defs/UseIsArrayConfiguration" },
|
|
11265
11980
|
{ "type": "null" }
|
|
11266
11981
|
]
|
|
11267
11982
|
},
|
|
11268
11983
|
"useIterableCallbackReturn": {
|
|
11269
|
-
"description": "Enforce consistent return values in iterable callbacks.\nSee
|
|
11984
|
+
"description": "Enforce consistent return values in iterable callbacks.\nSee https://biomejs.dev/linter/rules/use-iterable-callback-return",
|
|
11270
11985
|
"anyOf": [
|
|
11271
11986
|
{ "$ref": "#/$defs/UseIterableCallbackReturnConfiguration" },
|
|
11272
11987
|
{ "type": "null" }
|
|
11273
11988
|
]
|
|
11274
11989
|
},
|
|
11275
11990
|
"useNamespaceKeyword": {
|
|
11276
|
-
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee
|
|
11991
|
+
"description": "Require using the namespace keyword over the module keyword to declare TypeScript namespaces.\nSee https://biomejs.dev/linter/rules/use-namespace-keyword",
|
|
11277
11992
|
"anyOf": [
|
|
11278
11993
|
{ "$ref": "#/$defs/UseNamespaceKeywordConfiguration" },
|
|
11279
11994
|
{ "type": "null" }
|
|
11280
11995
|
]
|
|
11281
11996
|
},
|
|
11282
11997
|
"useNumberToFixedDigitsArgument": {
|
|
11283
|
-
"description": "Enforce using the digits argument with Number#toFixed().\nSee
|
|
11998
|
+
"description": "Enforce using the digits argument with Number#toFixed().\nSee https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument",
|
|
11284
11999
|
"anyOf": [
|
|
11285
12000
|
{ "$ref": "#/$defs/UseNumberToFixedDigitsArgumentConfiguration" },
|
|
11286
12001
|
{ "type": "null" }
|
|
11287
12002
|
]
|
|
11288
12003
|
},
|
|
11289
12004
|
"useStaticResponseMethods": {
|
|
11290
|
-
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee
|
|
12005
|
+
"description": "Use static Response methods instead of new Response() constructor when possible.\nSee https://biomejs.dev/linter/rules/use-static-response-methods",
|
|
11291
12006
|
"anyOf": [
|
|
11292
12007
|
{ "$ref": "#/$defs/UseStaticResponseMethodsConfiguration" },
|
|
11293
12008
|
{ "type": "null" }
|
|
11294
12009
|
]
|
|
11295
12010
|
},
|
|
11296
12011
|
"useStrictMode": {
|
|
11297
|
-
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee
|
|
12012
|
+
"description": "Enforce the use of the directive \"use strict\" in script files.\nSee https://biomejs.dev/linter/rules/use-strict-mode",
|
|
11298
12013
|
"anyOf": [
|
|
11299
12014
|
{ "$ref": "#/$defs/UseStrictModeConfiguration" },
|
|
11300
12015
|
{ "type": "null" }
|
|
@@ -11737,6 +12452,24 @@
|
|
|
11737
12452
|
"type": "object",
|
|
11738
12453
|
"additionalProperties": false
|
|
11739
12454
|
},
|
|
12455
|
+
"UseErrorCauseConfiguration": {
|
|
12456
|
+
"oneOf": [
|
|
12457
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12458
|
+
{ "$ref": "#/$defs/RuleWithUseErrorCauseOptions" }
|
|
12459
|
+
]
|
|
12460
|
+
},
|
|
12461
|
+
"UseErrorCauseOptions": {
|
|
12462
|
+
"description": "Options for the `useErrorCause` rule.",
|
|
12463
|
+
"type": "object",
|
|
12464
|
+
"properties": {
|
|
12465
|
+
"requireCatchParameter": {
|
|
12466
|
+
"description": "When set to `true`, the rule requires that `catch` clauses have a parameter.",
|
|
12467
|
+
"type": "boolean",
|
|
12468
|
+
"default": true
|
|
12469
|
+
}
|
|
12470
|
+
},
|
|
12471
|
+
"additionalProperties": false
|
|
12472
|
+
},
|
|
11740
12473
|
"UseErrorMessageConfiguration": {
|
|
11741
12474
|
"oneOf": [
|
|
11742
12475
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12066,6 +12799,16 @@
|
|
|
12066
12799
|
]
|
|
12067
12800
|
},
|
|
12068
12801
|
"UseIndexOfOptions": { "type": "object", "additionalProperties": false },
|
|
12802
|
+
"UseInlineScriptIdConfiguration": {
|
|
12803
|
+
"oneOf": [
|
|
12804
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12805
|
+
{ "$ref": "#/$defs/RuleWithUseInlineScriptIdOptions" }
|
|
12806
|
+
]
|
|
12807
|
+
},
|
|
12808
|
+
"UseInlineScriptIdOptions": {
|
|
12809
|
+
"type": "object",
|
|
12810
|
+
"additionalProperties": false
|
|
12811
|
+
},
|
|
12069
12812
|
"UseIsArrayConfiguration": {
|
|
12070
12813
|
"oneOf": [
|
|
12071
12814
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12156,6 +12899,26 @@
|
|
|
12156
12899
|
"type": "object",
|
|
12157
12900
|
"additionalProperties": false
|
|
12158
12901
|
},
|
|
12902
|
+
"UseLoneAnonymousOperationConfiguration": {
|
|
12903
|
+
"oneOf": [
|
|
12904
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12905
|
+
{ "$ref": "#/$defs/RuleWithUseLoneAnonymousOperationOptions" }
|
|
12906
|
+
]
|
|
12907
|
+
},
|
|
12908
|
+
"UseLoneAnonymousOperationOptions": {
|
|
12909
|
+
"type": "object",
|
|
12910
|
+
"additionalProperties": false
|
|
12911
|
+
},
|
|
12912
|
+
"UseLoneExecutableDefinitionConfiguration": {
|
|
12913
|
+
"oneOf": [
|
|
12914
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12915
|
+
{ "$ref": "#/$defs/RuleWithUseLoneExecutableDefinitionOptions" }
|
|
12916
|
+
]
|
|
12917
|
+
},
|
|
12918
|
+
"UseLoneExecutableDefinitionOptions": {
|
|
12919
|
+
"type": "object",
|
|
12920
|
+
"additionalProperties": false
|
|
12921
|
+
},
|
|
12159
12922
|
"UseMaxParamsConfiguration": {
|
|
12160
12923
|
"oneOf": [
|
|
12161
12924
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12664,16 +13427,6 @@
|
|
|
12664
13427
|
},
|
|
12665
13428
|
"additionalProperties": false
|
|
12666
13429
|
},
|
|
12667
|
-
"UseUniqueGraphqlOperationNameConfiguration": {
|
|
12668
|
-
"oneOf": [
|
|
12669
|
-
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12670
|
-
{ "$ref": "#/$defs/RuleWithUseUniqueGraphqlOperationNameOptions" }
|
|
12671
|
-
]
|
|
12672
|
-
},
|
|
12673
|
-
"UseUniqueGraphqlOperationNameOptions": {
|
|
12674
|
-
"type": "object",
|
|
12675
|
-
"additionalProperties": false
|
|
12676
|
-
},
|
|
12677
13430
|
"UseValidAnchorConfiguration": {
|
|
12678
13431
|
"oneOf": [
|
|
12679
13432
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12769,6 +13522,58 @@
|
|
|
12769
13522
|
"type": "object",
|
|
12770
13523
|
"additionalProperties": false
|
|
12771
13524
|
},
|
|
13525
|
+
"UseVueConsistentDefinePropsDeclarationConfiguration": {
|
|
13526
|
+
"oneOf": [
|
|
13527
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13528
|
+
{
|
|
13529
|
+
"$ref": "#/$defs/RuleWithUseVueConsistentDefinePropsDeclarationOptions"
|
|
13530
|
+
}
|
|
13531
|
+
]
|
|
13532
|
+
},
|
|
13533
|
+
"UseVueConsistentDefinePropsDeclarationOptions": {
|
|
13534
|
+
"type": "object",
|
|
13535
|
+
"properties": {
|
|
13536
|
+
"style": {
|
|
13537
|
+
"anyOf": [{ "$ref": "#/$defs/DeclarationStyle" }, { "type": "null" }]
|
|
13538
|
+
}
|
|
13539
|
+
},
|
|
13540
|
+
"additionalProperties": false
|
|
13541
|
+
},
|
|
13542
|
+
"UseVueConsistentVBindStyleConfiguration": {
|
|
13543
|
+
"oneOf": [
|
|
13544
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13545
|
+
{ "$ref": "#/$defs/RuleWithUseVueConsistentVBindStyleOptions" }
|
|
13546
|
+
]
|
|
13547
|
+
},
|
|
13548
|
+
"UseVueConsistentVBindStyleOptions": {
|
|
13549
|
+
"type": "object",
|
|
13550
|
+
"properties": {
|
|
13551
|
+
"style": {
|
|
13552
|
+
"description": "Preferred style for `v-bind` usage: \"shorthand\" or \"longhand\".\nIf omitted, shorthand is preferred.",
|
|
13553
|
+
"anyOf": [{ "$ref": "#/$defs/VueDirectiveStyle" }, { "type": "null" }]
|
|
13554
|
+
}
|
|
13555
|
+
},
|
|
13556
|
+
"additionalProperties": false
|
|
13557
|
+
},
|
|
13558
|
+
"UseVueConsistentVOnStyleConfiguration": {
|
|
13559
|
+
"oneOf": [
|
|
13560
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13561
|
+
{ "$ref": "#/$defs/RuleWithUseVueConsistentVOnStyleOptions" }
|
|
13562
|
+
]
|
|
13563
|
+
},
|
|
13564
|
+
"UseVueConsistentVOnStyleOptions": {
|
|
13565
|
+
"type": "object",
|
|
13566
|
+
"properties": {
|
|
13567
|
+
"style": {
|
|
13568
|
+
"description": "Preferred style for `v-on` usage: \"shorthand\" or \"longhand\".\nIf omitted, shorthand is preferred.",
|
|
13569
|
+
"anyOf": [
|
|
13570
|
+
{ "$ref": "#/$defs/VueDirectiveStyle2" },
|
|
13571
|
+
{ "type": "null" }
|
|
13572
|
+
]
|
|
13573
|
+
}
|
|
13574
|
+
},
|
|
13575
|
+
"additionalProperties": false
|
|
13576
|
+
},
|
|
12772
13577
|
"UseVueDefineMacrosOrderConfiguration": {
|
|
12773
13578
|
"oneOf": [
|
|
12774
13579
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12829,6 +13634,23 @@
|
|
|
12829
13634
|
},
|
|
12830
13635
|
"additionalProperties": false
|
|
12831
13636
|
},
|
|
13637
|
+
"UseVueVForKeyConfiguration": {
|
|
13638
|
+
"oneOf": [
|
|
13639
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13640
|
+
{ "$ref": "#/$defs/RuleWithUseVueVForKeyOptions" }
|
|
13641
|
+
]
|
|
13642
|
+
},
|
|
13643
|
+
"UseVueVForKeyOptions": { "type": "object", "additionalProperties": false },
|
|
13644
|
+
"UseVueValidTemplateRootConfiguration": {
|
|
13645
|
+
"oneOf": [
|
|
13646
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13647
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidTemplateRootOptions" }
|
|
13648
|
+
]
|
|
13649
|
+
},
|
|
13650
|
+
"UseVueValidTemplateRootOptions": {
|
|
13651
|
+
"type": "object",
|
|
13652
|
+
"additionalProperties": false
|
|
13653
|
+
},
|
|
12832
13654
|
"UseVueValidVBindConfiguration": {
|
|
12833
13655
|
"oneOf": [
|
|
12834
13656
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12839,6 +13661,16 @@
|
|
|
12839
13661
|
"type": "object",
|
|
12840
13662
|
"additionalProperties": false
|
|
12841
13663
|
},
|
|
13664
|
+
"UseVueValidVCloakConfiguration": {
|
|
13665
|
+
"oneOf": [
|
|
13666
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13667
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVCloakOptions" }
|
|
13668
|
+
]
|
|
13669
|
+
},
|
|
13670
|
+
"UseVueValidVCloakOptions": {
|
|
13671
|
+
"type": "object",
|
|
13672
|
+
"additionalProperties": false
|
|
13673
|
+
},
|
|
12842
13674
|
"UseVueValidVElseConfiguration": {
|
|
12843
13675
|
"oneOf": [
|
|
12844
13676
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12897,6 +13729,26 @@
|
|
|
12897
13729
|
},
|
|
12898
13730
|
"additionalProperties": false
|
|
12899
13731
|
},
|
|
13732
|
+
"UseVueValidVOnceConfiguration": {
|
|
13733
|
+
"oneOf": [
|
|
13734
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13735
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVOnceOptions" }
|
|
13736
|
+
]
|
|
13737
|
+
},
|
|
13738
|
+
"UseVueValidVOnceOptions": {
|
|
13739
|
+
"type": "object",
|
|
13740
|
+
"additionalProperties": false
|
|
13741
|
+
},
|
|
13742
|
+
"UseVueValidVPreConfiguration": {
|
|
13743
|
+
"oneOf": [
|
|
13744
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13745
|
+
{ "$ref": "#/$defs/RuleWithUseVueValidVPreOptions" }
|
|
13746
|
+
]
|
|
13747
|
+
},
|
|
13748
|
+
"UseVueValidVPreOptions": {
|
|
13749
|
+
"type": "object",
|
|
13750
|
+
"additionalProperties": false
|
|
13751
|
+
},
|
|
12900
13752
|
"UseVueValidVTextConfiguration": {
|
|
12901
13753
|
"oneOf": [
|
|
12902
13754
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12907,6 +13759,13 @@
|
|
|
12907
13759
|
"type": "object",
|
|
12908
13760
|
"additionalProperties": false
|
|
12909
13761
|
},
|
|
13762
|
+
"UseVueVaporConfiguration": {
|
|
13763
|
+
"oneOf": [
|
|
13764
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13765
|
+
{ "$ref": "#/$defs/RuleWithUseVueVaporOptions" }
|
|
13766
|
+
]
|
|
13767
|
+
},
|
|
13768
|
+
"UseVueVaporOptions": { "type": "object", "additionalProperties": false },
|
|
12910
13769
|
"UseWhileConfiguration": {
|
|
12911
13770
|
"oneOf": [
|
|
12912
13771
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -12961,6 +13820,14 @@
|
|
|
12961
13820
|
"type": "string",
|
|
12962
13821
|
"enum": ["public", "package", "private"]
|
|
12963
13822
|
},
|
|
13823
|
+
"VueDirectiveStyle": {
|
|
13824
|
+
"type": "string",
|
|
13825
|
+
"enum": ["shorthand", "longhand"]
|
|
13826
|
+
},
|
|
13827
|
+
"VueDirectiveStyle2": {
|
|
13828
|
+
"type": "string",
|
|
13829
|
+
"enum": ["shorthand", "longhand"]
|
|
13830
|
+
},
|
|
12964
13831
|
"WhitespaceSensitivity": {
|
|
12965
13832
|
"description": "Whitespace sensitivity for HTML formatting.\n\nThe following two cases won't produce the same output:\n\n| | html | output |\n| -------------- | :------------: | :----------: |\n| with spaces | `1<b> 2 </b>3` | 1<b> 2 </b>3 |\n| without spaces | `1<b>2</b>3` | 1<b>2</b>3 |\n\nThis happens because whitespace is significant in inline elements.\n\nAs a consequence of this, the formatter must format blocks that look like this (assume a small line width, <20):\n```html\n<span>really long content</span>\n```\nas this, where the content hugs the tags:\n```html\n<span\n >really long content</span\n>\n```\n\nNote that this is only necessary for inline elements. Block elements do not have this restriction.",
|
|
12966
13833
|
"oneOf": [
|