@biomejs/wasm-nodejs 1.5.2 → 1.5.3-nightly.4fa841c

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/biome_wasm.d.ts CHANGED
@@ -5,10 +5,10 @@
5
5
  export function main(): void;
6
6
  interface SupportsFeatureParams {
7
7
  feature: FeatureName[];
8
- path: RomePath;
8
+ path: BiomePath;
9
9
  }
10
10
  type FeatureName = "Format" | "Lint" | "OrganizeImports";
11
- interface RomePath {
11
+ interface BiomePath {
12
12
  path: string;
13
13
  }
14
14
  interface SupportsFeatureResult {
@@ -21,12 +21,12 @@ type SupportKind =
21
21
  | "FeatureNotEnabled"
22
22
  | "FileNotSupported";
23
23
  interface UpdateSettingsParams {
24
- configuration: Configuration;
24
+ configuration: PartialConfiguration;
25
25
  gitignore_matches: string[];
26
26
  vcs_base_path?: string;
27
27
  working_directory?: string;
28
28
  }
29
- interface Configuration {
29
+ interface PartialConfiguration {
30
30
  /**
31
31
  * A field for the [JSON schema](https://json-schema.org/) specification
32
32
  */
@@ -34,7 +34,7 @@ interface Configuration {
34
34
  /**
35
35
  * Specific configuration for the Css language
36
36
  */
37
- css?: CssConfiguration;
37
+ css?: PartialCssConfiguration;
38
38
  /**
39
39
  * A list of paths to other JSON files, used to extends the current configuration.
40
40
  */
@@ -42,27 +42,27 @@ interface Configuration {
42
42
  /**
43
43
  * The configuration of the filesystem
44
44
  */
45
- files?: FilesConfiguration;
45
+ files?: PartialFilesConfiguration;
46
46
  /**
47
47
  * The configuration of the formatter
48
48
  */
49
- formatter?: FormatterConfiguration;
49
+ formatter?: PartialFormatterConfiguration;
50
50
  /**
51
51
  * Specific configuration for the JavaScript language
52
52
  */
53
- javascript?: JavascriptConfiguration;
53
+ javascript?: PartialJavascriptConfiguration;
54
54
  /**
55
55
  * Specific configuration for the Json language
56
56
  */
57
- json?: JsonConfiguration;
57
+ json?: PartialJsonConfiguration;
58
58
  /**
59
59
  * The configuration for the linter
60
60
  */
61
- linter?: LinterConfiguration;
61
+ linter?: PartialLinterConfiguration;
62
62
  /**
63
63
  * The configuration of the import sorting
64
64
  */
65
- organizeImports?: OrganizeImports;
65
+ organizeImports?: PartialOrganizeImports;
66
66
  /**
67
67
  * A list of granular patterns that should be applied only to a sub set of files
68
68
  */
@@ -70,20 +70,20 @@ interface Configuration {
70
70
  /**
71
71
  * The configuration of the VCS integration
72
72
  */
73
- vcs?: VcsConfiguration;
73
+ vcs?: PartialVcsConfiguration;
74
74
  }
75
- interface CssConfiguration {
75
+ interface PartialCssConfiguration {
76
76
  /**
77
77
  * Formatting options
78
78
  */
79
- formatter?: CssFormatter;
79
+ formatter?: PartialCssFormatter;
80
80
  /**
81
81
  * Parsing options
82
82
  */
83
- parser?: CssParser;
83
+ parser?: PartialCssParser;
84
84
  }
85
85
  type StringSet = string[];
86
- interface FilesConfiguration {
86
+ interface PartialFilesConfiguration {
87
87
  /**
88
88
  * A list of Unix shell style patterns. Biome will ignore files/folders that will match these patterns.
89
89
  */
@@ -101,7 +101,11 @@ interface FilesConfiguration {
101
101
  */
102
102
  maxSize?: number;
103
103
  }
104
- interface FormatterConfiguration {
104
+ interface PartialFormatterConfiguration {
105
+ /**
106
+ * The attribute position style. By default auto.
107
+ */
108
+ attributePosition?: AttributePosition;
105
109
  enabled?: boolean;
106
110
  /**
107
111
  * Stores whether formatting should be allowed to proceed if a given file has syntax errors
@@ -136,34 +140,34 @@ interface FormatterConfiguration {
136
140
  */
137
141
  lineWidth?: LineWidth;
138
142
  }
139
- interface JavascriptConfiguration {
143
+ interface PartialJavascriptConfiguration {
140
144
  /**
141
145
  * Formatting options
142
146
  */
143
- formatter?: JavascriptFormatter;
147
+ formatter?: PartialJavascriptFormatter;
144
148
  /**
145
149
  * A list of global bindings that should be ignored by the analyzers
146
150
 
147
151
  If defined here, they should not emit diagnostics.
148
152
  */
149
153
  globals?: StringSet;
150
- organize_imports?: JavascriptOrganizeImports;
154
+ organize_imports?: PartialJavascriptOrganizeImports;
151
155
  /**
152
156
  * Parsing options
153
157
  */
154
- parser?: JavascriptParser;
158
+ parser?: PartialJavascriptParser;
155
159
  }
156
- interface JsonConfiguration {
160
+ interface PartialJsonConfiguration {
157
161
  /**
158
162
  * Formatting options
159
163
  */
160
- formatter?: JsonFormatter;
164
+ formatter?: PartialJsonFormatter;
161
165
  /**
162
166
  * Parsing options
163
167
  */
164
- parser?: JsonParser;
168
+ parser?: PartialJsonParser;
165
169
  }
166
- interface LinterConfiguration {
170
+ interface PartialLinterConfiguration {
167
171
  /**
168
172
  * if `false`, it disables the feature and the linter won't be executed. `true` by default
169
173
  */
@@ -181,7 +185,7 @@ interface LinterConfiguration {
181
185
  */
182
186
  rules?: Rules;
183
187
  }
184
- interface OrganizeImports {
188
+ interface PartialOrganizeImports {
185
189
  /**
186
190
  * Enables the organization of imports
187
191
  */
@@ -196,7 +200,7 @@ interface OrganizeImports {
196
200
  include?: StringSet;
197
201
  }
198
202
  type Overrides = OverridePattern[];
199
- interface VcsConfiguration {
203
+ interface PartialVcsConfiguration {
200
204
  /**
201
205
  * The kind of client.
202
206
  */
@@ -220,7 +224,7 @@ If Biome can't find the configuration, it will attempt to use the current workin
220
224
  */
221
225
  useIgnoreFile?: boolean;
222
226
  }
223
- interface CssFormatter {
227
+ interface PartialCssFormatter {
224
228
  /**
225
229
  * Control the formatter for CSS (and its super languages) files.
226
230
  */
@@ -247,20 +251,25 @@ interface CssFormatter {
247
251
  lineWidth?: LineWidth;
248
252
  quoteStyle?: QuoteStyle;
249
253
  }
250
- interface CssParser {
254
+ interface PartialCssParser {
251
255
  /**
252
256
  * Allow comments to appear on incorrect lines in `.css` files
253
257
  */
254
258
  allowWrongLineComments?: boolean;
255
259
  }
260
+ type AttributePosition = "auto" | "multiline";
256
261
  type PlainIndentStyle = "tab" | "space";
257
262
  type LineEnding = "lf" | "crlf" | "cr";
258
263
  type LineWidth = number;
259
- interface JavascriptFormatter {
264
+ interface PartialJavascriptFormatter {
260
265
  /**
261
266
  * Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
262
267
  */
263
268
  arrowParentheses?: ArrowParentheses;
269
+ /**
270
+ * The attribute position style in JavaScript code. Defaults to auto.
271
+ */
272
+ attributePosition?: AttributePosition;
264
273
  /**
265
274
  * Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.
266
275
  */
@@ -314,8 +323,8 @@ interface JavascriptFormatter {
314
323
  */
315
324
  trailingComma?: TrailingComma;
316
325
  }
317
- interface JavascriptOrganizeImports {}
318
- interface JavascriptParser {
326
+ interface PartialJavascriptOrganizeImports {}
327
+ interface PartialJavascriptParser {
319
328
  /**
320
329
  * It enables the experimental and unsafe parsing of parameter decorators
321
330
 
@@ -323,7 +332,7 @@ These decorators belong to an old proposal, and they are subject to change.
323
332
  */
324
333
  unsafeParameterDecoratorsEnabled?: boolean;
325
334
  }
326
- interface JsonFormatter {
335
+ interface PartialJsonFormatter {
327
336
  /**
328
337
  * Control the formatter for JSON (and its super languages) files.
329
338
  */
@@ -348,8 +357,12 @@ interface JsonFormatter {
348
357
  * What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.
349
358
  */
350
359
  lineWidth?: LineWidth;
360
+ /**
361
+ * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "omit".
362
+ */
363
+ trailingCommas?: TrailingCommas;
351
364
  }
352
- interface JsonParser {
365
+ interface PartialJsonParser {
353
366
  /**
354
367
  * Allow parsing comments in `.json` files
355
368
  */
@@ -381,7 +394,7 @@ interface OverridePattern {
381
394
  /**
382
395
  * Specific configuration for the Css language
383
396
  */
384
- css?: CssConfiguration;
397
+ css?: PartialCssConfiguration;
385
398
  /**
386
399
  * Specific configuration for the Json language
387
400
  */
@@ -397,11 +410,11 @@ interface OverridePattern {
397
410
  /**
398
411
  * Specific configuration for the JavaScript language
399
412
  */
400
- javascript?: JavascriptConfiguration;
413
+ javascript?: PartialJavascriptConfiguration;
401
414
  /**
402
415
  * Specific configuration for the Json language
403
416
  */
404
- json?: JsonConfiguration;
417
+ json?: PartialJsonConfiguration;
405
418
  /**
406
419
  * Specific configuration for the Json language
407
420
  */
@@ -417,6 +430,7 @@ type ArrowParentheses = "always" | "asNeeded";
417
430
  type QuoteProperties = "asNeeded" | "preserve";
418
431
  type Semicolons = "always" | "asNeeded";
419
432
  type TrailingComma = "all" | "es5" | "none";
433
+ type TrailingCommas = "none" | "all";
420
434
  interface A11y {
421
435
  /**
422
436
  * It enables ALL rules for this group.
@@ -425,59 +439,59 @@ interface A11y {
425
439
  /**
426
440
  * Enforce that the accessKey attribute is not used on any HTML element.
427
441
  */
428
- noAccessKey?: RuleConfiguration;
442
+ noAccessKey?: RuleConfiguration_for_Null;
429
443
  /**
430
444
  * Enforce that aria-hidden="true" is not set on focusable elements.
431
445
  */
432
- noAriaHiddenOnFocusable?: RuleConfiguration;
446
+ noAriaHiddenOnFocusable?: RuleConfiguration_for_Null;
433
447
  /**
434
448
  * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
435
449
  */
436
- noAriaUnsupportedElements?: RuleConfiguration;
450
+ noAriaUnsupportedElements?: RuleConfiguration_for_Null;
437
451
  /**
438
452
  * Enforce that autoFocus prop is not used on elements.
439
453
  */
440
- noAutofocus?: RuleConfiguration;
454
+ noAutofocus?: RuleConfiguration_for_Null;
441
455
  /**
442
456
  * Disallow target="_blank" attribute without rel="noreferrer"
443
457
  */
444
- noBlankTarget?: RuleConfiguration;
458
+ noBlankTarget?: RuleConfiguration_for_Null;
445
459
  /**
446
460
  * Enforces that no distracting elements are used.
447
461
  */
448
- noDistractingElements?: RuleConfiguration;
462
+ noDistractingElements?: RuleConfiguration_for_Null;
449
463
  /**
450
464
  * The scope prop should be used only on <th> elements.
451
465
  */
452
- noHeaderScope?: RuleConfiguration;
466
+ noHeaderScope?: RuleConfiguration_for_Null;
453
467
  /**
454
468
  * Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
455
469
  */
456
- noInteractiveElementToNoninteractiveRole?: RuleConfiguration;
470
+ noInteractiveElementToNoninteractiveRole?: RuleConfiguration_for_Null;
457
471
  /**
458
472
  * Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
459
473
  */
460
- noNoninteractiveElementToInteractiveRole?: RuleConfiguration;
474
+ noNoninteractiveElementToInteractiveRole?: RuleConfiguration_for_Null;
461
475
  /**
462
476
  * Enforce that tabIndex is not assigned to non-interactive HTML elements.
463
477
  */
464
- noNoninteractiveTabindex?: RuleConfiguration;
478
+ noNoninteractiveTabindex?: RuleConfiguration_for_Null;
465
479
  /**
466
480
  * Prevent the usage of positive integers on tabIndex property
467
481
  */
468
- noPositiveTabindex?: RuleConfiguration;
482
+ noPositiveTabindex?: RuleConfiguration_for_Null;
469
483
  /**
470
484
  * Enforce img alt prop does not contain the word "image", "picture", or "photo".
471
485
  */
472
- noRedundantAlt?: RuleConfiguration;
486
+ noRedundantAlt?: RuleConfiguration_for_Null;
473
487
  /**
474
488
  * Enforce explicit role property is not the same as implicit/default role property on an element.
475
489
  */
476
- noRedundantRoles?: RuleConfiguration;
490
+ noRedundantRoles?: RuleConfiguration_for_Null;
477
491
  /**
478
492
  * Enforces the usage of the title element for the svg element.
479
493
  */
480
- noSvgWithoutTitle?: RuleConfiguration;
494
+ noSvgWithoutTitle?: RuleConfiguration_for_Null;
481
495
  /**
482
496
  * It enables the recommended rules for this group
483
497
  */
@@ -485,67 +499,67 @@ interface A11y {
485
499
  /**
486
500
  * Enforce that all elements that require alternative text have meaningful information to relay back to the end user.
487
501
  */
488
- useAltText?: RuleConfiguration;
502
+ useAltText?: RuleConfiguration_for_Null;
489
503
  /**
490
504
  * Enforce that anchors have content and that the content is accessible to screen readers.
491
505
  */
492
- useAnchorContent?: RuleConfiguration;
506
+ useAnchorContent?: RuleConfiguration_for_Null;
493
507
  /**
494
508
  * Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
495
509
  */
496
- useAriaActivedescendantWithTabindex?: RuleConfiguration;
510
+ useAriaActivedescendantWithTabindex?: RuleConfiguration_for_Null;
497
511
  /**
498
512
  * Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
499
513
  */
500
- useAriaPropsForRole?: RuleConfiguration;
514
+ useAriaPropsForRole?: RuleConfiguration_for_Null;
501
515
  /**
502
516
  * Enforces the usage of the attribute type for the element button
503
517
  */
504
- useButtonType?: RuleConfiguration;
518
+ useButtonType?: RuleConfiguration_for_Null;
505
519
  /**
506
520
  * 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.
507
521
  */
508
- useHeadingContent?: RuleConfiguration;
522
+ useHeadingContent?: RuleConfiguration_for_Null;
509
523
  /**
510
524
  * Enforce that html element has lang attribute.
511
525
  */
512
- useHtmlLang?: RuleConfiguration;
526
+ useHtmlLang?: RuleConfiguration_for_Null;
513
527
  /**
514
528
  * Enforces the usage of the attribute title for the element iframe.
515
529
  */
516
- useIframeTitle?: RuleConfiguration;
530
+ useIframeTitle?: RuleConfiguration_for_Null;
517
531
  /**
518
532
  * Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.
519
533
  */
520
- useKeyWithClickEvents?: RuleConfiguration;
534
+ useKeyWithClickEvents?: RuleConfiguration_for_Null;
521
535
  /**
522
536
  * Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.
523
537
  */
524
- useKeyWithMouseEvents?: RuleConfiguration;
538
+ useKeyWithMouseEvents?: RuleConfiguration_for_Null;
525
539
  /**
526
540
  * Enforces that audio and video elements must have a track for captions.
527
541
  */
528
- useMediaCaption?: RuleConfiguration;
542
+ useMediaCaption?: RuleConfiguration_for_Null;
529
543
  /**
530
544
  * Enforce that all anchors are valid, and they are navigable elements.
531
545
  */
532
- useValidAnchor?: RuleConfiguration;
546
+ useValidAnchor?: RuleConfiguration_for_Null;
533
547
  /**
534
548
  * Ensures that ARIA properties aria-* are all valid.
535
549
  */
536
- useValidAriaProps?: RuleConfiguration;
550
+ useValidAriaProps?: RuleConfiguration_for_Null;
537
551
  /**
538
552
  * Elements with ARIA roles must use a valid, non-abstract ARIA role.
539
553
  */
540
- useValidAriaRole?: RuleConfiguration;
554
+ useValidAriaRole?: RuleConfiguration_for_ValidAriaRoleOptions;
541
555
  /**
542
556
  * Enforce that ARIA state and property values are valid.
543
557
  */
544
- useValidAriaValues?: RuleConfiguration;
558
+ useValidAriaValues?: RuleConfiguration_for_Null;
545
559
  /**
546
560
  * Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.
547
561
  */
548
- useValidLang?: RuleConfiguration;
562
+ useValidLang?: RuleConfiguration_for_Null;
549
563
  }
550
564
  interface Complexity {
551
565
  /**
@@ -555,75 +569,75 @@ interface Complexity {
555
569
  /**
556
570
  * Disallow primitive type aliases and misleading types.
557
571
  */
558
- noBannedTypes?: RuleConfiguration;
572
+ noBannedTypes?: RuleConfiguration_for_Null;
559
573
  /**
560
574
  * Disallow functions that exceed a given Cognitive Complexity score.
561
575
  */
562
- noExcessiveCognitiveComplexity?: RuleConfiguration;
576
+ noExcessiveCognitiveComplexity?: RuleConfiguration_for_ComplexityOptions;
563
577
  /**
564
578
  * Disallow unnecessary boolean casts
565
579
  */
566
- noExtraBooleanCast?: RuleConfiguration;
580
+ noExtraBooleanCast?: RuleConfiguration_for_Null;
567
581
  /**
568
582
  * Prefer for...of statement instead of Array.forEach.
569
583
  */
570
- noForEach?: RuleConfiguration;
584
+ noForEach?: RuleConfiguration_for_Null;
571
585
  /**
572
586
  * Disallow unclear usage of consecutive space characters in regular expression literals
573
587
  */
574
- noMultipleSpacesInRegularExpressionLiterals?: RuleConfiguration;
588
+ noMultipleSpacesInRegularExpressionLiterals?: RuleConfiguration_for_Null;
575
589
  /**
576
590
  * This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
577
591
  */
578
- noStaticOnlyClass?: RuleConfiguration;
592
+ noStaticOnlyClass?: RuleConfiguration_for_Null;
579
593
  /**
580
594
  * Disallow this and super in static contexts.
581
595
  */
582
- noThisInStatic?: RuleConfiguration;
596
+ noThisInStatic?: RuleConfiguration_for_Null;
583
597
  /**
584
598
  * Disallow unnecessary catch clauses.
585
599
  */
586
- noUselessCatch?: RuleConfiguration;
600
+ noUselessCatch?: RuleConfiguration_for_Null;
587
601
  /**
588
602
  * Disallow unnecessary constructors.
589
603
  */
590
- noUselessConstructor?: RuleConfiguration;
604
+ noUselessConstructor?: RuleConfiguration_for_Null;
591
605
  /**
592
606
  * Disallow empty exports that don't change anything in a module file.
593
607
  */
594
- noUselessEmptyExport?: RuleConfiguration;
608
+ noUselessEmptyExport?: RuleConfiguration_for_Null;
595
609
  /**
596
610
  * Disallow unnecessary fragments
597
611
  */
598
- noUselessFragments?: RuleConfiguration;
612
+ noUselessFragments?: RuleConfiguration_for_Null;
599
613
  /**
600
614
  * Disallow unnecessary labels.
601
615
  */
602
- noUselessLabel?: RuleConfiguration;
616
+ noUselessLabel?: RuleConfiguration_for_Null;
603
617
  /**
604
618
  * Disallow renaming import, export, and destructured assignments to the same name.
605
619
  */
606
- noUselessRename?: RuleConfiguration;
620
+ noUselessRename?: RuleConfiguration_for_Null;
607
621
  /**
608
622
  * Disallow useless case in switch statements.
609
623
  */
610
- noUselessSwitchCase?: RuleConfiguration;
624
+ noUselessSwitchCase?: RuleConfiguration_for_Null;
611
625
  /**
612
626
  * Disallow useless this aliasing.
613
627
  */
614
- noUselessThisAlias?: RuleConfiguration;
628
+ noUselessThisAlias?: RuleConfiguration_for_Null;
615
629
  /**
616
630
  * Disallow using any or unknown as type constraint.
617
631
  */
618
- noUselessTypeConstraint?: RuleConfiguration;
632
+ noUselessTypeConstraint?: RuleConfiguration_for_Null;
619
633
  /**
620
634
  * Disallow the use of void operators, which is not a familiar operator.
621
635
  */
622
- noVoid?: RuleConfiguration;
636
+ noVoid?: RuleConfiguration_for_Null;
623
637
  /**
624
638
  * Disallow with statements in non-strict contexts.
625
639
  */
626
- noWith?: RuleConfiguration;
640
+ noWith?: RuleConfiguration_for_Null;
627
641
  /**
628
642
  * It enables the recommended rules for this group
629
643
  */
@@ -631,31 +645,31 @@ interface Complexity {
631
645
  /**
632
646
  * Use arrow functions over function expressions.
633
647
  */
634
- useArrowFunction?: RuleConfiguration;
648
+ useArrowFunction?: RuleConfiguration_for_Null;
635
649
  /**
636
650
  * Promotes the use of .flatMap() when map().flat() are used together.
637
651
  */
638
- useFlatMap?: RuleConfiguration;
652
+ useFlatMap?: RuleConfiguration_for_Null;
639
653
  /**
640
654
  * Enforce the usage of a literal access to properties over computed property access.
641
655
  */
642
- useLiteralKeys?: RuleConfiguration;
656
+ useLiteralKeys?: RuleConfiguration_for_Null;
643
657
  /**
644
658
  * Enforce using concise optional chain instead of chained logical expressions.
645
659
  */
646
- useOptionalChain?: RuleConfiguration;
660
+ useOptionalChain?: RuleConfiguration_for_Null;
647
661
  /**
648
662
  * Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
649
663
  */
650
- useRegexLiterals?: RuleConfiguration;
664
+ useRegexLiterals?: RuleConfiguration_for_Null;
651
665
  /**
652
666
  * Disallow number literal object member names which are not base10 or uses underscore as separator
653
667
  */
654
- useSimpleNumberKeys?: RuleConfiguration;
668
+ useSimpleNumberKeys?: RuleConfiguration_for_Null;
655
669
  /**
656
670
  * Discard redundant terms from logical expressions.
657
671
  */
658
- useSimplifiedLogicExpression?: RuleConfiguration;
672
+ useSimplifiedLogicExpression?: RuleConfiguration_for_Null;
659
673
  }
660
674
  interface Correctness {
661
675
  /**
@@ -665,115 +679,115 @@ interface Correctness {
665
679
  /**
666
680
  * Prevent passing of children as props.
667
681
  */
668
- noChildrenProp?: RuleConfiguration;
682
+ noChildrenProp?: RuleConfiguration_for_Null;
669
683
  /**
670
684
  * Prevents from having const variables being re-assigned.
671
685
  */
672
- noConstAssign?: RuleConfiguration;
686
+ noConstAssign?: RuleConfiguration_for_Null;
673
687
  /**
674
688
  * Disallow constant expressions in conditions
675
689
  */
676
- noConstantCondition?: RuleConfiguration;
690
+ noConstantCondition?: RuleConfiguration_for_Null;
677
691
  /**
678
692
  * Disallow returning a value from a constructor.
679
693
  */
680
- noConstructorReturn?: RuleConfiguration;
694
+ noConstructorReturn?: RuleConfiguration_for_Null;
681
695
  /**
682
696
  * Disallow empty character classes in regular expression literals.
683
697
  */
684
- noEmptyCharacterClassInRegex?: RuleConfiguration;
698
+ noEmptyCharacterClassInRegex?: RuleConfiguration_for_Null;
685
699
  /**
686
700
  * Disallows empty destructuring patterns.
687
701
  */
688
- noEmptyPattern?: RuleConfiguration;
702
+ noEmptyPattern?: RuleConfiguration_for_Null;
689
703
  /**
690
704
  * Disallow calling global object properties as functions
691
705
  */
692
- noGlobalObjectCalls?: RuleConfiguration;
706
+ noGlobalObjectCalls?: RuleConfiguration_for_Null;
693
707
  /**
694
708
  * Disallow function and var declarations that are accessible outside their block.
695
709
  */
696
- noInnerDeclarations?: RuleConfiguration;
710
+ noInnerDeclarations?: RuleConfiguration_for_Null;
697
711
  /**
698
712
  * Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
699
713
  */
700
- noInvalidConstructorSuper?: RuleConfiguration;
714
+ noInvalidConstructorSuper?: RuleConfiguration_for_Null;
701
715
  /**
702
716
  * Disallow new operators with global non-constructor functions.
703
717
  */
704
- noInvalidNewBuiltin?: RuleConfiguration;
718
+ noInvalidNewBuiltin?: RuleConfiguration_for_Null;
705
719
  /**
706
720
  * Disallow new operators with the Symbol object.
707
721
  */
708
- noNewSymbol?: RuleConfiguration;
722
+ noNewSymbol?: RuleConfiguration_for_Null;
709
723
  /**
710
724
  * Disallow \8 and \9 escape sequences in string literals.
711
725
  */
712
- noNonoctalDecimalEscape?: RuleConfiguration;
726
+ noNonoctalDecimalEscape?: RuleConfiguration_for_Null;
713
727
  /**
714
728
  * Disallow literal numbers that lose precision
715
729
  */
716
- noPrecisionLoss?: RuleConfiguration;
730
+ noPrecisionLoss?: RuleConfiguration_for_Null;
717
731
  /**
718
732
  * Prevent the usage of the return value of React.render.
719
733
  */
720
- noRenderReturnValue?: RuleConfiguration;
734
+ noRenderReturnValue?: RuleConfiguration_for_Null;
721
735
  /**
722
736
  * Disallow assignments where both sides are exactly the same.
723
737
  */
724
- noSelfAssign?: RuleConfiguration;
738
+ noSelfAssign?: RuleConfiguration_for_Null;
725
739
  /**
726
740
  * Disallow returning a value from a setter
727
741
  */
728
- noSetterReturn?: RuleConfiguration;
742
+ noSetterReturn?: RuleConfiguration_for_Null;
729
743
  /**
730
744
  * Disallow comparison of expressions modifying the string case with non-compliant value.
731
745
  */
732
- noStringCaseMismatch?: RuleConfiguration;
746
+ noStringCaseMismatch?: RuleConfiguration_for_Null;
733
747
  /**
734
748
  * Disallow lexical declarations in switch clauses.
735
749
  */
736
- noSwitchDeclarations?: RuleConfiguration;
750
+ noSwitchDeclarations?: RuleConfiguration_for_Null;
737
751
  /**
738
752
  * Prevents the usage of variables that haven't been declared inside the document.
739
753
  */
740
- noUndeclaredVariables?: RuleConfiguration;
754
+ noUndeclaredVariables?: RuleConfiguration_for_Null;
741
755
  /**
742
756
  * Avoid using unnecessary continue.
743
757
  */
744
- noUnnecessaryContinue?: RuleConfiguration;
758
+ noUnnecessaryContinue?: RuleConfiguration_for_Null;
745
759
  /**
746
760
  * Disallow unreachable code
747
761
  */
748
- noUnreachable?: RuleConfiguration;
762
+ noUnreachable?: RuleConfiguration_for_Null;
749
763
  /**
750
764
  * 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
751
765
  */
752
- noUnreachableSuper?: RuleConfiguration;
766
+ noUnreachableSuper?: RuleConfiguration_for_Null;
753
767
  /**
754
768
  * Disallow control flow statements in finally blocks.
755
769
  */
756
- noUnsafeFinally?: RuleConfiguration;
770
+ noUnsafeFinally?: RuleConfiguration_for_Null;
757
771
  /**
758
772
  * Disallow the use of optional chaining in contexts where the undefined value is not allowed.
759
773
  */
760
- noUnsafeOptionalChaining?: RuleConfiguration;
774
+ noUnsafeOptionalChaining?: RuleConfiguration_for_Null;
761
775
  /**
762
776
  * Disallow unused labels.
763
777
  */
764
- noUnusedLabels?: RuleConfiguration;
778
+ noUnusedLabels?: RuleConfiguration_for_Null;
765
779
  /**
766
780
  * Disallow unused variables.
767
781
  */
768
- noUnusedVariables?: RuleConfiguration;
782
+ noUnusedVariables?: RuleConfiguration_for_Null;
769
783
  /**
770
784
  * This rules prevents void elements (AKA self-closing elements) from having children.
771
785
  */
772
- noVoidElementsWithChildren?: RuleConfiguration;
786
+ noVoidElementsWithChildren?: RuleConfiguration_for_Null;
773
787
  /**
774
788
  * Disallow returning a value from a function with the return type 'void'
775
789
  */
776
- noVoidTypeReturn?: RuleConfiguration;
790
+ noVoidTypeReturn?: RuleConfiguration_for_Null;
777
791
  /**
778
792
  * It enables the recommended rules for this group
779
793
  */
@@ -781,81 +795,129 @@ interface Correctness {
781
795
  /**
782
796
  * Enforce all dependencies are correctly specified in a React hook.
783
797
  */
784
- useExhaustiveDependencies?: RuleConfiguration;
798
+ useExhaustiveDependencies?: RuleConfiguration_for_HooksOptions;
785
799
  /**
786
800
  * Enforce that all React hooks are being called from the Top Level component functions.
787
801
  */
788
- useHookAtTopLevel?: RuleConfiguration;
802
+ useHookAtTopLevel?: RuleConfiguration_for_DeprecatedHooksOptions;
789
803
  /**
790
804
  * Require calls to isNaN() when checking for NaN.
791
805
  */
792
- useIsNan?: RuleConfiguration;
806
+ useIsNan?: RuleConfiguration_for_Null;
793
807
  /**
794
808
  * Enforce "for" loop update clause moving the counter in the right direction.
795
809
  */
796
- useValidForDirection?: RuleConfiguration;
810
+ useValidForDirection?: RuleConfiguration_for_Null;
797
811
  /**
798
812
  * Require generator functions to contain yield.
799
813
  */
800
- useYield?: RuleConfiguration;
814
+ useYield?: RuleConfiguration_for_Null;
801
815
  }
802
816
  interface Nursery {
803
817
  /**
804
818
  * It enables ALL rules for this group.
805
819
  */
806
820
  all?: boolean;
821
+ /**
822
+ * Disallow the use of barrel file.
823
+ */
824
+ noBarrelFile?: RuleConfiguration_for_Null;
825
+ /**
826
+ * Disallow the use of console.
827
+ */
828
+ noConsole?: RuleConfiguration_for_Null;
807
829
  /**
808
830
  * Disallow two keys with the same name inside a JSON object.
809
831
  */
810
- noDuplicateJsonKeys?: RuleConfiguration;
832
+ noDuplicateJsonKeys?: RuleConfiguration_for_Null;
833
+ /**
834
+ * A describe block should not contain duplicate hooks.
835
+ */
836
+ noDuplicateTestHooks?: RuleConfiguration_for_Null;
811
837
  /**
812
838
  * Disallow empty block statements and static blocks.
813
839
  */
814
- noEmptyBlockStatements?: RuleConfiguration;
840
+ noEmptyBlockStatements?: RuleConfiguration_for_Null;
815
841
  /**
816
842
  * Disallow empty type parameters in type aliases and interfaces.
817
843
  */
818
- noEmptyTypeParameters?: RuleConfiguration;
844
+ noEmptyTypeParameters?: RuleConfiguration_for_Null;
845
+ /**
846
+ * This rule enforces a maximum depth to nested describe() in test files.
847
+ */
848
+ noExcessiveNestedTestSuites?: RuleConfiguration_for_Null;
849
+ /**
850
+ * Disallow using export or module.exports in files containing tests
851
+ */
852
+ noExportsInTest?: RuleConfiguration_for_Null;
853
+ /**
854
+ * Disallow focused tests.
855
+ */
856
+ noFocusedTests?: RuleConfiguration_for_Null;
819
857
  /**
820
858
  * Disallow assignments to native objects and read-only global variables.
821
859
  */
822
- noGlobalAssign?: RuleConfiguration;
860
+ noGlobalAssign?: RuleConfiguration_for_Null;
823
861
  /**
824
862
  * Disallow the use of global eval().
825
863
  */
826
- noGlobalEval?: RuleConfiguration;
864
+ noGlobalEval?: RuleConfiguration_for_Null;
827
865
  /**
828
866
  * Disallow the use of variables and function parameters before their declaration
829
867
  */
830
- noInvalidUseBeforeDeclaration?: RuleConfiguration;
868
+ noInvalidUseBeforeDeclaration?: RuleConfiguration_for_Null;
831
869
  /**
832
870
  * Disallow characters made with multiple code points in character class syntax.
833
871
  */
834
- noMisleadingCharacterClass?: RuleConfiguration;
872
+ noMisleadingCharacterClass?: RuleConfiguration_for_Null;
873
+ /**
874
+ * Disallow the use of namespace imports.
875
+ */
876
+ noNamespaceImport?: RuleConfiguration_for_Null;
835
877
  /**
836
878
  * Forbid the use of Node.js builtin modules.
837
879
  */
838
- noNodejsModules?: RuleConfiguration;
880
+ noNodejsModules?: RuleConfiguration_for_Null;
881
+ /**
882
+ * Avoid re-export all.
883
+ */
884
+ noReExportAll?: RuleConfiguration_for_Null;
885
+ /**
886
+ * Disallow specified modules when loaded by import or require.
887
+ */
888
+ noRestrictedImports?: RuleConfiguration_for_RestrictedImportsOptions;
889
+ /**
890
+ * It detects possible "wrong" semicolons inside JSX elements.
891
+ */
892
+ noSemicolonInJsx?: RuleConfiguration_for_Null;
893
+ /**
894
+ * Disallow disabled tests.
895
+ */
896
+ noSkippedTests?: RuleConfiguration_for_Null;
839
897
  /**
840
898
  * Disallow then property.
841
899
  */
842
- noThenProperty?: RuleConfiguration;
900
+ noThenProperty?: RuleConfiguration_for_Null;
901
+ /**
902
+ * Disallow the use of dependencies that aren't specified in the package.json.
903
+ */
904
+ noUndeclaredDependencies?: RuleConfiguration_for_Null;
843
905
  /**
844
906
  * Disallow unused imports.
845
907
  */
846
- noUnusedImports?: RuleConfiguration;
908
+ noUnusedImports?: RuleConfiguration_for_Null;
847
909
  /**
848
910
  * Disallow unused private class members
849
911
  */
850
- noUnusedPrivateClassMembers?: RuleConfiguration;
912
+ noUnusedPrivateClassMembers?: RuleConfiguration_for_Null;
851
913
  /**
852
914
  * Disallow unnecessary nested block statements.
853
915
  */
854
- noUselessLoneBlockStatements?: RuleConfiguration;
916
+ noUselessLoneBlockStatements?: RuleConfiguration_for_Null;
855
917
  /**
856
918
  * Disallow ternary operators when simpler alternatives exist.
857
919
  */
858
- noUselessTernary?: RuleConfiguration;
920
+ noUselessTernary?: RuleConfiguration_for_Null;
859
921
  /**
860
922
  * It enables the recommended rules for this group
861
923
  */
@@ -863,47 +925,59 @@ interface Nursery {
863
925
  /**
864
926
  * Ensure async functions utilize await.
865
927
  */
866
- useAwait?: RuleConfiguration;
928
+ useAwait?: RuleConfiguration_for_Null;
867
929
  /**
868
930
  * Require consistently using either T[] or Array<T>
869
931
  */
870
- useConsistentArrayType?: RuleConfiguration;
932
+ useConsistentArrayType?: RuleConfiguration_for_ConsistentArrayTypeOptions;
871
933
  /**
872
934
  * Promotes the use of export type for types.
873
935
  */
874
- useExportType?: RuleConfiguration;
936
+ useExportType?: RuleConfiguration_for_Null;
875
937
  /**
876
938
  * Enforce naming conventions for JavaScript and TypeScript filenames.
877
939
  */
878
- useFilenamingConvention?: RuleConfiguration;
940
+ useFilenamingConvention?: RuleConfiguration_for_FilenamingConventionOptions;
879
941
  /**
880
942
  * This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
881
943
  */
882
- useForOf?: RuleConfiguration;
944
+ useForOf?: RuleConfiguration_for_Null;
883
945
  /**
884
946
  * Enforce the use of import type when an import only has specifiers with type qualifier.
885
947
  */
886
- useGroupedTypeImport?: RuleConfiguration;
948
+ useGroupedTypeImport?: RuleConfiguration_for_Null;
887
949
  /**
888
950
  * Disallows package private imports.
889
951
  */
890
- useImportRestrictions?: RuleConfiguration;
952
+ useImportRestrictions?: RuleConfiguration_for_Null;
891
953
  /**
892
954
  * Promotes the use of import type for types.
893
955
  */
894
- useImportType?: RuleConfiguration;
956
+ useImportType?: RuleConfiguration_for_Null;
957
+ /**
958
+ * Disallow missing key props in iterators/collection literals.
959
+ */
960
+ useJsxKeyInIterable?: RuleConfiguration_for_Null;
961
+ /**
962
+ * Promotes the usage of node:assert/strict over node:assert.
963
+ */
964
+ useNodeAssertStrict?: RuleConfiguration_for_Null;
895
965
  /**
896
966
  * Enforces using the node: protocol for Node.js builtin modules.
897
967
  */
898
- useNodejsImportProtocol?: RuleConfiguration;
968
+ useNodejsImportProtocol?: RuleConfiguration_for_Null;
899
969
  /**
900
970
  * Use the Number properties instead of global ones.
901
971
  */
902
- useNumberNamespace?: RuleConfiguration;
972
+ useNumberNamespace?: RuleConfiguration_for_Null;
903
973
  /**
904
974
  * Enforce using function types instead of object type with call signatures.
905
975
  */
906
- useShorthandFunctionType?: RuleConfiguration;
976
+ useShorthandFunctionType?: RuleConfiguration_for_Null;
977
+ /**
978
+ * Enforce the sorting of CSS utility classes.
979
+ */
980
+ useSortedClasses?: RuleConfiguration_for_UtilityClassSortingOptions;
907
981
  }
908
982
  interface Performance {
909
983
  /**
@@ -913,11 +987,11 @@ interface Performance {
913
987
  /**
914
988
  * Disallow the use of spread (...) syntax on accumulators.
915
989
  */
916
- noAccumulatingSpread?: RuleConfiguration;
990
+ noAccumulatingSpread?: RuleConfiguration_for_Null;
917
991
  /**
918
992
  * Disallow the use of the delete operator.
919
993
  */
920
- noDelete?: RuleConfiguration;
994
+ noDelete?: RuleConfiguration_for_Null;
921
995
  /**
922
996
  * It enables the recommended rules for this group
923
997
  */
@@ -931,11 +1005,11 @@ interface Security {
931
1005
  /**
932
1006
  * Prevent the usage of dangerous JSX props
933
1007
  */
934
- noDangerouslySetInnerHtml?: RuleConfiguration;
1008
+ noDangerouslySetInnerHtml?: RuleConfiguration_for_Null;
935
1009
  /**
936
1010
  * Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.
937
1011
  */
938
- noDangerouslySetInnerHtmlWithChildren?: RuleConfiguration;
1012
+ noDangerouslySetInnerHtmlWithChildren?: RuleConfiguration_for_Null;
939
1013
  /**
940
1014
  * It enables the recommended rules for this group
941
1015
  */
@@ -949,63 +1023,63 @@ interface Style {
949
1023
  /**
950
1024
  * Disallow the use of arguments.
951
1025
  */
952
- noArguments?: RuleConfiguration;
1026
+ noArguments?: RuleConfiguration_for_Null;
953
1027
  /**
954
1028
  * Disallow comma operator.
955
1029
  */
956
- noCommaOperator?: RuleConfiguration;
1030
+ noCommaOperator?: RuleConfiguration_for_Null;
957
1031
  /**
958
1032
  * Disallow default exports.
959
1033
  */
960
- noDefaultExport?: RuleConfiguration;
1034
+ noDefaultExport?: RuleConfiguration_for_Null;
961
1035
  /**
962
1036
  * Disallow implicit true values on JSX boolean attributes
963
1037
  */
964
- noImplicitBoolean?: RuleConfiguration;
1038
+ noImplicitBoolean?: RuleConfiguration_for_Null;
965
1039
  /**
966
1040
  * Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
967
1041
  */
968
- noInferrableTypes?: RuleConfiguration;
1042
+ noInferrableTypes?: RuleConfiguration_for_Null;
969
1043
  /**
970
1044
  * Disallow the use of TypeScript's namespaces.
971
1045
  */
972
- noNamespace?: RuleConfiguration;
1046
+ noNamespace?: RuleConfiguration_for_Null;
973
1047
  /**
974
1048
  * Disallow negation in the condition of an if statement if it has an else clause.
975
1049
  */
976
- noNegationElse?: RuleConfiguration;
1050
+ noNegationElse?: RuleConfiguration_for_Null;
977
1051
  /**
978
1052
  * Disallow non-null assertions using the ! postfix operator.
979
1053
  */
980
- noNonNullAssertion?: RuleConfiguration;
1054
+ noNonNullAssertion?: RuleConfiguration_for_Null;
981
1055
  /**
982
1056
  * Disallow reassigning function parameters.
983
1057
  */
984
- noParameterAssign?: RuleConfiguration;
1058
+ noParameterAssign?: RuleConfiguration_for_Null;
985
1059
  /**
986
1060
  * Disallow the use of parameter properties in class constructors.
987
1061
  */
988
- noParameterProperties?: RuleConfiguration;
1062
+ noParameterProperties?: RuleConfiguration_for_Null;
989
1063
  /**
990
1064
  * This rule allows you to specify global variable names that you don’t want to use in your application.
991
1065
  */
992
- noRestrictedGlobals?: RuleConfiguration;
1066
+ noRestrictedGlobals?: RuleConfiguration_for_RestrictedGlobalsOptions;
993
1067
  /**
994
1068
  * Disallow the use of constants which its value is the upper-case version of its name.
995
1069
  */
996
- noShoutyConstants?: RuleConfiguration;
1070
+ noShoutyConstants?: RuleConfiguration_for_Null;
997
1071
  /**
998
1072
  * Disallow template literals if interpolation and special-character handling are not needed
999
1073
  */
1000
- noUnusedTemplateLiteral?: RuleConfiguration;
1074
+ noUnusedTemplateLiteral?: RuleConfiguration_for_Null;
1001
1075
  /**
1002
1076
  * Disallow else block when the if block breaks early.
1003
1077
  */
1004
- noUselessElse?: RuleConfiguration;
1078
+ noUselessElse?: RuleConfiguration_for_Null;
1005
1079
  /**
1006
1080
  * Disallow the use of var
1007
1081
  */
1008
- noVar?: RuleConfiguration;
1082
+ noVar?: RuleConfiguration_for_Null;
1009
1083
  /**
1010
1084
  * It enables the recommended rules for this group
1011
1085
  */
@@ -1013,75 +1087,75 @@ interface Style {
1013
1087
  /**
1014
1088
  * Enforce the use of as const over literal type and type annotation.
1015
1089
  */
1016
- useAsConstAssertion?: RuleConfiguration;
1090
+ useAsConstAssertion?: RuleConfiguration_for_Null;
1017
1091
  /**
1018
1092
  * Requires following curly brace conventions.
1019
1093
  */
1020
- useBlockStatements?: RuleConfiguration;
1094
+ useBlockStatements?: RuleConfiguration_for_Null;
1021
1095
  /**
1022
1096
  * Enforce using else if instead of nested if in else clauses.
1023
1097
  */
1024
- useCollapsedElseIf?: RuleConfiguration;
1098
+ useCollapsedElseIf?: RuleConfiguration_for_Null;
1025
1099
  /**
1026
1100
  * Require const declarations for variables that are never reassigned after declared.
1027
1101
  */
1028
- useConst?: RuleConfiguration;
1102
+ useConst?: RuleConfiguration_for_Null;
1029
1103
  /**
1030
1104
  * Enforce default function parameters and optional function parameters to be last.
1031
1105
  */
1032
- useDefaultParameterLast?: RuleConfiguration;
1106
+ useDefaultParameterLast?: RuleConfiguration_for_Null;
1033
1107
  /**
1034
1108
  * Require that each enum member value be explicitly initialized.
1035
1109
  */
1036
- useEnumInitializers?: RuleConfiguration;
1110
+ useEnumInitializers?: RuleConfiguration_for_Null;
1037
1111
  /**
1038
1112
  * Disallow the use of Math.pow in favor of the ** operator.
1039
1113
  */
1040
- useExponentiationOperator?: RuleConfiguration;
1114
+ useExponentiationOperator?: RuleConfiguration_for_Null;
1041
1115
  /**
1042
1116
  * This rule enforces the use of <>...</> over <Fragment>...</Fragment>.
1043
1117
  */
1044
- useFragmentSyntax?: RuleConfiguration;
1118
+ useFragmentSyntax?: RuleConfiguration_for_Null;
1045
1119
  /**
1046
1120
  * Require all enum members to be literal values.
1047
1121
  */
1048
- useLiteralEnumMembers?: RuleConfiguration;
1122
+ useLiteralEnumMembers?: RuleConfiguration_for_Null;
1049
1123
  /**
1050
1124
  * Enforce naming conventions for everything across a codebase.
1051
1125
  */
1052
- useNamingConvention?: RuleConfiguration;
1126
+ useNamingConvention?: RuleConfiguration_for_NamingConventionOptions;
1053
1127
  /**
1054
1128
  * Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals
1055
1129
  */
1056
- useNumericLiterals?: RuleConfiguration;
1130
+ useNumericLiterals?: RuleConfiguration_for_Null;
1057
1131
  /**
1058
1132
  * Prevent extra closing tags for components without children
1059
1133
  */
1060
- useSelfClosingElements?: RuleConfiguration;
1134
+ useSelfClosingElements?: RuleConfiguration_for_Null;
1061
1135
  /**
1062
1136
  * When expressing array types, this rule promotes the usage of T[] shorthand instead of Array<T>.
1063
1137
  */
1064
- useShorthandArrayType?: RuleConfiguration;
1138
+ useShorthandArrayType?: RuleConfiguration_for_Null;
1065
1139
  /**
1066
1140
  * Require assignment operator shorthand where possible.
1067
1141
  */
1068
- useShorthandAssign?: RuleConfiguration;
1142
+ useShorthandAssign?: RuleConfiguration_for_Null;
1069
1143
  /**
1070
1144
  * Enforces switch clauses have a single statement, emits a quick fix wrapping the statements in a block.
1071
1145
  */
1072
- useSingleCaseStatement?: RuleConfiguration;
1146
+ useSingleCaseStatement?: RuleConfiguration_for_Null;
1073
1147
  /**
1074
1148
  * Disallow multiple variable declarations in the same variable statement
1075
1149
  */
1076
- useSingleVarDeclarator?: RuleConfiguration;
1150
+ useSingleVarDeclarator?: RuleConfiguration_for_Null;
1077
1151
  /**
1078
1152
  * Prefer template literals over string concatenation.
1079
1153
  */
1080
- useTemplate?: RuleConfiguration;
1154
+ useTemplate?: RuleConfiguration_for_Null;
1081
1155
  /**
1082
1156
  * Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.
1083
1157
  */
1084
- useWhile?: RuleConfiguration;
1158
+ useWhile?: RuleConfiguration_for_Null;
1085
1159
  }
1086
1160
  interface Suspicious {
1087
1161
  /**
@@ -1089,165 +1163,165 @@ interface Suspicious {
1089
1163
  */
1090
1164
  all?: boolean;
1091
1165
  /**
1092
- * Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.
1166
+ * Use standard constants instead of approximated literals.
1093
1167
  */
1094
- noApproximativeNumericConstant?: RuleConfiguration;
1168
+ noApproximativeNumericConstant?: RuleConfiguration_for_Null;
1095
1169
  /**
1096
1170
  * Discourage the usage of Array index in keys.
1097
1171
  */
1098
- noArrayIndexKey?: RuleConfiguration;
1172
+ noArrayIndexKey?: RuleConfiguration_for_Null;
1099
1173
  /**
1100
1174
  * Disallow assignments in expressions.
1101
1175
  */
1102
- noAssignInExpressions?: RuleConfiguration;
1176
+ noAssignInExpressions?: RuleConfiguration_for_Null;
1103
1177
  /**
1104
1178
  * Disallows using an async function as a Promise executor.
1105
1179
  */
1106
- noAsyncPromiseExecutor?: RuleConfiguration;
1180
+ noAsyncPromiseExecutor?: RuleConfiguration_for_Null;
1107
1181
  /**
1108
1182
  * Disallow reassigning exceptions in catch clauses.
1109
1183
  */
1110
- noCatchAssign?: RuleConfiguration;
1184
+ noCatchAssign?: RuleConfiguration_for_Null;
1111
1185
  /**
1112
1186
  * Disallow reassigning class members.
1113
1187
  */
1114
- noClassAssign?: RuleConfiguration;
1188
+ noClassAssign?: RuleConfiguration_for_Null;
1115
1189
  /**
1116
1190
  * Prevent comments from being inserted as text nodes
1117
1191
  */
1118
- noCommentText?: RuleConfiguration;
1192
+ noCommentText?: RuleConfiguration_for_Null;
1119
1193
  /**
1120
1194
  * Disallow comparing against -0
1121
1195
  */
1122
- noCompareNegZero?: RuleConfiguration;
1196
+ noCompareNegZero?: RuleConfiguration_for_Null;
1123
1197
  /**
1124
1198
  * Disallow labeled statements that are not loops.
1125
1199
  */
1126
- noConfusingLabels?: RuleConfiguration;
1200
+ noConfusingLabels?: RuleConfiguration_for_Null;
1127
1201
  /**
1128
1202
  * Disallow void type outside of generic or return types.
1129
1203
  */
1130
- noConfusingVoidType?: RuleConfiguration;
1204
+ noConfusingVoidType?: RuleConfiguration_for_Null;
1131
1205
  /**
1132
1206
  * Disallow the use of console.log
1133
1207
  */
1134
- noConsoleLog?: RuleConfiguration;
1208
+ noConsoleLog?: RuleConfiguration_for_Null;
1135
1209
  /**
1136
1210
  * Disallow TypeScript const enum
1137
1211
  */
1138
- noConstEnum?: RuleConfiguration;
1212
+ noConstEnum?: RuleConfiguration_for_Null;
1139
1213
  /**
1140
1214
  * Prevents from having control characters and some escape sequences that match control characters in regular expressions.
1141
1215
  */
1142
- noControlCharactersInRegex?: RuleConfiguration;
1216
+ noControlCharactersInRegex?: RuleConfiguration_for_Null;
1143
1217
  /**
1144
1218
  * Disallow the use of debugger
1145
1219
  */
1146
- noDebugger?: RuleConfiguration;
1220
+ noDebugger?: RuleConfiguration_for_Null;
1147
1221
  /**
1148
1222
  * Require the use of === and !==
1149
1223
  */
1150
- noDoubleEquals?: RuleConfiguration;
1224
+ noDoubleEquals?: RuleConfiguration_for_Null;
1151
1225
  /**
1152
1226
  * Disallow duplicate case labels.
1153
1227
  */
1154
- noDuplicateCase?: RuleConfiguration;
1228
+ noDuplicateCase?: RuleConfiguration_for_Null;
1155
1229
  /**
1156
1230
  * Disallow duplicate class members.
1157
1231
  */
1158
- noDuplicateClassMembers?: RuleConfiguration;
1232
+ noDuplicateClassMembers?: RuleConfiguration_for_Null;
1159
1233
  /**
1160
1234
  * Prevents JSX properties to be assigned multiple times.
1161
1235
  */
1162
- noDuplicateJsxProps?: RuleConfiguration;
1236
+ noDuplicateJsxProps?: RuleConfiguration_for_Null;
1163
1237
  /**
1164
1238
  * Prevents object literals having more than one property declaration for the same name.
1165
1239
  */
1166
- noDuplicateObjectKeys?: RuleConfiguration;
1240
+ noDuplicateObjectKeys?: RuleConfiguration_for_Null;
1167
1241
  /**
1168
1242
  * Disallow duplicate function parameter name.
1169
1243
  */
1170
- noDuplicateParameters?: RuleConfiguration;
1244
+ noDuplicateParameters?: RuleConfiguration_for_Null;
1171
1245
  /**
1172
1246
  * Disallow the declaration of empty interfaces.
1173
1247
  */
1174
- noEmptyInterface?: RuleConfiguration;
1248
+ noEmptyInterface?: RuleConfiguration_for_Null;
1175
1249
  /**
1176
1250
  * Disallow the any type usage.
1177
1251
  */
1178
- noExplicitAny?: RuleConfiguration;
1252
+ noExplicitAny?: RuleConfiguration_for_Null;
1179
1253
  /**
1180
1254
  * Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.
1181
1255
  */
1182
- noExtraNonNullAssertion?: RuleConfiguration;
1256
+ noExtraNonNullAssertion?: RuleConfiguration_for_Null;
1183
1257
  /**
1184
1258
  * Disallow fallthrough of switch clauses.
1185
1259
  */
1186
- noFallthroughSwitchClause?: RuleConfiguration;
1260
+ noFallthroughSwitchClause?: RuleConfiguration_for_Null;
1187
1261
  /**
1188
1262
  * Disallow reassigning function declarations.
1189
1263
  */
1190
- noFunctionAssign?: RuleConfiguration;
1264
+ noFunctionAssign?: RuleConfiguration_for_Null;
1191
1265
  /**
1192
1266
  * Use Number.isFinite instead of global isFinite.
1193
1267
  */
1194
- noGlobalIsFinite?: RuleConfiguration;
1268
+ noGlobalIsFinite?: RuleConfiguration_for_Null;
1195
1269
  /**
1196
1270
  * Use Number.isNaN instead of global isNaN.
1197
1271
  */
1198
- noGlobalIsNan?: RuleConfiguration;
1272
+ noGlobalIsNan?: RuleConfiguration_for_Null;
1199
1273
  /**
1200
1274
  * Disallow use of implicit any type on variable declarations.
1201
1275
  */
1202
- noImplicitAnyLet?: RuleConfiguration;
1276
+ noImplicitAnyLet?: RuleConfiguration_for_Null;
1203
1277
  /**
1204
1278
  * Disallow assigning to imported bindings
1205
1279
  */
1206
- noImportAssign?: RuleConfiguration;
1280
+ noImportAssign?: RuleConfiguration_for_Null;
1207
1281
  /**
1208
1282
  * Disallow labels that share a name with a variable
1209
1283
  */
1210
- noLabelVar?: RuleConfiguration;
1284
+ noLabelVar?: RuleConfiguration_for_Null;
1211
1285
  /**
1212
1286
  * Enforce proper usage of new and constructor.
1213
1287
  */
1214
- noMisleadingInstantiator?: RuleConfiguration;
1288
+ noMisleadingInstantiator?: RuleConfiguration_for_Null;
1215
1289
  /**
1216
1290
  * Disallow shorthand assign when variable appears on both sides.
1217
1291
  */
1218
- noMisrefactoredShorthandAssign?: RuleConfiguration;
1292
+ noMisrefactoredShorthandAssign?: RuleConfiguration_for_Null;
1219
1293
  /**
1220
1294
  * Disallow direct use of Object.prototype builtins.
1221
1295
  */
1222
- noPrototypeBuiltins?: RuleConfiguration;
1296
+ noPrototypeBuiltins?: RuleConfiguration_for_Null;
1223
1297
  /**
1224
1298
  * Disallow variable, function, class, and type redeclarations in the same scope.
1225
1299
  */
1226
- noRedeclare?: RuleConfiguration;
1300
+ noRedeclare?: RuleConfiguration_for_Null;
1227
1301
  /**
1228
1302
  * Prevents from having redundant "use strict".
1229
1303
  */
1230
- noRedundantUseStrict?: RuleConfiguration;
1304
+ noRedundantUseStrict?: RuleConfiguration_for_Null;
1231
1305
  /**
1232
1306
  * Disallow comparisons where both sides are exactly the same.
1233
1307
  */
1234
- noSelfCompare?: RuleConfiguration;
1308
+ noSelfCompare?: RuleConfiguration_for_Null;
1235
1309
  /**
1236
1310
  * Disallow identifiers from shadowing restricted names.
1237
1311
  */
1238
- noShadowRestrictedNames?: RuleConfiguration;
1312
+ noShadowRestrictedNames?: RuleConfiguration_for_Null;
1239
1313
  /**
1240
1314
  * Disallow sparse arrays
1241
1315
  */
1242
- noSparseArray?: RuleConfiguration;
1316
+ noSparseArray?: RuleConfiguration_for_Null;
1243
1317
  /**
1244
1318
  * Disallow unsafe declaration merging between interfaces and classes.
1245
1319
  */
1246
- noUnsafeDeclarationMerging?: RuleConfiguration;
1320
+ noUnsafeDeclarationMerging?: RuleConfiguration_for_Null;
1247
1321
  /**
1248
1322
  * Disallow using unsafe negation.
1249
1323
  */
1250
- noUnsafeNegation?: RuleConfiguration;
1324
+ noUnsafeNegation?: RuleConfiguration_for_Null;
1251
1325
  /**
1252
1326
  * It enables the recommended rules for this group
1253
1327
  */
@@ -1255,25 +1329,29 @@ interface Suspicious {
1255
1329
  /**
1256
1330
  * Enforce default clauses in switch statements to be last
1257
1331
  */
1258
- useDefaultSwitchClauseLast?: RuleConfiguration;
1332
+ useDefaultSwitchClauseLast?: RuleConfiguration_for_Null;
1259
1333
  /**
1260
1334
  * Enforce get methods to always return a value.
1261
1335
  */
1262
- useGetterReturn?: RuleConfiguration;
1336
+ useGetterReturn?: RuleConfiguration_for_Null;
1263
1337
  /**
1264
1338
  * Use Array.isArray() instead of instanceof Array.
1265
1339
  */
1266
- useIsArray?: RuleConfiguration;
1340
+ useIsArray?: RuleConfiguration_for_Null;
1267
1341
  /**
1268
1342
  * Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
1269
1343
  */
1270
- useNamespaceKeyword?: RuleConfiguration;
1344
+ useNamespaceKeyword?: RuleConfiguration_for_Null;
1271
1345
  /**
1272
1346
  * This rule verifies the result of typeof $expr unary expressions is being compared to valid values, either string literals containing valid type names or other typeof expressions
1273
1347
  */
1274
- useValidTypeof?: RuleConfiguration;
1348
+ useValidTypeof?: RuleConfiguration_for_Null;
1275
1349
  }
1276
1350
  interface OverrideFormatterConfiguration {
1351
+ /**
1352
+ * The attribute position style.
1353
+ */
1354
+ attributePosition?: AttributePosition;
1277
1355
  enabled?: boolean;
1278
1356
  /**
1279
1357
  * Stores whether formatting should be allowed to proceed if a given file has syntax errors
@@ -1316,27 +1394,107 @@ interface OverrideOrganizeImportsConfiguration {
1316
1394
  */
1317
1395
  enabled?: boolean;
1318
1396
  }
1319
- type RuleConfiguration = RulePlainConfiguration | RuleWithOptions;
1397
+ type RuleConfiguration_for_Null =
1398
+ | RulePlainConfiguration
1399
+ | RuleWithOptions_for_Null;
1400
+ type RuleConfiguration_for_ValidAriaRoleOptions =
1401
+ | RulePlainConfiguration
1402
+ | RuleWithOptions_for_ValidAriaRoleOptions;
1403
+ type RuleConfiguration_for_ComplexityOptions =
1404
+ | RulePlainConfiguration
1405
+ | RuleWithOptions_for_ComplexityOptions;
1406
+ type RuleConfiguration_for_HooksOptions =
1407
+ | RulePlainConfiguration
1408
+ | RuleWithOptions_for_HooksOptions;
1409
+ type RuleConfiguration_for_DeprecatedHooksOptions =
1410
+ | RulePlainConfiguration
1411
+ | RuleWithOptions_for_DeprecatedHooksOptions;
1412
+ type RuleConfiguration_for_RestrictedImportsOptions =
1413
+ | RulePlainConfiguration
1414
+ | RuleWithOptions_for_RestrictedImportsOptions;
1415
+ type RuleConfiguration_for_ConsistentArrayTypeOptions =
1416
+ | RulePlainConfiguration
1417
+ | RuleWithOptions_for_ConsistentArrayTypeOptions;
1418
+ type RuleConfiguration_for_FilenamingConventionOptions =
1419
+ | RulePlainConfiguration
1420
+ | RuleWithOptions_for_FilenamingConventionOptions;
1421
+ type RuleConfiguration_for_UtilityClassSortingOptions =
1422
+ | RulePlainConfiguration
1423
+ | RuleWithOptions_for_UtilityClassSortingOptions;
1424
+ type RuleConfiguration_for_RestrictedGlobalsOptions =
1425
+ | RulePlainConfiguration
1426
+ | RuleWithOptions_for_RestrictedGlobalsOptions;
1427
+ type RuleConfiguration_for_NamingConventionOptions =
1428
+ | RulePlainConfiguration
1429
+ | RuleWithOptions_for_NamingConventionOptions;
1320
1430
  type RulePlainConfiguration = "warn" | "error" | "off";
1321
- interface RuleWithOptions {
1431
+ interface RuleWithOptions_for_Null {
1432
+ level: RulePlainConfiguration;
1433
+ options: null;
1434
+ }
1435
+ interface RuleWithOptions_for_ValidAriaRoleOptions {
1436
+ level: RulePlainConfiguration;
1437
+ options: ValidAriaRoleOptions;
1438
+ }
1439
+ interface RuleWithOptions_for_ComplexityOptions {
1440
+ level: RulePlainConfiguration;
1441
+ options: ComplexityOptions;
1442
+ }
1443
+ interface RuleWithOptions_for_HooksOptions {
1444
+ level: RulePlainConfiguration;
1445
+ options: HooksOptions;
1446
+ }
1447
+ interface RuleWithOptions_for_DeprecatedHooksOptions {
1448
+ level: RulePlainConfiguration;
1449
+ options: DeprecatedHooksOptions;
1450
+ }
1451
+ interface RuleWithOptions_for_RestrictedImportsOptions {
1452
+ level: RulePlainConfiguration;
1453
+ options: RestrictedImportsOptions;
1454
+ }
1455
+ interface RuleWithOptions_for_ConsistentArrayTypeOptions {
1456
+ level: RulePlainConfiguration;
1457
+ options: ConsistentArrayTypeOptions;
1458
+ }
1459
+ interface RuleWithOptions_for_FilenamingConventionOptions {
1322
1460
  level: RulePlainConfiguration;
1323
- options?: PossibleOptions;
1324
- }
1325
- type PossibleOptions =
1326
- | ComplexityOptions
1327
- | ConsistentArrayTypeOptions
1328
- | FilenamingConventionOptions
1329
- | HooksOptions
1330
- | DeprecatedHooksOptions
1331
- | NamingConventionOptions
1332
- | RestrictedGlobalsOptions
1333
- | ValidAriaRoleOptions;
1461
+ options: FilenamingConventionOptions;
1462
+ }
1463
+ interface RuleWithOptions_for_UtilityClassSortingOptions {
1464
+ level: RulePlainConfiguration;
1465
+ options: UtilityClassSortingOptions;
1466
+ }
1467
+ interface RuleWithOptions_for_RestrictedGlobalsOptions {
1468
+ level: RulePlainConfiguration;
1469
+ options: RestrictedGlobalsOptions;
1470
+ }
1471
+ interface RuleWithOptions_for_NamingConventionOptions {
1472
+ level: RulePlainConfiguration;
1473
+ options: NamingConventionOptions;
1474
+ }
1475
+ interface ValidAriaRoleOptions {
1476
+ allowInvalidRoles: string[];
1477
+ ignoreNonDom: boolean;
1478
+ }
1334
1479
  interface ComplexityOptions {
1335
1480
  /**
1336
1481
  * The maximum complexity score that we allow. Anything higher is considered excessive.
1337
1482
  */
1338
1483
  maxAllowedComplexity: number;
1339
1484
  }
1485
+ interface HooksOptions {
1486
+ /**
1487
+ * List of safe hooks
1488
+ */
1489
+ hooks: Hooks[];
1490
+ }
1491
+ interface DeprecatedHooksOptions {}
1492
+ interface RestrictedImportsOptions {
1493
+ /**
1494
+ * A list of names that should trigger the rule
1495
+ */
1496
+ paths: {};
1497
+ }
1340
1498
  interface ConsistentArrayTypeOptions {
1341
1499
  syntax: ConsistentArrayType;
1342
1500
  }
@@ -1345,40 +1503,45 @@ interface FilenamingConventionOptions {
1345
1503
  * Allowed cases for _TypeScript_ `enum` member names.
1346
1504
  */
1347
1505
  filenameCases: FilenameCases;
1506
+ /**
1507
+ * If `false`, then non-ASCII characters are allowed.
1508
+ */
1509
+ requireAscii: boolean;
1348
1510
  /**
1349
1511
  * If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
1350
1512
  */
1351
1513
  strictCase: boolean;
1352
1514
  }
1353
- interface HooksOptions {
1515
+ interface UtilityClassSortingOptions {
1354
1516
  /**
1355
- * List of safe hooks
1517
+ * Additional attributes that will be sorted.
1356
1518
  */
1357
- hooks: Hooks[];
1519
+ attributes?: string[];
1520
+ /**
1521
+ * Names of the functions or tagged templates that will be sorted.
1522
+ */
1523
+ functions?: string[];
1524
+ }
1525
+ interface RestrictedGlobalsOptions {
1526
+ /**
1527
+ * A list of names that should trigger the rule
1528
+ */
1529
+ deniedGlobals: string[];
1358
1530
  }
1359
- interface DeprecatedHooksOptions {}
1360
1531
  interface NamingConventionOptions {
1361
1532
  /**
1362
1533
  * Allowed cases for _TypeScript_ `enum` member names.
1363
1534
  */
1364
1535
  enumMemberCase: EnumMemberCase;
1365
1536
  /**
1366
- * If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
1537
+ * If `false`, then non-ASCII characters are allowed.
1367
1538
  */
1368
- strictCase: boolean;
1369
- }
1370
- interface RestrictedGlobalsOptions {
1539
+ requireAscii: boolean;
1371
1540
  /**
1372
- * A list of names that should trigger the rule
1541
+ * If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
1373
1542
  */
1374
- deniedGlobals?: string[];
1375
- }
1376
- interface ValidAriaRoleOptions {
1377
- allowedInvalidRoles: string[];
1378
- ignoreNonDom: boolean;
1543
+ strictCase: boolean;
1379
1544
  }
1380
- type ConsistentArrayType = "shorthand" | "generic";
1381
- type FilenameCases = FilenameCase[];
1382
1545
  interface Hooks {
1383
1546
  /**
1384
1547
  * The "position" of the closure function, starting from zero.
@@ -1395,6 +1558,8 @@ interface Hooks {
1395
1558
  */
1396
1559
  name: string;
1397
1560
  }
1561
+ type ConsistentArrayType = "shorthand" | "generic";
1562
+ type FilenameCases = FilenameCase[];
1398
1563
  type EnumMemberCase = "PascalCase" | "CONSTANT_CASE" | "camelCase";
1399
1564
  type FilenameCase =
1400
1565
  | "camelCase"
@@ -1402,61 +1567,85 @@ type FilenameCase =
1402
1567
  | "kebab-case"
1403
1568
  | "PascalCase"
1404
1569
  | "snake_case";
1405
- interface ProjectFeaturesParams {
1406
- manifest_path: RomePath;
1570
+ interface UpdateProjectParams {
1571
+ path: BiomePath;
1572
+ }
1573
+ interface OpenProjectParams {
1574
+ content: string;
1575
+ path: BiomePath;
1576
+ version: number;
1407
1577
  }
1408
- interface ProjectFeaturesResult {}
1409
1578
  interface OpenFileParams {
1410
1579
  content: string;
1411
- language_hint?: Language;
1412
- path: RomePath;
1580
+ document_file_source?: DocumentFileSource;
1581
+ path: BiomePath;
1413
1582
  version: number;
1414
1583
  }
1415
- type Language =
1416
- | "JavaScript"
1417
- | "JavaScriptReact"
1418
- | "TypeScript"
1419
- | "TypeScriptReact"
1420
- | "Json"
1421
- | "Jsonc"
1422
- | "Css"
1423
- | "Unknown";
1584
+ type DocumentFileSource =
1585
+ | "Unknown"
1586
+ | { Js: JsFileSource }
1587
+ | { Json: JsonFileSource }
1588
+ | { Css: CssFileSource };
1589
+ interface JsFileSource {
1590
+ /**
1591
+ * Used to mark if the source is being used for an Astro, Svelte or Vue file
1592
+ */
1593
+ embedding_kind: EmbeddingKind;
1594
+ language: Language;
1595
+ module_kind: ModuleKind;
1596
+ variant: LanguageVariant;
1597
+ version: LanguageVersion;
1598
+ }
1599
+ interface JsonFileSource {
1600
+ allow_trailing_comma: boolean;
1601
+ variant: JsonVariant;
1602
+ }
1603
+ interface CssFileSource {
1604
+ variant: CssVariant;
1605
+ }
1606
+ type EmbeddingKind = "Astro" | "Vue" | "Svelte" | "None";
1607
+ type Language = "JavaScript" | { TypeScript: { definition_file: boolean } };
1608
+ type ModuleKind = "Script" | "Module";
1609
+ type LanguageVariant = "Standard" | "StandardRestricted" | "Jsx";
1610
+ type LanguageVersion = "ES2022" | "ESNext";
1611
+ type JsonVariant = "Standard" | "Jsonc";
1612
+ type CssVariant = "Standard";
1424
1613
  interface ChangeFileParams {
1425
1614
  content: string;
1426
- path: RomePath;
1615
+ path: BiomePath;
1427
1616
  version: number;
1428
1617
  }
1429
1618
  interface CloseFileParams {
1430
- path: RomePath;
1619
+ path: BiomePath;
1431
1620
  }
1432
1621
  interface GetSyntaxTreeParams {
1433
- path: RomePath;
1622
+ path: BiomePath;
1434
1623
  }
1435
1624
  interface GetSyntaxTreeResult {
1436
1625
  ast: string;
1437
1626
  cst: string;
1438
1627
  }
1439
1628
  interface OrganizeImportsParams {
1440
- path: RomePath;
1629
+ path: BiomePath;
1441
1630
  }
1442
1631
  interface OrganizeImportsResult {
1443
1632
  code: string;
1444
1633
  }
1445
1634
  interface GetFileContentParams {
1446
- path: RomePath;
1635
+ path: BiomePath;
1447
1636
  }
1448
1637
  interface GetControlFlowGraphParams {
1449
1638
  cursor: TextSize;
1450
- path: RomePath;
1639
+ path: BiomePath;
1451
1640
  }
1452
1641
  type TextSize = number;
1453
1642
  interface GetFormatterIRParams {
1454
- path: RomePath;
1643
+ path: BiomePath;
1455
1644
  }
1456
1645
  interface PullDiagnosticsParams {
1457
1646
  categories: RuleCategories;
1458
1647
  max_diagnostics: number;
1459
- path: RomePath;
1648
+ path: BiomePath;
1460
1649
  }
1461
1650
  type RuleCategories = RuleCategory[];
1462
1651
  type RuleCategory = "Syntax" | "Lint" | "Action" | "Transformation";
@@ -1569,16 +1758,28 @@ type Category =
1569
1758
  | "lint/correctness/useValidForDirection"
1570
1759
  | "lint/correctness/useYield"
1571
1760
  | "lint/nursery/noApproximativeNumericConstant"
1761
+ | "lint/nursery/noBarrelFile"
1762
+ | "lint/nursery/noConsole"
1572
1763
  | "lint/nursery/noDuplicateJsonKeys"
1764
+ | "lint/nursery/noDuplicateTestHooks"
1573
1765
  | "lint/nursery/noEmptyBlockStatements"
1574
1766
  | "lint/nursery/noEmptyTypeParameters"
1767
+ | "lint/nursery/noExcessiveNestedTestSuites"
1768
+ | "lint/nursery/noExportsInTest"
1769
+ | "lint/nursery/noFocusedTests"
1575
1770
  | "lint/nursery/noGlobalAssign"
1576
1771
  | "lint/nursery/noGlobalEval"
1577
1772
  | "lint/nursery/noInvalidUseBeforeDeclaration"
1578
1773
  | "lint/nursery/noMisleadingCharacterClass"
1774
+ | "lint/nursery/noNamespaceImport"
1579
1775
  | "lint/nursery/noNodejsModules"
1776
+ | "lint/nursery/noReExportAll"
1777
+ | "lint/nursery/noRestrictedImports"
1778
+ | "lint/nursery/noSemicolonInJsx"
1779
+ | "lint/nursery/noSkippedTests"
1580
1780
  | "lint/nursery/noThenProperty"
1581
1781
  | "lint/nursery/noTypeOnlyImportAttributes"
1782
+ | "lint/nursery/noUndeclaredDependencies"
1582
1783
  | "lint/nursery/noUnusedImports"
1583
1784
  | "lint/nursery/noUnusedPrivateClassMembers"
1584
1785
  | "lint/nursery/noUselessLoneBlockStatements"
@@ -1592,9 +1793,12 @@ type Category =
1592
1793
  | "lint/nursery/useGroupedTypeImport"
1593
1794
  | "lint/nursery/useImportRestrictions"
1594
1795
  | "lint/nursery/useImportType"
1796
+ | "lint/nursery/useJsxKeyInIterable"
1797
+ | "lint/nursery/useNodeAssertStrict"
1595
1798
  | "lint/nursery/useNodejsImportProtocol"
1596
1799
  | "lint/nursery/useNumberNamespace"
1597
1800
  | "lint/nursery/useShorthandFunctionType"
1801
+ | "lint/nursery/useSortedClasses"
1598
1802
  | "lint/performance/noAccumulatingSpread"
1599
1803
  | "lint/performance/noDelete"
1600
1804
  | "lint/security/noDangerouslySetInnerHtml"
@@ -1773,7 +1977,7 @@ interface BacktraceSymbol {
1773
1977
  name?: string;
1774
1978
  }
1775
1979
  interface PullActionsParams {
1776
- path: RomePath;
1980
+ path: BiomePath;
1777
1981
  range: TextRange;
1778
1982
  }
1779
1983
  interface PullActionsResult {
@@ -1809,7 +2013,7 @@ type SourceActionKind =
1809
2013
  | { Other: string };
1810
2014
  type Applicability = "Always" | "MaybeIncorrect";
1811
2015
  interface FormatFileParams {
1812
- path: RomePath;
2016
+ path: BiomePath;
1813
2017
  }
1814
2018
  interface Printed {
1815
2019
  code: string;
@@ -1828,16 +2032,16 @@ interface SourceMarker {
1828
2032
  source: TextSize;
1829
2033
  }
1830
2034
  interface FormatRangeParams {
1831
- path: RomePath;
2035
+ path: BiomePath;
1832
2036
  range: TextRange;
1833
2037
  }
1834
2038
  interface FormatOnTypeParams {
1835
2039
  offset: TextSize;
1836
- path: RomePath;
2040
+ path: BiomePath;
1837
2041
  }
1838
2042
  interface FixFileParams {
1839
2043
  fix_file_mode: FixFileMode;
1840
- path: RomePath;
2044
+ path: BiomePath;
1841
2045
  should_format: boolean;
1842
2046
  }
1843
2047
  type FixFileMode = "SafeFixes" | "SafeAndUnsafeFixes";
@@ -1871,7 +2075,7 @@ interface FixAction {
1871
2075
  }
1872
2076
  interface RenameParams {
1873
2077
  new_name: string;
1874
- path: RomePath;
2078
+ path: BiomePath;
1875
2079
  symbol_at: TextSize;
1876
2080
  }
1877
2081
  interface RenameResult {