@biomejs/wasm-nodejs 2.3.15 → 2.4.0

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
@@ -2,36 +2,16 @@
2
2
  /* eslint-disable */
3
3
  interface SupportsFeatureParams {
4
4
  features: FeatureName;
5
+ inlineConfig?: Configuration;
6
+ /**
7
+ * Features that shouldn't be enabled
8
+ */
9
+ notRequestedFeatures?: FeatureName;
5
10
  path: BiomePath;
6
11
  projectKey: ProjectKey;
7
12
  skipIgnoreCheck?: boolean;
8
13
  }
9
14
  type FeatureName = FeatureKind[];
10
- type BiomePath = string;
11
- type ProjectKey = number;
12
- type FeatureKind =
13
- | "format"
14
- | "lint"
15
- | "search"
16
- | "assist"
17
- | "debug"
18
- | "htmlFullSupport";
19
- interface FileFeaturesResult {
20
- featuresSupported: FeaturesSupported;
21
- }
22
- type FeaturesSupported = { [K in FeatureKind]?: SupportKind };
23
- type SupportKind =
24
- | "supported"
25
- | "ignored"
26
- | "protected"
27
- | "featureNotEnabled"
28
- | "fileNotSupported";
29
- interface UpdateSettingsParams {
30
- configuration: Configuration;
31
- extendedConfigurations?: [BiomePath, Configuration][];
32
- projectKey: ProjectKey;
33
- workspaceDirectory?: BiomePath;
34
- }
35
15
  interface Configuration {
36
16
  /**
37
17
  * A field for the [JSON schema](https://json-schema.org/) specification
@@ -99,6 +79,15 @@ project. By default, this is `true`.
99
79
  */
100
80
  vcs?: VcsConfiguration;
101
81
  }
82
+ type BiomePath = string;
83
+ type ProjectKey = number;
84
+ type FeatureKind =
85
+ | "format"
86
+ | "lint"
87
+ | "search"
88
+ | "assist"
89
+ | "debug"
90
+ | "htmlFullSupport";
102
91
  type Schema = string;
103
92
  interface AssistConfiguration {
104
93
  /**
@@ -212,6 +201,19 @@ match these patterns.
212
201
  */
213
202
  lineWidth?: LineWidth;
214
203
  /**
204
+ * Whether to add a trailing newline at the end of the file.
205
+
206
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
207
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
208
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
209
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
210
+
211
+ Disable the option at your own risk.
212
+
213
+ Defaults to true.
214
+ */
215
+ trailingNewline?: TrailingNewline;
216
+ /**
215
217
  * Use any `.editorconfig` files to configure the formatter. Configuration
216
218
  in `biome.json` will override `.editorconfig` configuration.
217
219
 
@@ -268,6 +270,10 @@ interface JsConfiguration {
268
270
  * Assist options
269
271
  */
270
272
  assist?: JsAssistConfiguration;
273
+ /**
274
+ * Enables support for embedding snippets.
275
+ */
276
+ experimentalEmbeddedSnippetsEnabled?: Bool;
271
277
  /**
272
278
  * Formatting options
273
279
  */
@@ -398,6 +404,19 @@ interface CssFormatterConfiguration {
398
404
  * The type of quotes used in CSS code. Defaults to double.
399
405
  */
400
406
  quoteStyle?: QuoteStyle;
407
+ /**
408
+ * Whether to add a trailing newline at the end of the file.
409
+
410
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
411
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
412
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
413
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
414
+
415
+ Disable the option at your own risk.
416
+
417
+ Defaults to true.
418
+ */
419
+ trailingNewline?: TrailingNewline;
401
420
  }
402
421
  interface CssLinterConfiguration {
403
422
  /**
@@ -411,7 +430,8 @@ interface CssParserConfiguration {
411
430
  */
412
431
  allowWrongLineComments?: Bool;
413
432
  /**
414
- * Enables parsing of CSS Modules specific features.
433
+ * Enables parsing of CSS Modules specific features. Enable this feature only
434
+ when your files don't end in `.module.css`.
415
435
  */
416
436
  cssModules?: Bool;
417
437
  /**
@@ -428,6 +448,7 @@ type IndentStyle = "tab" | "space";
428
448
  type IndentWidth = number;
429
449
  type LineEnding = "lf" | "crlf" | "cr" | "auto";
430
450
  type LineWidth = number;
451
+ type TrailingNewline = boolean;
431
452
  interface GraphqlAssistConfiguration {
432
453
  /**
433
454
  * Control the formatter for GraphQL files.
@@ -463,6 +484,19 @@ interface GraphqlFormatterConfiguration {
463
484
  * The type of quotes used in GraphQL code. Defaults to double.
464
485
  */
465
486
  quoteStyle?: QuoteStyle;
487
+ /**
488
+ * Whether to add a trailing newline at the end of the file.
489
+
490
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
491
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
492
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
493
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
494
+
495
+ Disable the option at your own risk.
496
+
497
+ Defaults to true.
498
+ */
499
+ trailingNewline?: TrailingNewline;
466
500
  }
467
501
  interface GraphqlLinterConfiguration {
468
502
  /**
@@ -497,6 +531,19 @@ interface GritFormatterConfiguration {
497
531
  * What's the max width of a line applied to Grit files. Defaults to 80.
498
532
  */
499
533
  lineWidth?: LineWidth;
534
+ /**
535
+ * Whether to add a trailing newline at the end of the file.
536
+
537
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
538
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
539
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
540
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
541
+
542
+ Disable the option at your own risk.
543
+
544
+ Defaults to true.
545
+ */
546
+ trailingNewline?: TrailingNewline;
500
547
  }
501
548
  interface GritLinterConfiguration {
502
549
  /**
@@ -547,6 +594,19 @@ interface HtmlFormatterConfiguration {
547
594
  * Whether void elements should be self-closed. Defaults to never.
548
595
  */
549
596
  selfCloseVoidElements?: SelfCloseVoidElements;
597
+ /**
598
+ * Whether to add a trailing newline at the end of the file.
599
+
600
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
601
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
602
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
603
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
604
+
605
+ Disable the option at your own risk.
606
+
607
+ Defaults to true.
608
+ */
609
+ trailingNewline?: TrailingNewline;
550
610
  /**
551
611
  * Whether to account for whitespace sensitivity when formatting HTML (and its super languages). Defaults to "css".
552
612
  */
@@ -640,6 +700,19 @@ When formatting `package.json`, Biome will use `always` unless configured otherw
640
700
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "all".
641
701
  */
642
702
  trailingCommas?: JsTrailingCommas;
703
+ /**
704
+ * Whether to add a trailing newline at the end of the file.
705
+
706
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
707
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
708
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
709
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
710
+
711
+ Disable the option at your own risk.
712
+
713
+ Defaults to true.
714
+ */
715
+ trailingNewline?: TrailingNewline;
643
716
  }
644
717
  type JsxRuntime = "transparent" | "reactClassic";
645
718
  interface JsLinterConfiguration {
@@ -711,6 +784,19 @@ When formatting `package.json`, Biome will use `always` unless configured otherw
711
784
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "none".
712
785
  */
713
786
  trailingCommas?: JsonTrailingCommas;
787
+ /**
788
+ * Whether to add a trailing newline at the end of the file.
789
+
790
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
791
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
792
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
793
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
794
+
795
+ Disable the option at your own risk.
796
+
797
+ Defaults to true.
798
+ */
799
+ trailingNewline?: TrailingNewline;
714
800
  }
715
801
  interface JsonLinterConfiguration {
716
802
  /**
@@ -797,6 +883,11 @@ match these patterns.
797
883
  type PluginConfiguration = string;
798
884
  type VcsClientKind = "git";
799
885
  interface Source {
886
+ /**
887
+ * Remove duplicate CSS classes.
888
+ See https://biomejs.dev/assist/actions/no-duplicate-classes
889
+ */
890
+ noDuplicateClasses?: NoDuplicateClassesConfiguration;
800
891
  /**
801
892
  * Provides a code action to sort the imports and exports in the file using a built-in or custom order.
802
893
  See https://biomejs.dev/assist/actions/organize-imports
@@ -812,6 +903,11 @@ See https://biomejs.dev/assist/actions/use-sorted-attributes
812
903
  */
813
904
  useSortedAttributes?: UseSortedAttributesConfiguration;
814
905
  /**
906
+ * Sort interface members by key.
907
+ See https://biomejs.dev/assist/actions/use-sorted-interface-members
908
+ */
909
+ useSortedInterfaceMembers?: UseSortedInterfaceMembersConfiguration;
910
+ /**
815
911
  * Sort the keys of a JSON object in natural order.
816
912
  See https://biomejs.dev/assist/actions/use-sorted-keys
817
913
  */
@@ -841,7 +937,8 @@ type RuleDomain =
841
937
  | "vue"
842
938
  | "project"
843
939
  | "tailwind"
844
- | "turborepo";
940
+ | "turborepo"
941
+ | "types";
845
942
  type RuleDomainValue = "all" | "none" | "recommended";
846
943
  type SeverityOrA11y = GroupPlainConfiguration | A11y;
847
944
  type SeverityOrComplexity = GroupPlainConfiguration | Complexity;
@@ -915,6 +1012,19 @@ has syntax errors
915
1012
  * What's the max width of a line. Defaults to 80.
916
1013
  */
917
1014
  lineWidth?: LineWidth;
1015
+ /**
1016
+ * Whether to add a trailing newline at the end of the file.
1017
+
1018
+ Setting this option to `false` is **highly discouraged** because it could cause many problems with other tools:
1019
+ - <https://thoughtbot.com/blog/no-newline-at-end-of-file>
1020
+ - <https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804>
1021
+ - <https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files>
1022
+
1023
+ Disable the option at your own risk.
1024
+
1025
+ Defaults to true.
1026
+ */
1027
+ trailingNewline?: TrailingNewline;
918
1028
  }
919
1029
  type OverrideGlobs = Glob[];
920
1030
  interface OverrideLinterConfiguration {
@@ -931,12 +1041,18 @@ interface OverrideLinterConfiguration {
931
1041
  */
932
1042
  rules?: Rules;
933
1043
  }
1044
+ type NoDuplicateClassesConfiguration =
1045
+ | RuleAssistPlainConfiguration
1046
+ | RuleAssistWithNoDuplicateClassesOptions;
934
1047
  type OrganizeImportsConfiguration =
935
1048
  | RuleAssistPlainConfiguration
936
1049
  | RuleAssistWithOrganizeImportsOptions;
937
1050
  type UseSortedAttributesConfiguration =
938
1051
  | RuleAssistPlainConfiguration
939
1052
  | RuleAssistWithUseSortedAttributesOptions;
1053
+ type UseSortedInterfaceMembersConfiguration =
1054
+ | RuleAssistPlainConfiguration
1055
+ | RuleAssistWithUseSortedInterfaceMembersOptions;
940
1056
  type UseSortedKeysConfiguration =
941
1057
  | RuleAssistPlainConfiguration
942
1058
  | RuleAssistWithUseSortedKeysOptions;
@@ -946,7 +1062,7 @@ type UseSortedPropertiesConfiguration =
946
1062
  type GroupPlainConfiguration = "off" | "on" | "info" | "warn" | "error";
947
1063
  interface A11y {
948
1064
  /**
949
- * Enforce that the accessKey attribute is not used on any HTML element.
1065
+ * Enforce that the accesskey attribute is not used on any HTML element.
950
1066
  See https://biomejs.dev/linter/rules/no-access-key
951
1067
  */
952
1068
  noAccessKey?: NoAccessKeyConfiguration;
@@ -961,7 +1077,7 @@ See https://biomejs.dev/linter/rules/no-aria-unsupported-elements
961
1077
  */
962
1078
  noAriaUnsupportedElements?: NoAriaUnsupportedElementsConfiguration;
963
1079
  /**
964
- * Enforce that autoFocus prop is not used on elements.
1080
+ * Enforce that the autofocus attribute is not used on elements.
965
1081
  See https://biomejs.dev/linter/rules/no-autofocus
966
1082
  */
967
1083
  noAutofocus?: NoAutofocusConfiguration;
@@ -1001,7 +1117,7 @@ See https://biomejs.dev/linter/rules/no-noninteractive-tabindex
1001
1117
  */
1002
1118
  noNoninteractiveTabindex?: NoNoninteractiveTabindexConfiguration;
1003
1119
  /**
1004
- * Prevent the usage of positive integers on tabIndex property.
1120
+ * Prevent the usage of positive integers on tabindex attribute.
1005
1121
  See https://biomejs.dev/linter/rules/no-positive-tabindex
1006
1122
  */
1007
1123
  noPositiveTabindex?: NoPositiveTabindexConfiguration;
@@ -1055,7 +1171,7 @@ See https://biomejs.dev/linter/rules/use-aria-props-supported-by-role
1055
1171
  */
1056
1172
  useAriaPropsSupportedByRole?: UseAriaPropsSupportedByRoleConfiguration;
1057
1173
  /**
1058
- * Enforces the usage of the attribute type for the element button.
1174
+ * Enforces the usage and validity of the attribute type for the element button.
1059
1175
  See https://biomejs.dev/linter/rules/use-button-type
1060
1176
  */
1061
1177
  useButtonType?: UseButtonTypeConfiguration;
@@ -1217,6 +1333,11 @@ See https://biomejs.dev/linter/rules/no-useless-catch
1217
1333
  */
1218
1334
  noUselessCatch?: NoUselessCatchConfiguration;
1219
1335
  /**
1336
+ * Disallow unused catch bindings.
1337
+ See https://biomejs.dev/linter/rules/no-useless-catch-binding
1338
+ */
1339
+ noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1340
+ /**
1220
1341
  * Disallow unnecessary constructors.
1221
1342
  See https://biomejs.dev/linter/rules/no-useless-constructor
1222
1343
  */
@@ -1287,6 +1408,11 @@ See https://biomejs.dev/linter/rules/no-useless-type-constraint
1287
1408
  */
1288
1409
  noUselessTypeConstraint?: NoUselessTypeConstraintConfiguration;
1289
1410
  /**
1411
+ * Disallow the use of useless undefined.
1412
+ See https://biomejs.dev/linter/rules/no-useless-undefined
1413
+ */
1414
+ noUselessUndefined?: NoUselessUndefinedConfiguration;
1415
+ /**
1290
1416
  * Disallow initializing variables to undefined.
1291
1417
  See https://biomejs.dev/linter/rules/no-useless-undefined-initialization
1292
1418
  */
@@ -1326,6 +1452,11 @@ See https://biomejs.dev/linter/rules/use-literal-keys
1326
1452
  */
1327
1453
  useLiteralKeys?: UseLiteralKeysConfiguration;
1328
1454
  /**
1455
+ * Enforce a maximum number of parameters in function definitions.
1456
+ See https://biomejs.dev/linter/rules/use-max-params
1457
+ */
1458
+ useMaxParams?: UseMaxParamsConfiguration;
1459
+ /**
1329
1460
  * Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.
1330
1461
  See https://biomejs.dev/linter/rules/use-numeric-literals
1331
1462
  */
@@ -1448,6 +1579,11 @@ See https://biomejs.dev/linter/rules/no-nested-component-definitions
1448
1579
  */
1449
1580
  noNestedComponentDefinitions?: NoNestedComponentDefinitionsConfiguration;
1450
1581
  /**
1582
+ * Prevent client components from being async functions.
1583
+ See https://biomejs.dev/linter/rules/no-next-async-client-component
1584
+ */
1585
+ noNextAsyncClientComponent?: NoNextAsyncClientComponentConfiguration;
1586
+ /**
1451
1587
  * Forbid the use of Node.js builtin modules.
1452
1588
  See https://biomejs.dev/linter/rules/no-nodejs-modules
1453
1589
  */
@@ -1578,6 +1714,11 @@ See https://biomejs.dev/linter/rules/no-unreachable-super
1578
1714
  */
1579
1715
  noUnreachableSuper?: NoUnreachableSuperConfiguration;
1580
1716
  /**
1717
+ * Warn when importing non-existing exports.
1718
+ See https://biomejs.dev/linter/rules/no-unresolved-imports
1719
+ */
1720
+ noUnresolvedImports?: NoUnresolvedImportsConfiguration;
1721
+ /**
1581
1722
  * Disallow control flow statements in finally blocks.
1582
1723
  See https://biomejs.dev/linter/rules/no-unsafe-finally
1583
1724
  */
@@ -1622,6 +1763,31 @@ See https://biomejs.dev/linter/rules/no-void-elements-with-children
1622
1763
  See https://biomejs.dev/linter/rules/no-void-type-return
1623
1764
  */
1624
1765
  noVoidTypeReturn?: NoVoidTypeReturnConfiguration;
1766
+ /**
1767
+ * Enforce that Vue component data options are declared as functions.
1768
+ See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
1769
+ */
1770
+ noVueDataObjectDeclaration?: NoVueDataObjectDeclarationConfiguration;
1771
+ /**
1772
+ * Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
1773
+ See https://biomejs.dev/linter/rules/no-vue-duplicate-keys
1774
+ */
1775
+ noVueDuplicateKeys?: NoVueDuplicateKeysConfiguration;
1776
+ /**
1777
+ * Disallow reserved keys in Vue component data and computed properties.
1778
+ See https://biomejs.dev/linter/rules/no-vue-reserved-keys
1779
+ */
1780
+ noVueReservedKeys?: NoVueReservedKeysConfiguration;
1781
+ /**
1782
+ * Disallow reserved names to be used as props.
1783
+ See https://biomejs.dev/linter/rules/no-vue-reserved-props
1784
+ */
1785
+ noVueReservedProps?: NoVueReservedPropsConfiguration;
1786
+ /**
1787
+ * Disallow destructuring of props passed to setup in Vue projects.
1788
+ See https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss
1789
+ */
1790
+ noVueSetupPropsReactivityLoss?: NoVueSetupPropsReactivityLossConfiguration;
1625
1791
  /**
1626
1792
  * Enables the recommended rules for this group
1627
1793
  */
@@ -1677,6 +1843,16 @@ See https://biomejs.dev/linter/rules/use-qwik-classlist
1677
1843
  */
1678
1844
  useQwikClasslist?: UseQwikClasslistConfiguration;
1679
1845
  /**
1846
+ * Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
1847
+ See https://biomejs.dev/linter/rules/use-qwik-method-usage
1848
+ */
1849
+ useQwikMethodUsage?: UseQwikMethodUsageConfiguration;
1850
+ /**
1851
+ * Disallow unserializable expressions in Qwik dollar ($) scopes.
1852
+ See https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope
1853
+ */
1854
+ useQwikValidLexicalScope?: UseQwikValidLexicalScopeConfiguration;
1855
+ /**
1680
1856
  * Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
1681
1857
  See https://biomejs.dev/linter/rules/use-single-js-doc-asterisk
1682
1858
  */
@@ -1719,11 +1895,6 @@ See https://biomejs.dev/linter/rules/no-continue
1719
1895
  */
1720
1896
  noContinue?: NoContinueConfiguration;
1721
1897
  /**
1722
- * Restrict imports of deprecated exports.
1723
- See https://biomejs.dev/linter/rules/no-deprecated-imports
1724
- */
1725
- noDeprecatedImports?: NoDeprecatedImportsConfiguration;
1726
- /**
1727
1898
  * Disallow deprecated media types.
1728
1899
  See https://biomejs.dev/linter/rules/no-deprecated-media-type
1729
1900
  */
@@ -1744,11 +1915,6 @@ See https://biomejs.dev/linter/rules/no-duplicate-attributes
1744
1915
  */
1745
1916
  noDuplicateAttributes?: NoDuplicateAttributesConfiguration;
1746
1917
  /**
1747
- * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
1748
- See https://biomejs.dev/linter/rules/no-duplicate-dependencies
1749
- */
1750
- noDuplicateDependencies?: NoDuplicateDependenciesConfiguration;
1751
- /**
1752
1918
  * Require all enum value names to be unique.
1753
1919
  See https://biomejs.dev/linter/rules/no-duplicate-enum-value-names
1754
1920
  */
@@ -1784,11 +1950,6 @@ See https://biomejs.dev/linter/rules/no-duplicated-spread-props
1784
1950
  */
1785
1951
  noDuplicatedSpreadProps?: NoDuplicatedSpreadPropsConfiguration;
1786
1952
  /**
1787
- * Disallow empty sources.
1788
- See https://biomejs.dev/linter/rules/no-empty-source
1789
- */
1790
- noEmptySource?: NoEmptySourceConfiguration;
1791
- /**
1792
1953
  * Require the use of === or !== for comparison with null.
1793
1954
  See https://biomejs.dev/linter/rules/no-equals-to-null
1794
1955
  */
@@ -1824,21 +1985,11 @@ See https://biomejs.dev/linter/rules/no-hex-colors
1824
1985
  */
1825
1986
  noHexColors?: NoHexColorsConfiguration;
1826
1987
  /**
1827
- * Prevent import cycles.
1828
- See https://biomejs.dev/linter/rules/no-import-cycles
1829
- */
1830
- noImportCycles?: NoImportCyclesConfiguration;
1831
- /**
1832
1988
  * Disallows the usage of the unary operators ++ and --.
1833
1989
  See https://biomejs.dev/linter/rules/no-increment-decrement
1834
1990
  */
1835
1991
  noIncrementDecrement?: NoIncrementDecrementConfiguration;
1836
1992
  /**
1837
- * Disallow string literals inside JSX elements.
1838
- See https://biomejs.dev/linter/rules/no-jsx-literals
1839
- */
1840
- noJsxLiterals?: NoJsxLiteralsConfiguration;
1841
- /**
1842
1993
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
1843
1994
  See https://biomejs.dev/linter/rules/no-jsx-props-bind
1844
1995
  */
@@ -1869,11 +2020,6 @@ See https://biomejs.dev/linter/rules/no-nested-promises
1869
2020
  */
1870
2021
  noNestedPromises?: NoNestedPromisesConfiguration;
1871
2022
  /**
1872
- * Prevent client components from being async functions.
1873
- See https://biomejs.dev/linter/rules/no-next-async-client-component
1874
- */
1875
- noNextAsyncClientComponent?: NoNextAsyncClientComponentConfiguration;
1876
- /**
1877
2023
  * Disallow function parameters that are only used in recursive calls.
1878
2024
  See https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion
1879
2025
  */
@@ -1884,11 +2030,6 @@ See https://biomejs.dev/linter/rules/no-proto
1884
2030
  */
1885
2031
  noProto?: NoProtoConfiguration;
1886
2032
  /**
1887
- * Replaces usages of forwardRef with passing ref as a prop.
1888
- See https://biomejs.dev/linter/rules/no-react-forward-ref
1889
- */
1890
- noReactForwardRef?: NoReactForwardRefConfiguration;
1891
- /**
1892
2033
  * Checks if a default export exports the same symbol as a named export.
1893
2034
  See https://biomejs.dev/linter/rules/no-redundant-default-export
1894
2035
  */
@@ -1939,66 +2080,21 @@ See https://biomejs.dev/linter/rules/no-unnecessary-conditions
1939
2080
  */
1940
2081
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
1941
2082
  /**
1942
- * Warn when importing non-existing exports.
1943
- See https://biomejs.dev/linter/rules/no-unresolved-imports
1944
- */
1945
- noUnresolvedImports?: NoUnresolvedImportsConfiguration;
1946
- /**
1947
- * Disallow expression statements that are neither a function call nor an assignment.
1948
- See https://biomejs.dev/linter/rules/no-unused-expressions
1949
- */
1950
- noUnusedExpressions?: NoUnusedExpressionsConfiguration;
1951
- /**
1952
- * Disallow unused catch bindings.
1953
- See https://biomejs.dev/linter/rules/no-useless-catch-binding
1954
- */
1955
- noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1956
- /**
1957
2083
  * Disallow redundant return statements.
1958
2084
  See https://biomejs.dev/linter/rules/no-useless-return
1959
2085
  */
1960
2086
  noUselessReturn?: NoUselessReturnConfiguration;
1961
2087
  /**
1962
- * Disallow the use of useless undefined.
1963
- See https://biomejs.dev/linter/rules/no-useless-undefined
1964
- */
1965
- noUselessUndefined?: NoUselessUndefinedConfiguration;
1966
- /**
1967
2088
  * Disallows using arrow functions when defining a watcher.
1968
2089
  See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
1969
2090
  */
1970
2091
  noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
1971
2092
  /**
1972
- * Enforce that Vue component data options are declared as functions.
1973
- See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
1974
- */
1975
- noVueDataObjectDeclaration?: NoVueDataObjectDeclarationConfiguration;
1976
- /**
1977
- * Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
1978
- See https://biomejs.dev/linter/rules/no-vue-duplicate-keys
1979
- */
1980
- noVueDuplicateKeys?: NoVueDuplicateKeysConfiguration;
1981
- /**
1982
2093
  * Disallow the use of Vue Options API.
1983
2094
  See https://biomejs.dev/linter/rules/no-vue-options-api
1984
2095
  */
1985
2096
  noVueOptionsApi?: NoVueOptionsApiConfiguration;
1986
2097
  /**
1987
- * Disallow reserved keys in Vue component data and computed properties.
1988
- See https://biomejs.dev/linter/rules/no-vue-reserved-keys
1989
- */
1990
- noVueReservedKeys?: NoVueReservedKeysConfiguration;
1991
- /**
1992
- * Disallow reserved names to be used as props.
1993
- See https://biomejs.dev/linter/rules/no-vue-reserved-props
1994
- */
1995
- noVueReservedProps?: NoVueReservedPropsConfiguration;
1996
- /**
1997
- * Disallow destructuring of props passed to setup in Vue projects.
1998
- See https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss
1999
- */
2000
- noVueSetupPropsReactivityLoss?: NoVueSetupPropsReactivityLossConfiguration;
2001
- /**
2002
2098
  * Disallow using v-if and v-for directives on the same element.
2003
2099
  See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
2004
2100
  */
@@ -2018,11 +2114,6 @@ See https://biomejs.dev/linter/rules/use-await-thenable
2018
2114
  */
2019
2115
  useAwaitThenable?: UseAwaitThenableConfiguration;
2020
2116
  /**
2021
- * Enforce consistent arrow function bodies.
2022
- See https://biomejs.dev/linter/rules/use-consistent-arrow-return
2023
- */
2024
- useConsistentArrowReturn?: UseConsistentArrowReturnConfiguration;
2025
- /**
2026
2117
  * Disallow enums from having both number and string members.
2027
2118
  See https://biomejs.dev/linter/rules/use-consistent-enum-value-type
2028
2119
  */
@@ -2038,11 +2129,6 @@ See https://biomejs.dev/linter/rules/use-consistent-method-signatures
2038
2129
  */
2039
2130
  useConsistentMethodSignatures?: UseConsistentMethodSignaturesConfiguration;
2040
2131
  /**
2041
- * Require the @deprecated directive to specify a deletion date.
2042
- See https://biomejs.dev/linter/rules/use-deprecated-date
2043
- */
2044
- useDeprecatedDate?: UseDeprecatedDateConfiguration;
2045
- /**
2046
2132
  * Require destructuring from arrays and/or objects.
2047
2133
  See https://biomejs.dev/linter/rules/use-destructuring
2048
2134
  */
@@ -2093,21 +2179,6 @@ See https://biomejs.dev/linter/rules/use-lone-executable-definition
2093
2179
  */
2094
2180
  useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
2095
2181
  /**
2096
- * Enforce a maximum number of parameters in function definitions.
2097
- See https://biomejs.dev/linter/rules/use-max-params
2098
- */
2099
- useMaxParams?: UseMaxParamsConfiguration;
2100
- /**
2101
- * Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
2102
- See https://biomejs.dev/linter/rules/use-qwik-method-usage
2103
- */
2104
- useQwikMethodUsage?: UseQwikMethodUsageConfiguration;
2105
- /**
2106
- * Disallow unserializable expressions in Qwik dollar ($) scopes.
2107
- See https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope
2108
- */
2109
- useQwikValidLexicalScope?: UseQwikValidLexicalScopeConfiguration;
2110
- /**
2111
2182
  * Enforce RegExp#exec over String#match if no global flag is provided.
2112
2183
  See https://biomejs.dev/linter/rules/use-regexp-exec
2113
2184
  */
@@ -2367,6 +2438,11 @@ See https://biomejs.dev/linter/rules/no-inferrable-types
2367
2438
  */
2368
2439
  noInferrableTypes?: NoInferrableTypesConfiguration;
2369
2440
  /**
2441
+ * Disallow string literals inside JSX elements.
2442
+ See https://biomejs.dev/linter/rules/no-jsx-literals
2443
+ */
2444
+ noJsxLiterals?: NoJsxLiteralsConfiguration;
2445
+ /**
2370
2446
  * Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
2371
2447
  See https://biomejs.dev/linter/rules/no-magic-numbers
2372
2448
  */
@@ -2442,7 +2518,7 @@ See https://biomejs.dev/linter/rules/no-useless-else
2442
2518
  */
2443
2519
  noUselessElse?: NoUselessElseConfiguration;
2444
2520
  /**
2445
- * Disallow use of @value rule in css modules.
2521
+ * Disallow use of @value rule in CSS modules.
2446
2522
  See https://biomejs.dev/linter/rules/no-value-at-rule
2447
2523
  */
2448
2524
  noValueAtRule?: NoValueAtRuleConfiguration;
@@ -2496,9 +2572,14 @@ See https://biomejs.dev/linter/rules/use-consistent-array-type
2496
2572
  */
2497
2573
  useConsistentArrayType?: UseConsistentArrayTypeConfiguration;
2498
2574
  /**
2499
- * Enforce the use of new for all builtins, except String, Number and Boolean.
2500
- See https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation
2501
- */
2575
+ * Enforce consistent arrow function bodies.
2576
+ See https://biomejs.dev/linter/rules/use-consistent-arrow-return
2577
+ */
2578
+ useConsistentArrowReturn?: UseConsistentArrowReturnConfiguration;
2579
+ /**
2580
+ * Enforce the use of new for all builtins, except String, Number and Boolean.
2581
+ See https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation
2582
+ */
2502
2583
  useConsistentBuiltinInstantiation?: UseConsistentBuiltinInstantiationConfiguration;
2503
2584
  /**
2504
2585
  * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
@@ -2783,6 +2864,11 @@ See https://biomejs.dev/linter/rules/no-debugger
2783
2864
  */
2784
2865
  noDebugger?: NoDebuggerConfiguration;
2785
2866
  /**
2867
+ * Restrict imports of deprecated exports.
2868
+ See https://biomejs.dev/linter/rules/no-deprecated-imports
2869
+ */
2870
+ noDeprecatedImports?: NoDeprecatedImportsConfiguration;
2871
+ /**
2786
2872
  * Disallow direct assignments to document.cookie.
2787
2873
  See https://biomejs.dev/linter/rules/no-document-cookie
2788
2874
  */
@@ -2818,6 +2904,11 @@ See https://biomejs.dev/linter/rules/no-duplicate-custom-properties
2818
2904
  */
2819
2905
  noDuplicateCustomProperties?: NoDuplicateCustomPropertiesConfiguration;
2820
2906
  /**
2907
+ * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
2908
+ See https://biomejs.dev/linter/rules/no-duplicate-dependencies
2909
+ */
2910
+ noDuplicateDependencies?: NoDuplicateDependenciesConfiguration;
2911
+ /**
2821
2912
  * Disallow duplicate conditions in if-else-if chains.
2822
2913
  See https://biomejs.dev/linter/rules/no-duplicate-else-if
2823
2914
  */
@@ -2878,6 +2969,11 @@ See https://biomejs.dev/linter/rules/no-empty-interface
2878
2969
  */
2879
2970
  noEmptyInterface?: NoEmptyInterfaceConfiguration;
2880
2971
  /**
2972
+ * Disallow empty sources.
2973
+ See https://biomejs.dev/linter/rules/no-empty-source
2974
+ */
2975
+ noEmptySource?: NoEmptySourceConfiguration;
2976
+ /**
2881
2977
  * Disallow variables from evolving into any type through reassignments.
2882
2978
  See https://biomejs.dev/linter/rules/no-evolving-types
2883
2979
  */
@@ -2943,6 +3039,11 @@ See https://biomejs.dev/linter/rules/no-import-assign
2943
3039
  */
2944
3040
  noImportAssign?: NoImportAssignConfiguration;
2945
3041
  /**
3042
+ * Prevent import cycles.
3043
+ See https://biomejs.dev/linter/rules/no-import-cycles
3044
+ */
3045
+ noImportCycles?: NoImportCyclesConfiguration;
3046
+ /**
2946
3047
  * Disallow invalid !important within keyframe declarations.
2947
3048
  See https://biomejs.dev/linter/rules/no-important-in-keyframe
2948
3049
  */
@@ -2998,6 +3099,11 @@ See https://biomejs.dev/linter/rules/no-quickfix-biome
2998
3099
  */
2999
3100
  noQuickfixBiome?: NoQuickfixBiomeConfiguration;
3000
3101
  /**
3102
+ * Replaces usages of forwardRef with passing ref as a prop.
3103
+ See https://biomejs.dev/linter/rules/no-react-forward-ref
3104
+ */
3105
+ noReactForwardRef?: NoReactForwardRefConfiguration;
3106
+ /**
3001
3107
  * Prevents React-specific JSX properties from being used.
3002
3108
  See https://biomejs.dev/linter/rules/no-react-specific-props
3003
3109
  */
@@ -3078,6 +3184,11 @@ See https://biomejs.dev/linter/rules/no-unsafe-negation
3078
3184
  */
3079
3185
  noUnsafeNegation?: NoUnsafeNegationConfiguration;
3080
3186
  /**
3187
+ * Disallow expression statements that are neither a function call nor an assignment.
3188
+ See https://biomejs.dev/linter/rules/no-unused-expressions
3189
+ */
3190
+ noUnusedExpressions?: NoUnusedExpressionsConfiguration;
3191
+ /**
3081
3192
  * Disallow unnecessary escapes in string literals.
3082
3193
  See https://biomejs.dev/linter/rules/no-useless-escape-in-string
3083
3194
  */
@@ -3122,6 +3233,11 @@ See https://biomejs.dev/linter/rules/use-default-switch-clause-last
3122
3233
  */
3123
3234
  useDefaultSwitchClauseLast?: UseDefaultSwitchClauseLastConfiguration;
3124
3235
  /**
3236
+ * Require the @deprecated directive to specify a deletion date.
3237
+ See https://biomejs.dev/linter/rules/use-deprecated-date
3238
+ */
3239
+ useDeprecatedDate?: UseDeprecatedDateConfiguration;
3240
+ /**
3125
3241
  * Enforce passing a message value when creating a built-in error.
3126
3242
  See https://biomejs.dev/linter/rules/use-error-message
3127
3243
  */
@@ -3174,6 +3290,10 @@ See https://biomejs.dev/linter/rules/use-strict-mode
3174
3290
  }
3175
3291
  type Glob = string;
3176
3292
  type RuleAssistPlainConfiguration = "off" | "on";
3293
+ interface RuleAssistWithNoDuplicateClassesOptions {
3294
+ level: RuleAssistPlainConfiguration;
3295
+ options: NoDuplicateClassesOptions;
3296
+ }
3177
3297
  interface RuleAssistWithOrganizeImportsOptions {
3178
3298
  level: RuleAssistPlainConfiguration;
3179
3299
  options: OrganizeImportsOptions;
@@ -3182,6 +3302,10 @@ interface RuleAssistWithUseSortedAttributesOptions {
3182
3302
  level: RuleAssistPlainConfiguration;
3183
3303
  options: UseSortedAttributesOptions;
3184
3304
  }
3305
+ interface RuleAssistWithUseSortedInterfaceMembersOptions {
3306
+ level: RuleAssistPlainConfiguration;
3307
+ options: UseSortedInterfaceMembersOptions;
3308
+ }
3185
3309
  interface RuleAssistWithUseSortedKeysOptions {
3186
3310
  level: RuleAssistPlainConfiguration;
3187
3311
  options: UseSortedKeysOptions;
@@ -3347,6 +3471,9 @@ type NoThisInStaticConfiguration =
3347
3471
  type NoUselessCatchConfiguration =
3348
3472
  | RulePlainConfiguration
3349
3473
  | RuleWithNoUselessCatchOptions;
3474
+ type NoUselessCatchBindingConfiguration =
3475
+ | RulePlainConfiguration
3476
+ | RuleWithNoUselessCatchBindingOptions;
3350
3477
  type NoUselessConstructorConfiguration =
3351
3478
  | RulePlainConfiguration
3352
3479
  | RuleWithNoUselessConstructorOptions;
@@ -3389,6 +3516,9 @@ type NoUselessThisAliasConfiguration =
3389
3516
  type NoUselessTypeConstraintConfiguration =
3390
3517
  | RulePlainConfiguration
3391
3518
  | RuleWithNoUselessTypeConstraintOptions;
3519
+ type NoUselessUndefinedConfiguration =
3520
+ | RulePlainConfiguration
3521
+ | RuleWithNoUselessUndefinedOptions;
3392
3522
  type NoUselessUndefinedInitializationConfiguration =
3393
3523
  | RulePlainConfiguration
3394
3524
  | RuleWithNoUselessUndefinedInitializationOptions;
@@ -3408,6 +3538,9 @@ type UseIndexOfConfiguration =
3408
3538
  type UseLiteralKeysConfiguration =
3409
3539
  | RulePlainConfiguration
3410
3540
  | RuleWithUseLiteralKeysOptions;
3541
+ type UseMaxParamsConfiguration =
3542
+ | RulePlainConfiguration
3543
+ | RuleWithUseMaxParamsOptions;
3411
3544
  type UseNumericLiteralsConfiguration =
3412
3545
  | RulePlainConfiguration
3413
3546
  | RuleWithUseNumericLiteralsOptions;
@@ -3478,6 +3611,9 @@ type NoMissingVarFunctionConfiguration =
3478
3611
  type NoNestedComponentDefinitionsConfiguration =
3479
3612
  | RulePlainConfiguration
3480
3613
  | RuleWithNoNestedComponentDefinitionsOptions;
3614
+ type NoNextAsyncClientComponentConfiguration =
3615
+ | RulePlainConfiguration
3616
+ | RuleWithNoNextAsyncClientComponentOptions;
3481
3617
  type NoNodejsModulesConfiguration =
3482
3618
  | RulePlainConfiguration
3483
3619
  | RuleWithNoNodejsModulesOptions;
@@ -3556,6 +3692,9 @@ type NoUnreachableConfiguration =
3556
3692
  type NoUnreachableSuperConfiguration =
3557
3693
  | RulePlainConfiguration
3558
3694
  | RuleWithNoUnreachableSuperOptions;
3695
+ type NoUnresolvedImportsConfiguration =
3696
+ | RulePlainConfiguration
3697
+ | RuleWithNoUnresolvedImportsOptions;
3559
3698
  type NoUnsafeFinallyConfiguration =
3560
3699
  | RulePlainConfiguration
3561
3700
  | RuleWithNoUnsafeFinallyOptions;
@@ -3583,6 +3722,21 @@ type NoVoidElementsWithChildrenConfiguration =
3583
3722
  type NoVoidTypeReturnConfiguration =
3584
3723
  | RulePlainConfiguration
3585
3724
  | RuleWithNoVoidTypeReturnOptions;
3725
+ type NoVueDataObjectDeclarationConfiguration =
3726
+ | RulePlainConfiguration
3727
+ | RuleWithNoVueDataObjectDeclarationOptions;
3728
+ type NoVueDuplicateKeysConfiguration =
3729
+ | RulePlainConfiguration
3730
+ | RuleWithNoVueDuplicateKeysOptions;
3731
+ type NoVueReservedKeysConfiguration =
3732
+ | RulePlainConfiguration
3733
+ | RuleWithNoVueReservedKeysOptions;
3734
+ type NoVueReservedPropsConfiguration =
3735
+ | RulePlainConfiguration
3736
+ | RuleWithNoVueReservedPropsOptions;
3737
+ type NoVueSetupPropsReactivityLossConfiguration =
3738
+ | RulePlainConfiguration
3739
+ | RuleWithNoVueSetupPropsReactivityLossOptions;
3586
3740
  type UseExhaustiveDependenciesConfiguration =
3587
3741
  | RulePlainConfiguration
3588
3742
  | RuleWithUseExhaustiveDependenciesOptions;
@@ -3611,6 +3765,12 @@ type UseParseIntRadixConfiguration =
3611
3765
  type UseQwikClasslistConfiguration =
3612
3766
  | RulePlainConfiguration
3613
3767
  | RuleWithUseQwikClasslistOptions;
3768
+ type UseQwikMethodUsageConfiguration =
3769
+ | RulePlainConfiguration
3770
+ | RuleWithUseQwikMethodUsageOptions;
3771
+ type UseQwikValidLexicalScopeConfiguration =
3772
+ | RulePlainConfiguration
3773
+ | RuleWithUseQwikValidLexicalScopeOptions;
3614
3774
  type UseSingleJsDocAsteriskConfiguration =
3615
3775
  | RulePlainConfiguration
3616
3776
  | RuleWithUseSingleJsDocAsteriskOptions;
@@ -3633,9 +3793,6 @@ type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
3633
3793
  type NoContinueConfiguration =
3634
3794
  | RulePlainConfiguration
3635
3795
  | RuleWithNoContinueOptions;
3636
- type NoDeprecatedImportsConfiguration =
3637
- | RulePlainConfiguration
3638
- | RuleWithNoDeprecatedImportsOptions;
3639
3796
  type NoDeprecatedMediaTypeConfiguration =
3640
3797
  | RulePlainConfiguration
3641
3798
  | RuleWithNoDeprecatedMediaTypeOptions;
@@ -3648,9 +3805,6 @@ type NoDuplicateArgumentNamesConfiguration =
3648
3805
  type NoDuplicateAttributesConfiguration =
3649
3806
  | RulePlainConfiguration
3650
3807
  | RuleWithNoDuplicateAttributesOptions;
3651
- type NoDuplicateDependenciesConfiguration =
3652
- | RulePlainConfiguration
3653
- | RuleWithNoDuplicateDependenciesOptions;
3654
3808
  type NoDuplicateEnumValueNamesConfiguration =
3655
3809
  | RulePlainConfiguration
3656
3810
  | RuleWithNoDuplicateEnumValueNamesOptions;
@@ -3672,9 +3826,6 @@ type NoDuplicateVariableNamesConfiguration =
3672
3826
  type NoDuplicatedSpreadPropsConfiguration =
3673
3827
  | RulePlainConfiguration
3674
3828
  | RuleWithNoDuplicatedSpreadPropsOptions;
3675
- type NoEmptySourceConfiguration =
3676
- | RulePlainConfiguration
3677
- | RuleWithNoEmptySourceOptions;
3678
3829
  type NoEqualsToNullConfiguration =
3679
3830
  | RulePlainConfiguration
3680
3831
  | RuleWithNoEqualsToNullOptions;
@@ -3694,15 +3845,9 @@ type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
3694
3845
  type NoHexColorsConfiguration =
3695
3846
  | RulePlainConfiguration
3696
3847
  | RuleWithNoHexColorsOptions;
3697
- type NoImportCyclesConfiguration =
3698
- | RulePlainConfiguration
3699
- | RuleWithNoImportCyclesOptions;
3700
3848
  type NoIncrementDecrementConfiguration =
3701
3849
  | RulePlainConfiguration
3702
3850
  | RuleWithNoIncrementDecrementOptions;
3703
- type NoJsxLiteralsConfiguration =
3704
- | RulePlainConfiguration
3705
- | RuleWithNoJsxLiteralsOptions;
3706
3851
  type NoJsxPropsBindConfiguration =
3707
3852
  | RulePlainConfiguration
3708
3853
  | RuleWithNoJsxPropsBindOptions;
@@ -3721,16 +3866,10 @@ type NoMultiStrConfiguration =
3721
3866
  type NoNestedPromisesConfiguration =
3722
3867
  | RulePlainConfiguration
3723
3868
  | RuleWithNoNestedPromisesOptions;
3724
- type NoNextAsyncClientComponentConfiguration =
3725
- | RulePlainConfiguration
3726
- | RuleWithNoNextAsyncClientComponentOptions;
3727
3869
  type NoParametersOnlyUsedInRecursionConfiguration =
3728
3870
  | RulePlainConfiguration
3729
3871
  | RuleWithNoParametersOnlyUsedInRecursionOptions;
3730
3872
  type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
3731
- type NoReactForwardRefConfiguration =
3732
- | RulePlainConfiguration
3733
- | RuleWithNoReactForwardRefOptions;
3734
3873
  type NoRedundantDefaultExportConfiguration =
3735
3874
  | RulePlainConfiguration
3736
3875
  | RuleWithNoRedundantDefaultExportOptions;
@@ -3757,42 +3896,15 @@ type NoUnknownAttributeConfiguration =
3757
3896
  type NoUnnecessaryConditionsConfiguration =
3758
3897
  | RulePlainConfiguration
3759
3898
  | RuleWithNoUnnecessaryConditionsOptions;
3760
- type NoUnresolvedImportsConfiguration =
3761
- | RulePlainConfiguration
3762
- | RuleWithNoUnresolvedImportsOptions;
3763
- type NoUnusedExpressionsConfiguration =
3764
- | RulePlainConfiguration
3765
- | RuleWithNoUnusedExpressionsOptions;
3766
- type NoUselessCatchBindingConfiguration =
3767
- | RulePlainConfiguration
3768
- | RuleWithNoUselessCatchBindingOptions;
3769
3899
  type NoUselessReturnConfiguration =
3770
3900
  | RulePlainConfiguration
3771
3901
  | RuleWithNoUselessReturnOptions;
3772
- type NoUselessUndefinedConfiguration =
3773
- | RulePlainConfiguration
3774
- | RuleWithNoUselessUndefinedOptions;
3775
3902
  type NoVueArrowFuncInWatchConfiguration =
3776
3903
  | RulePlainConfiguration
3777
3904
  | RuleWithNoVueArrowFuncInWatchOptions;
3778
- type NoVueDataObjectDeclarationConfiguration =
3779
- | RulePlainConfiguration
3780
- | RuleWithNoVueDataObjectDeclarationOptions;
3781
- type NoVueDuplicateKeysConfiguration =
3782
- | RulePlainConfiguration
3783
- | RuleWithNoVueDuplicateKeysOptions;
3784
3905
  type NoVueOptionsApiConfiguration =
3785
3906
  | RulePlainConfiguration
3786
3907
  | RuleWithNoVueOptionsApiOptions;
3787
- type NoVueReservedKeysConfiguration =
3788
- | RulePlainConfiguration
3789
- | RuleWithNoVueReservedKeysOptions;
3790
- type NoVueReservedPropsConfiguration =
3791
- | RulePlainConfiguration
3792
- | RuleWithNoVueReservedPropsOptions;
3793
- type NoVueSetupPropsReactivityLossConfiguration =
3794
- | RulePlainConfiguration
3795
- | RuleWithNoVueSetupPropsReactivityLossOptions;
3796
3908
  type NoVueVIfWithVForConfiguration =
3797
3909
  | RulePlainConfiguration
3798
3910
  | RuleWithNoVueVIfWithVForOptions;
@@ -3802,9 +3914,6 @@ type UseArraySortCompareConfiguration =
3802
3914
  type UseAwaitThenableConfiguration =
3803
3915
  | RulePlainConfiguration
3804
3916
  | RuleWithUseAwaitThenableOptions;
3805
- type UseConsistentArrowReturnConfiguration =
3806
- | RulePlainConfiguration
3807
- | RuleWithUseConsistentArrowReturnOptions;
3808
3917
  type UseConsistentEnumValueTypeConfiguration =
3809
3918
  | RulePlainConfiguration
3810
3919
  | RuleWithUseConsistentEnumValueTypeOptions;
@@ -3814,9 +3923,6 @@ type UseConsistentGraphqlDescriptionsConfiguration =
3814
3923
  type UseConsistentMethodSignaturesConfiguration =
3815
3924
  | RulePlainConfiguration
3816
3925
  | RuleWithUseConsistentMethodSignaturesOptions;
3817
- type UseDeprecatedDateConfiguration =
3818
- | RulePlainConfiguration
3819
- | RuleWithUseDeprecatedDateOptions;
3820
3926
  type UseDestructuringConfiguration =
3821
3927
  | RulePlainConfiguration
3822
3928
  | RuleWithUseDestructuringOptions;
@@ -3845,15 +3951,6 @@ type UseLoneAnonymousOperationConfiguration =
3845
3951
  type UseLoneExecutableDefinitionConfiguration =
3846
3952
  | RulePlainConfiguration
3847
3953
  | RuleWithUseLoneExecutableDefinitionOptions;
3848
- type UseMaxParamsConfiguration =
3849
- | RulePlainConfiguration
3850
- | RuleWithUseMaxParamsOptions;
3851
- type UseQwikMethodUsageConfiguration =
3852
- | RulePlainConfiguration
3853
- | RuleWithUseQwikMethodUsageOptions;
3854
- type UseQwikValidLexicalScopeConfiguration =
3855
- | RulePlainConfiguration
3856
- | RuleWithUseQwikValidLexicalScopeOptions;
3857
3954
  type UseRegexpExecConfiguration =
3858
3955
  | RulePlainConfiguration
3859
3956
  | RuleWithUseRegexpExecOptions;
@@ -3993,6 +4090,9 @@ type NoImplicitBooleanConfiguration =
3993
4090
  type NoInferrableTypesConfiguration =
3994
4091
  | RulePlainConfiguration
3995
4092
  | RuleWithNoInferrableTypesOptions;
4093
+ type NoJsxLiteralsConfiguration =
4094
+ | RulePlainConfiguration
4095
+ | RuleWithNoJsxLiteralsOptions;
3996
4096
  type NoMagicNumbersConfiguration =
3997
4097
  | RulePlainConfiguration
3998
4098
  | RuleWithNoMagicNumbersOptions;
@@ -4066,6 +4166,9 @@ type UseComponentExportOnlyModulesConfiguration =
4066
4166
  type UseConsistentArrayTypeConfiguration =
4067
4167
  | RulePlainConfiguration
4068
4168
  | RuleWithUseConsistentArrayTypeOptions;
4169
+ type UseConsistentArrowReturnConfiguration =
4170
+ | RulePlainConfiguration
4171
+ | RuleWithUseConsistentArrowReturnOptions;
4069
4172
  type UseConsistentBuiltinInstantiationConfiguration =
4070
4173
  | RulePlainConfiguration
4071
4174
  | RuleWithUseConsistentBuiltinInstantiationOptions;
@@ -4229,6 +4332,9 @@ type NoControlCharactersInRegexConfiguration =
4229
4332
  type NoDebuggerConfiguration =
4230
4333
  | RulePlainConfiguration
4231
4334
  | RuleWithNoDebuggerOptions;
4335
+ type NoDeprecatedImportsConfiguration =
4336
+ | RulePlainConfiguration
4337
+ | RuleWithNoDeprecatedImportsOptions;
4232
4338
  type NoDocumentCookieConfiguration =
4233
4339
  | RulePlainConfiguration
4234
4340
  | RuleWithNoDocumentCookieOptions;
@@ -4250,6 +4356,9 @@ type NoDuplicateClassMembersConfiguration =
4250
4356
  type NoDuplicateCustomPropertiesConfiguration =
4251
4357
  | RulePlainConfiguration
4252
4358
  | RuleWithNoDuplicateCustomPropertiesOptions;
4359
+ type NoDuplicateDependenciesConfiguration =
4360
+ | RulePlainConfiguration
4361
+ | RuleWithNoDuplicateDependenciesOptions;
4253
4362
  type NoDuplicateElseIfConfiguration =
4254
4363
  | RulePlainConfiguration
4255
4364
  | RuleWithNoDuplicateElseIfOptions;
@@ -4286,6 +4395,9 @@ type NoEmptyBlockStatementsConfiguration =
4286
4395
  type NoEmptyInterfaceConfiguration =
4287
4396
  | RulePlainConfiguration
4288
4397
  | RuleWithNoEmptyInterfaceOptions;
4398
+ type NoEmptySourceConfiguration =
4399
+ | RulePlainConfiguration
4400
+ | RuleWithNoEmptySourceOptions;
4289
4401
  type NoEvolvingTypesConfiguration =
4290
4402
  | RulePlainConfiguration
4291
4403
  | RuleWithNoEvolvingTypesOptions;
@@ -4325,6 +4437,9 @@ type NoImplicitAnyLetConfiguration =
4325
4437
  type NoImportAssignConfiguration =
4326
4438
  | RulePlainConfiguration
4327
4439
  | RuleWithNoImportAssignOptions;
4440
+ type NoImportCyclesConfiguration =
4441
+ | RulePlainConfiguration
4442
+ | RuleWithNoImportCyclesOptions;
4328
4443
  type NoImportantInKeyframeConfiguration =
4329
4444
  | RulePlainConfiguration
4330
4445
  | RuleWithNoImportantInKeyframeOptions;
@@ -4358,6 +4473,9 @@ type NoPrototypeBuiltinsConfiguration =
4358
4473
  type NoQuickfixBiomeConfiguration =
4359
4474
  | RulePlainConfiguration
4360
4475
  | RuleWithNoQuickfixBiomeOptions;
4476
+ type NoReactForwardRefConfiguration =
4477
+ | RulePlainConfiguration
4478
+ | RuleWithNoReactForwardRefOptions;
4361
4479
  type NoReactSpecificPropsConfiguration =
4362
4480
  | RulePlainConfiguration
4363
4481
  | RuleWithNoReactSpecificPropsOptions;
@@ -4406,6 +4524,9 @@ type NoUnsafeDeclarationMergingConfiguration =
4406
4524
  type NoUnsafeNegationConfiguration =
4407
4525
  | RulePlainConfiguration
4408
4526
  | RuleWithNoUnsafeNegationOptions;
4527
+ type NoUnusedExpressionsConfiguration =
4528
+ | RulePlainConfiguration
4529
+ | RuleWithNoUnusedExpressionsOptions;
4409
4530
  type NoUselessEscapeInStringConfiguration =
4410
4531
  | RulePlainConfiguration
4411
4532
  | RuleWithNoUselessEscapeInStringOptions;
@@ -4424,6 +4545,9 @@ type UseBiomeIgnoreFolderConfiguration =
4424
4545
  type UseDefaultSwitchClauseLastConfiguration =
4425
4546
  | RulePlainConfiguration
4426
4547
  | RuleWithUseDefaultSwitchClauseLastOptions;
4548
+ type UseDeprecatedDateConfiguration =
4549
+ | RulePlainConfiguration
4550
+ | RuleWithUseDeprecatedDateOptions;
4427
4551
  type UseErrorMessageConfiguration =
4428
4552
  | RulePlainConfiguration
4429
4553
  | RuleWithUseErrorMessageOptions;
@@ -4454,6 +4578,16 @@ type UseStaticResponseMethodsConfiguration =
4454
4578
  type UseStrictModeConfiguration =
4455
4579
  | RulePlainConfiguration
4456
4580
  | RuleWithUseStrictModeOptions;
4581
+ interface NoDuplicateClassesOptions {
4582
+ /**
4583
+ * Additional attributes that will be sorted.
4584
+ */
4585
+ attributes?: string[];
4586
+ /**
4587
+ * Names of the functions or tagged templates that will be sorted.
4588
+ */
4589
+ functions?: string[];
4590
+ }
4457
4591
  interface OrganizeImportsOptions {
4458
4592
  groups?: ImportGroups;
4459
4593
  identifierOrder?: SortOrder;
@@ -4461,7 +4595,14 @@ interface OrganizeImportsOptions {
4461
4595
  interface UseSortedAttributesOptions {
4462
4596
  sortOrder?: SortOrder;
4463
4597
  }
4598
+ type UseSortedInterfaceMembersOptions = {};
4464
4599
  interface UseSortedKeysOptions {
4600
+ /**
4601
+ * When enabled, groups object keys by their value's nesting depth before sorting.
4602
+ Simple values (primitives, single-line arrays, single-line objects) are sorted first,
4603
+ followed by nested values (multi-line objects, multi-line arrays).
4604
+ */
4605
+ groupByNesting?: boolean;
4465
4606
  sortOrder?: SortOrder;
4466
4607
  }
4467
4608
  type UseSortedPropertiesOptions = {};
@@ -4701,6 +4842,11 @@ interface RuleWithNoUselessCatchOptions {
4701
4842
  level: RulePlainConfiguration;
4702
4843
  options?: NoUselessCatchOptions;
4703
4844
  }
4845
+ interface RuleWithNoUselessCatchBindingOptions {
4846
+ fix?: FixKind;
4847
+ level: RulePlainConfiguration;
4848
+ options?: NoUselessCatchBindingOptions;
4849
+ }
4704
4850
  interface RuleWithNoUselessConstructorOptions {
4705
4851
  fix?: FixKind;
4706
4852
  level: RulePlainConfiguration;
@@ -4770,6 +4916,11 @@ interface RuleWithNoUselessTypeConstraintOptions {
4770
4916
  level: RulePlainConfiguration;
4771
4917
  options?: NoUselessTypeConstraintOptions;
4772
4918
  }
4919
+ interface RuleWithNoUselessUndefinedOptions {
4920
+ fix?: FixKind;
4921
+ level: RulePlainConfiguration;
4922
+ options?: NoUselessUndefinedOptions;
4923
+ }
4773
4924
  interface RuleWithNoUselessUndefinedInitializationOptions {
4774
4925
  fix?: FixKind;
4775
4926
  level: RulePlainConfiguration;
@@ -4804,6 +4955,10 @@ interface RuleWithUseLiteralKeysOptions {
4804
4955
  level: RulePlainConfiguration;
4805
4956
  options?: UseLiteralKeysOptions;
4806
4957
  }
4958
+ interface RuleWithUseMaxParamsOptions {
4959
+ level: RulePlainConfiguration;
4960
+ options?: UseMaxParamsOptions;
4961
+ }
4807
4962
  interface RuleWithUseNumericLiteralsOptions {
4808
4963
  fix?: FixKind;
4809
4964
  level: RulePlainConfiguration;
@@ -4910,6 +5065,10 @@ interface RuleWithNoNestedComponentDefinitionsOptions {
4910
5065
  level: RulePlainConfiguration;
4911
5066
  options?: NoNestedComponentDefinitionsOptions;
4912
5067
  }
5068
+ interface RuleWithNoNextAsyncClientComponentOptions {
5069
+ level: RulePlainConfiguration;
5070
+ options?: NoNextAsyncClientComponentOptions;
5071
+ }
4913
5072
  interface RuleWithNoNodejsModulesOptions {
4914
5073
  level: RulePlainConfiguration;
4915
5074
  options?: NoNodejsModulesOptions;
@@ -5018,6 +5177,10 @@ interface RuleWithNoUnreachableSuperOptions {
5018
5177
  level: RulePlainConfiguration;
5019
5178
  options?: NoUnreachableSuperOptions;
5020
5179
  }
5180
+ interface RuleWithNoUnresolvedImportsOptions {
5181
+ level: RulePlainConfiguration;
5182
+ options?: NoUnresolvedImportsOptions;
5183
+ }
5021
5184
  interface RuleWithNoUnsafeFinallyOptions {
5022
5185
  level: RulePlainConfiguration;
5023
5186
  options?: NoUnsafeFinallyOptions;
@@ -5060,6 +5223,27 @@ interface RuleWithNoVoidTypeReturnOptions {
5060
5223
  level: RulePlainConfiguration;
5061
5224
  options?: NoVoidTypeReturnOptions;
5062
5225
  }
5226
+ interface RuleWithNoVueDataObjectDeclarationOptions {
5227
+ fix?: FixKind;
5228
+ level: RulePlainConfiguration;
5229
+ options?: NoVueDataObjectDeclarationOptions;
5230
+ }
5231
+ interface RuleWithNoVueDuplicateKeysOptions {
5232
+ level: RulePlainConfiguration;
5233
+ options?: NoVueDuplicateKeysOptions;
5234
+ }
5235
+ interface RuleWithNoVueReservedKeysOptions {
5236
+ level: RulePlainConfiguration;
5237
+ options?: NoVueReservedKeysOptions;
5238
+ }
5239
+ interface RuleWithNoVueReservedPropsOptions {
5240
+ level: RulePlainConfiguration;
5241
+ options?: NoVueReservedPropsOptions;
5242
+ }
5243
+ interface RuleWithNoVueSetupPropsReactivityLossOptions {
5244
+ level: RulePlainConfiguration;
5245
+ options?: NoVueSetupPropsReactivityLossOptions;
5246
+ }
5063
5247
  interface RuleWithUseExhaustiveDependenciesOptions {
5064
5248
  fix?: FixKind;
5065
5249
  level: RulePlainConfiguration;
@@ -5106,6 +5290,14 @@ interface RuleWithUseQwikClasslistOptions {
5106
5290
  level: RulePlainConfiguration;
5107
5291
  options?: UseQwikClasslistOptions;
5108
5292
  }
5293
+ interface RuleWithUseQwikMethodUsageOptions {
5294
+ level: RulePlainConfiguration;
5295
+ options?: UseQwikMethodUsageOptions;
5296
+ }
5297
+ interface RuleWithUseQwikValidLexicalScopeOptions {
5298
+ level: RulePlainConfiguration;
5299
+ options?: UseQwikValidLexicalScopeOptions;
5300
+ }
5109
5301
  interface RuleWithUseSingleJsDocAsteriskOptions {
5110
5302
  fix?: FixKind;
5111
5303
  level: RulePlainConfiguration;
@@ -5140,10 +5332,6 @@ interface RuleWithNoContinueOptions {
5140
5332
  level: RulePlainConfiguration;
5141
5333
  options?: NoContinueOptions;
5142
5334
  }
5143
- interface RuleWithNoDeprecatedImportsOptions {
5144
- level: RulePlainConfiguration;
5145
- options?: NoDeprecatedImportsOptions;
5146
- }
5147
5335
  interface RuleWithNoDeprecatedMediaTypeOptions {
5148
5336
  level: RulePlainConfiguration;
5149
5337
  options?: NoDeprecatedMediaTypeOptions;
@@ -5161,10 +5349,6 @@ interface RuleWithNoDuplicateAttributesOptions {
5161
5349
  level: RulePlainConfiguration;
5162
5350
  options?: NoDuplicateAttributesOptions;
5163
5351
  }
5164
- interface RuleWithNoDuplicateDependenciesOptions {
5165
- level: RulePlainConfiguration;
5166
- options?: NoDuplicateDependenciesOptions;
5167
- }
5168
5352
  interface RuleWithNoDuplicateEnumValueNamesOptions {
5169
5353
  level: RulePlainConfiguration;
5170
5354
  options?: NoDuplicateEnumValueNamesOptions;
@@ -5193,10 +5377,6 @@ interface RuleWithNoDuplicatedSpreadPropsOptions {
5193
5377
  level: RulePlainConfiguration;
5194
5378
  options?: NoDuplicatedSpreadPropsOptions;
5195
5379
  }
5196
- interface RuleWithNoEmptySourceOptions {
5197
- level: RulePlainConfiguration;
5198
- options?: NoEmptySourceOptions;
5199
- }
5200
5380
  interface RuleWithNoEqualsToNullOptions {
5201
5381
  fix?: FixKind;
5202
5382
  level: RulePlainConfiguration;
@@ -5227,18 +5407,10 @@ interface RuleWithNoHexColorsOptions {
5227
5407
  level: RulePlainConfiguration;
5228
5408
  options?: NoHexColorsOptions;
5229
5409
  }
5230
- interface RuleWithNoImportCyclesOptions {
5231
- level: RulePlainConfiguration;
5232
- options?: NoImportCyclesOptions;
5233
- }
5234
5410
  interface RuleWithNoIncrementDecrementOptions {
5235
5411
  level: RulePlainConfiguration;
5236
5412
  options?: NoIncrementDecrementOptions;
5237
5413
  }
5238
- interface RuleWithNoJsxLiteralsOptions {
5239
- level: RulePlainConfiguration;
5240
- options?: NoJsxLiteralsOptions;
5241
- }
5242
5414
  interface RuleWithNoJsxPropsBindOptions {
5243
5415
  level: RulePlainConfiguration;
5244
5416
  options?: NoJsxPropsBindOptions;
@@ -5264,10 +5436,6 @@ interface RuleWithNoNestedPromisesOptions {
5264
5436
  level: RulePlainConfiguration;
5265
5437
  options?: NoNestedPromisesOptions;
5266
5438
  }
5267
- interface RuleWithNoNextAsyncClientComponentOptions {
5268
- level: RulePlainConfiguration;
5269
- options?: NoNextAsyncClientComponentOptions;
5270
- }
5271
5439
  interface RuleWithNoParametersOnlyUsedInRecursionOptions {
5272
5440
  fix?: FixKind;
5273
5441
  level: RulePlainConfiguration;
@@ -5277,11 +5445,6 @@ interface RuleWithNoProtoOptions {
5277
5445
  level: RulePlainConfiguration;
5278
5446
  options?: NoProtoOptions;
5279
5447
  }
5280
- interface RuleWithNoReactForwardRefOptions {
5281
- fix?: FixKind;
5282
- level: RulePlainConfiguration;
5283
- options?: NoReactForwardRefOptions;
5284
- }
5285
5448
  interface RuleWithNoRedundantDefaultExportOptions {
5286
5449
  level: RulePlainConfiguration;
5287
5450
  options?: NoRedundantDefaultExportOptions;
@@ -5322,58 +5485,19 @@ interface RuleWithNoUnnecessaryConditionsOptions {
5322
5485
  level: RulePlainConfiguration;
5323
5486
  options?: NoUnnecessaryConditionsOptions;
5324
5487
  }
5325
- interface RuleWithNoUnresolvedImportsOptions {
5326
- level: RulePlainConfiguration;
5327
- options?: NoUnresolvedImportsOptions;
5328
- }
5329
- interface RuleWithNoUnusedExpressionsOptions {
5330
- level: RulePlainConfiguration;
5331
- options?: NoUnusedExpressionsOptions;
5332
- }
5333
- interface RuleWithNoUselessCatchBindingOptions {
5334
- fix?: FixKind;
5335
- level: RulePlainConfiguration;
5336
- options?: NoUselessCatchBindingOptions;
5337
- }
5338
5488
  interface RuleWithNoUselessReturnOptions {
5339
5489
  fix?: FixKind;
5340
5490
  level: RulePlainConfiguration;
5341
5491
  options?: NoUselessReturnOptions;
5342
5492
  }
5343
- interface RuleWithNoUselessUndefinedOptions {
5344
- fix?: FixKind;
5345
- level: RulePlainConfiguration;
5346
- options?: NoUselessUndefinedOptions;
5347
- }
5348
- interface RuleWithNoVueArrowFuncInWatchOptions {
5349
- fix?: FixKind;
5350
- level: RulePlainConfiguration;
5351
- options?: NoVueArrowFuncInWatchOptions;
5352
- }
5353
- interface RuleWithNoVueDataObjectDeclarationOptions {
5354
- fix?: FixKind;
5355
- level: RulePlainConfiguration;
5356
- options?: NoVueDataObjectDeclarationOptions;
5357
- }
5358
- interface RuleWithNoVueDuplicateKeysOptions {
5359
- level: RulePlainConfiguration;
5360
- options?: NoVueDuplicateKeysOptions;
5361
- }
5362
- interface RuleWithNoVueOptionsApiOptions {
5363
- level: RulePlainConfiguration;
5364
- options?: NoVueOptionsApiOptions;
5365
- }
5366
- interface RuleWithNoVueReservedKeysOptions {
5367
- level: RulePlainConfiguration;
5368
- options?: NoVueReservedKeysOptions;
5369
- }
5370
- interface RuleWithNoVueReservedPropsOptions {
5493
+ interface RuleWithNoVueArrowFuncInWatchOptions {
5494
+ fix?: FixKind;
5371
5495
  level: RulePlainConfiguration;
5372
- options?: NoVueReservedPropsOptions;
5496
+ options?: NoVueArrowFuncInWatchOptions;
5373
5497
  }
5374
- interface RuleWithNoVueSetupPropsReactivityLossOptions {
5498
+ interface RuleWithNoVueOptionsApiOptions {
5375
5499
  level: RulePlainConfiguration;
5376
- options?: NoVueSetupPropsReactivityLossOptions;
5500
+ options?: NoVueOptionsApiOptions;
5377
5501
  }
5378
5502
  interface RuleWithNoVueVIfWithVForOptions {
5379
5503
  level: RulePlainConfiguration;
@@ -5387,11 +5511,6 @@ interface RuleWithUseAwaitThenableOptions {
5387
5511
  level: RulePlainConfiguration;
5388
5512
  options?: UseAwaitThenableOptions;
5389
5513
  }
5390
- interface RuleWithUseConsistentArrowReturnOptions {
5391
- fix?: FixKind;
5392
- level: RulePlainConfiguration;
5393
- options?: UseConsistentArrowReturnOptions;
5394
- }
5395
5514
  interface RuleWithUseConsistentEnumValueTypeOptions {
5396
5515
  level: RulePlainConfiguration;
5397
5516
  options?: UseConsistentEnumValueTypeOptions;
@@ -5404,10 +5523,6 @@ interface RuleWithUseConsistentMethodSignaturesOptions {
5404
5523
  level: RulePlainConfiguration;
5405
5524
  options?: UseConsistentMethodSignaturesOptions;
5406
5525
  }
5407
- interface RuleWithUseDeprecatedDateOptions {
5408
- level: RulePlainConfiguration;
5409
- options?: UseDeprecatedDateOptions;
5410
- }
5411
5526
  interface RuleWithUseDestructuringOptions {
5412
5527
  level: RulePlainConfiguration;
5413
5528
  options?: UseDestructuringOptions;
@@ -5449,18 +5564,6 @@ interface RuleWithUseLoneExecutableDefinitionOptions {
5449
5564
  level: RulePlainConfiguration;
5450
5565
  options?: UseLoneExecutableDefinitionOptions;
5451
5566
  }
5452
- interface RuleWithUseMaxParamsOptions {
5453
- level: RulePlainConfiguration;
5454
- options?: UseMaxParamsOptions;
5455
- }
5456
- interface RuleWithUseQwikMethodUsageOptions {
5457
- level: RulePlainConfiguration;
5458
- options?: UseQwikMethodUsageOptions;
5459
- }
5460
- interface RuleWithUseQwikValidLexicalScopeOptions {
5461
- level: RulePlainConfiguration;
5462
- options?: UseQwikValidLexicalScopeOptions;
5463
- }
5464
5567
  interface RuleWithUseRegexpExecOptions {
5465
5568
  level: RulePlainConfiguration;
5466
5569
  options?: UseRegexpExecOptions;
@@ -5673,6 +5776,10 @@ interface RuleWithNoInferrableTypesOptions {
5673
5776
  level: RulePlainConfiguration;
5674
5777
  options?: NoInferrableTypesOptions;
5675
5778
  }
5779
+ interface RuleWithNoJsxLiteralsOptions {
5780
+ level: RulePlainConfiguration;
5781
+ options?: NoJsxLiteralsOptions;
5782
+ }
5676
5783
  interface RuleWithNoMagicNumbersOptions {
5677
5784
  level: RulePlainConfiguration;
5678
5785
  options?: NoMagicNumbersOptions;
@@ -5788,6 +5895,11 @@ interface RuleWithUseConsistentArrayTypeOptions {
5788
5895
  level: RulePlainConfiguration;
5789
5896
  options?: UseConsistentArrayTypeOptions;
5790
5897
  }
5898
+ interface RuleWithUseConsistentArrowReturnOptions {
5899
+ fix?: FixKind;
5900
+ level: RulePlainConfiguration;
5901
+ options?: UseConsistentArrowReturnOptions;
5902
+ }
5791
5903
  interface RuleWithUseConsistentBuiltinInstantiationOptions {
5792
5904
  fix?: FixKind;
5793
5905
  level: RulePlainConfiguration;
@@ -6051,6 +6163,10 @@ interface RuleWithNoDebuggerOptions {
6051
6163
  level: RulePlainConfiguration;
6052
6164
  options?: NoDebuggerOptions;
6053
6165
  }
6166
+ interface RuleWithNoDeprecatedImportsOptions {
6167
+ level: RulePlainConfiguration;
6168
+ options?: NoDeprecatedImportsOptions;
6169
+ }
6054
6170
  interface RuleWithNoDocumentCookieOptions {
6055
6171
  level: RulePlainConfiguration;
6056
6172
  options?: NoDocumentCookieOptions;
@@ -6080,6 +6196,10 @@ interface RuleWithNoDuplicateCustomPropertiesOptions {
6080
6196
  level: RulePlainConfiguration;
6081
6197
  options?: NoDuplicateCustomPropertiesOptions;
6082
6198
  }
6199
+ interface RuleWithNoDuplicateDependenciesOptions {
6200
+ level: RulePlainConfiguration;
6201
+ options?: NoDuplicateDependenciesOptions;
6202
+ }
6083
6203
  interface RuleWithNoDuplicateElseIfOptions {
6084
6204
  level: RulePlainConfiguration;
6085
6205
  options?: NoDuplicateElseIfOptions;
@@ -6129,6 +6249,10 @@ interface RuleWithNoEmptyInterfaceOptions {
6129
6249
  level: RulePlainConfiguration;
6130
6250
  options?: NoEmptyInterfaceOptions;
6131
6251
  }
6252
+ interface RuleWithNoEmptySourceOptions {
6253
+ level: RulePlainConfiguration;
6254
+ options?: NoEmptySourceOptions;
6255
+ }
6132
6256
  interface RuleWithNoEvolvingTypesOptions {
6133
6257
  level: RulePlainConfiguration;
6134
6258
  options?: NoEvolvingTypesOptions;
@@ -6185,6 +6309,10 @@ interface RuleWithNoImportAssignOptions {
6185
6309
  level: RulePlainConfiguration;
6186
6310
  options?: NoImportAssignOptions;
6187
6311
  }
6312
+ interface RuleWithNoImportCyclesOptions {
6313
+ level: RulePlainConfiguration;
6314
+ options?: NoImportCyclesOptions;
6315
+ }
6188
6316
  interface RuleWithNoImportantInKeyframeOptions {
6189
6317
  level: RulePlainConfiguration;
6190
6318
  options?: NoImportantInKeyframeOptions;
@@ -6234,6 +6362,11 @@ interface RuleWithNoQuickfixBiomeOptions {
6234
6362
  level: RulePlainConfiguration;
6235
6363
  options?: NoQuickfixBiomeOptions;
6236
6364
  }
6365
+ interface RuleWithNoReactForwardRefOptions {
6366
+ fix?: FixKind;
6367
+ level: RulePlainConfiguration;
6368
+ options?: NoReactForwardRefOptions;
6369
+ }
6237
6370
  interface RuleWithNoReactSpecificPropsOptions {
6238
6371
  fix?: FixKind;
6239
6372
  level: RulePlainConfiguration;
@@ -6304,6 +6437,10 @@ interface RuleWithNoUnsafeNegationOptions {
6304
6437
  level: RulePlainConfiguration;
6305
6438
  options?: NoUnsafeNegationOptions;
6306
6439
  }
6440
+ interface RuleWithNoUnusedExpressionsOptions {
6441
+ level: RulePlainConfiguration;
6442
+ options?: NoUnusedExpressionsOptions;
6443
+ }
6307
6444
  interface RuleWithNoUselessEscapeInStringOptions {
6308
6445
  fix?: FixKind;
6309
6446
  level: RulePlainConfiguration;
@@ -6339,6 +6476,10 @@ interface RuleWithUseDefaultSwitchClauseLastOptions {
6339
6476
  level: RulePlainConfiguration;
6340
6477
  options?: UseDefaultSwitchClauseLastOptions;
6341
6478
  }
6479
+ interface RuleWithUseDeprecatedDateOptions {
6480
+ level: RulePlainConfiguration;
6481
+ options?: UseDeprecatedDateOptions;
6482
+ }
6342
6483
  interface RuleWithUseErrorMessageOptions {
6343
6484
  level: RulePlainConfiguration;
6344
6485
  options?: UseErrorMessageOptions;
@@ -6490,6 +6631,7 @@ type NoImportantStylesOptions = {};
6490
6631
  type NoStaticOnlyClassOptions = {};
6491
6632
  type NoThisInStaticOptions = {};
6492
6633
  type NoUselessCatchOptions = {};
6634
+ type NoUselessCatchBindingOptions = {};
6493
6635
  type NoUselessConstructorOptions = {};
6494
6636
  type NoUselessContinueOptions = {};
6495
6637
  type NoUselessEmptyExportOptions = {};
@@ -6504,6 +6646,7 @@ type NoUselessSwitchCaseOptions = {};
6504
6646
  type NoUselessTernaryOptions = {};
6505
6647
  type NoUselessThisAliasOptions = {};
6506
6648
  type NoUselessTypeConstraintOptions = {};
6649
+ type NoUselessUndefinedOptions = {};
6507
6650
  type NoUselessUndefinedInitializationOptions = {};
6508
6651
  type NoVoidOptions = {};
6509
6652
  type UseArrowFunctionOptions = {};
@@ -6511,6 +6654,12 @@ type UseDateNowOptions = {};
6511
6654
  type UseFlatMapOptions = {};
6512
6655
  type UseIndexOfOptions = {};
6513
6656
  type UseLiteralKeysOptions = {};
6657
+ interface UseMaxParamsOptions {
6658
+ /**
6659
+ * Maximum number of parameters allowed (default: 4)
6660
+ */
6661
+ max?: number;
6662
+ }
6514
6663
  type UseNumericLiteralsOptions = {};
6515
6664
  type UseOptionalChainOptions = {};
6516
6665
  type UseRegexLiteralsOptions = {};
@@ -6535,6 +6684,7 @@ type NoInvalidPositionAtImportRuleOptions = {};
6535
6684
  type NoInvalidUseBeforeDeclarationOptions = {};
6536
6685
  type NoMissingVarFunctionOptions = {};
6537
6686
  type NoNestedComponentDefinitionsOptions = {};
6687
+ type NoNextAsyncClientComponentOptions = {};
6538
6688
  type NoNodejsModulesOptions = {};
6539
6689
  type NoNonoctalDecimalEscapeOptions = {};
6540
6690
  type NoPrecisionLossOptions = {};
@@ -6582,16 +6732,37 @@ interface NoUndeclaredVariablesOptions {
6582
6732
  */
6583
6733
  checkTypes?: boolean;
6584
6734
  }
6585
- type NoUnknownFunctionOptions = {};
6735
+ interface NoUnknownFunctionOptions {
6736
+ /**
6737
+ * A list of unknown function names to ignore (case-insensitive).
6738
+ */
6739
+ ignore?: string[];
6740
+ }
6586
6741
  type NoUnknownMediaFeatureNameOptions = {};
6587
- type NoUnknownPropertyOptions = {};
6588
- type NoUnknownPseudoClassOptions = {};
6589
- type NoUnknownPseudoElementOptions = {};
6742
+ interface NoUnknownPropertyOptions {
6743
+ /**
6744
+ * A list of unknown property names to ignore (case-insensitive).
6745
+ */
6746
+ ignore?: string[];
6747
+ }
6748
+ interface NoUnknownPseudoClassOptions {
6749
+ /**
6750
+ * A list of unknown pseudo-class names to ignore (case-insensitive).
6751
+ */
6752
+ ignore?: string[];
6753
+ }
6754
+ interface NoUnknownPseudoElementOptions {
6755
+ /**
6756
+ * A list of unknown pseudo-element names to ignore (case-insensitive).
6757
+ */
6758
+ ignore?: string[];
6759
+ }
6590
6760
  type NoUnknownTypeSelectorOptions = {};
6591
6761
  type NoUnknownUnitOptions = {};
6592
6762
  type NoUnmatchableAnbSelectorOptions = {};
6593
6763
  type NoUnreachableOptions = {};
6594
6764
  type NoUnreachableSuperOptions = {};
6765
+ type NoUnresolvedImportsOptions = {};
6595
6766
  type NoUnsafeFinallyOptions = {};
6596
6767
  type NoUnsafeOptionalChainingOptions = {};
6597
6768
  interface NoUnusedFunctionParametersOptions {
@@ -6611,6 +6782,11 @@ interface NoUnusedVariablesOptions {
6611
6782
  }
6612
6783
  type NoVoidElementsWithChildrenOptions = {};
6613
6784
  type NoVoidTypeReturnOptions = {};
6785
+ type NoVueDataObjectDeclarationOptions = {};
6786
+ type NoVueDuplicateKeysOptions = {};
6787
+ type NoVueReservedKeysOptions = {};
6788
+ type NoVueReservedPropsOptions = {};
6789
+ type NoVueSetupPropsReactivityLossOptions = {};
6614
6790
  interface UseExhaustiveDependenciesOptions {
6615
6791
  /**
6616
6792
  * List of hooks of which the dependencies should be validated.
@@ -6626,9 +6802,20 @@ interface UseExhaustiveDependenciesOptions {
6626
6802
  reportUnnecessaryDependencies?: boolean;
6627
6803
  }
6628
6804
  type UseGraphqlNamedOperationsOptions = {};
6629
- type UseHookAtTopLevelOptions = {};
6805
+ interface UseHookAtTopLevelOptions {
6806
+ /**
6807
+ * List of function names that should not be treated as hooks.
6808
+ Functions in this list will be ignored by the rule even if they follow the `use*` naming convention.
6809
+ */
6810
+ ignore?: string[];
6811
+ }
6630
6812
  type UseImageSizeOptions = null;
6631
6813
  interface UseImportExtensionsOptions {
6814
+ /**
6815
+ * A map of file extensions to their suggested replacements.
6816
+ For example, `{"ts": "js"}` would suggest `.js` extensions for TypeScript imports.
6817
+ */
6818
+ extensionMappings?: Record<string, string>;
6632
6819
  /**
6633
6820
  * If `true`, the suggested extension is always `.js` regardless of what
6634
6821
  extension the source file has in your project.
@@ -6645,6 +6832,8 @@ interface UseJsxKeyInIterableOptions {
6645
6832
  }
6646
6833
  type UseParseIntRadixOptions = {};
6647
6834
  type UseQwikClasslistOptions = {};
6835
+ type UseQwikMethodUsageOptions = {};
6836
+ type UseQwikValidLexicalScopeOptions = {};
6648
6837
  type UseSingleJsDocAsteriskOptions = {};
6649
6838
  interface UseUniqueElementIdsOptions {
6650
6839
  /**
@@ -6664,7 +6853,6 @@ interface NoAmbiguousAnchorTextOptions {
6664
6853
  }
6665
6854
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
6666
6855
  type NoContinueOptions = {};
6667
- type NoDeprecatedImportsOptions = {};
6668
6856
  interface NoDeprecatedMediaTypeOptions {
6669
6857
  /**
6670
6858
  * Media types to allow (case-insensitive).
@@ -6674,7 +6862,6 @@ interface NoDeprecatedMediaTypeOptions {
6674
6862
  type NoDivRegexOptions = {};
6675
6863
  type NoDuplicateArgumentNamesOptions = {};
6676
6864
  type NoDuplicateAttributesOptions = {};
6677
- type NoDuplicateDependenciesOptions = {};
6678
6865
  type NoDuplicateEnumValueNamesOptions = {};
6679
6866
  type NoDuplicateEnumValuesOptions = {};
6680
6867
  type NoDuplicateFieldDefinitionNamesOptions = {};
@@ -6682,12 +6869,6 @@ type NoDuplicateGraphqlOperationNameOptions = {};
6682
6869
  type NoDuplicateInputFieldNamesOptions = {};
6683
6870
  type NoDuplicateVariableNamesOptions = {};
6684
6871
  type NoDuplicatedSpreadPropsOptions = {};
6685
- interface NoEmptySourceOptions {
6686
- /**
6687
- * Whether comments are considered meaningful
6688
- */
6689
- allowComments?: boolean;
6690
- }
6691
6872
  type NoEqualsToNullOptions = {};
6692
6873
  interface NoExcessiveClassesPerFileOptions {
6693
6874
  /**
@@ -6709,45 +6890,20 @@ type NoFloatingClassesOptions = {};
6709
6890
  type NoFloatingPromisesOptions = {};
6710
6891
  type NoForInOptions = {};
6711
6892
  type NoHexColorsOptions = {};
6712
- interface NoImportCyclesOptions {
6713
- /**
6714
- * Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
6715
- will be removed by the compiler, so it cuts an import cycle at runtime. Note that named type
6716
- imports (`import { type Foo }`) aren't considered as type-only because it's not removed by
6717
- the compiler if the `verbatimModuleSyntax` option is enabled. Enabled by default.
6718
- */
6719
- ignoreTypes?: boolean;
6720
- }
6721
6893
  interface NoIncrementDecrementOptions {
6722
6894
  /**
6723
6895
  * Allows unary operators ++ and -- in the afterthought (final expression) of a for loop.
6724
6896
  */
6725
6897
  allowForLoopAfterthoughts?: boolean;
6726
6898
  }
6727
- interface NoJsxLiteralsOptions {
6728
- /**
6729
- * An array of strings that won't trigger the rule. Whitespaces are taken into consideration
6730
- */
6731
- allowedStrings?: string[];
6732
- /**
6733
- * When enabled, strings inside props are always ignored
6734
- */
6735
- ignoreProps?: boolean;
6736
- /**
6737
- * When enabled, also flag string literals inside JSX expressions and attributes
6738
- */
6739
- noStrings?: boolean;
6740
- }
6741
6899
  type NoJsxPropsBindOptions = {};
6742
6900
  type NoLeakedRenderOptions = {};
6743
6901
  type NoMisusedPromisesOptions = {};
6744
6902
  type NoMultiAssignOptions = {};
6745
6903
  type NoMultiStrOptions = {};
6746
6904
  type NoNestedPromisesOptions = {};
6747
- type NoNextAsyncClientComponentOptions = {};
6748
6905
  type NoParametersOnlyUsedInRecursionOptions = {};
6749
6906
  type NoProtoOptions = {};
6750
- type NoReactForwardRefOptions = {};
6751
6907
  type NoRedundantDefaultExportOptions = {};
6752
6908
  type NoReturnAssignOptions = {};
6753
6909
  interface NoRootTypeOptions {
@@ -6774,33 +6930,12 @@ interface NoUnknownAttributeOptions {
6774
6930
  ignore?: string[];
6775
6931
  }
6776
6932
  type NoUnnecessaryConditionsOptions = {};
6777
- type NoUnresolvedImportsOptions = {};
6778
- type NoUnusedExpressionsOptions = {};
6779
- type NoUselessCatchBindingOptions = {};
6780
6933
  type NoUselessReturnOptions = {};
6781
- type NoUselessUndefinedOptions = {};
6782
6934
  type NoVueArrowFuncInWatchOptions = {};
6783
- type NoVueDataObjectDeclarationOptions = {};
6784
- type NoVueDuplicateKeysOptions = {};
6785
6935
  type NoVueOptionsApiOptions = {};
6786
- type NoVueReservedKeysOptions = {};
6787
- type NoVueReservedPropsOptions = {};
6788
- type NoVueSetupPropsReactivityLossOptions = {};
6789
6936
  type NoVueVIfWithVForOptions = {};
6790
6937
  type UseArraySortCompareOptions = {};
6791
6938
  type UseAwaitThenableOptions = {};
6792
- interface UseConsistentArrowReturnOptions {
6793
- /**
6794
- * Determines whether the rule enforces a consistent style when the return value is an object literal.
6795
-
6796
- This option is only applicable when used in conjunction with the `asNeeded` option.
6797
- */
6798
- requireForObjectLiteral?: boolean;
6799
- /**
6800
- * The style to enforce for arrow function return statements.
6801
- */
6802
- style?: UseConsistentArrowReturnStyle;
6803
- }
6804
6939
  type UseConsistentEnumValueTypeOptions = {};
6805
6940
  interface UseConsistentGraphqlDescriptionsOptions {
6806
6941
  /**
@@ -6816,9 +6951,6 @@ Default: "property"
6816
6951
  */
6817
6952
  style?: MethodSignatureStyle;
6818
6953
  }
6819
- interface UseDeprecatedDateOptions {
6820
- argumentName?: string;
6821
- }
6822
6954
  type UseDestructuringOptions = {};
6823
6955
  interface UseErrorCauseOptions {
6824
6956
  /**
@@ -6839,14 +6971,6 @@ interface UseInputNameOptions {
6839
6971
  }
6840
6972
  type UseLoneAnonymousOperationOptions = {};
6841
6973
  type UseLoneExecutableDefinitionOptions = {};
6842
- interface UseMaxParamsOptions {
6843
- /**
6844
- * Maximum number of parameters allowed (default: 4)
6845
- */
6846
- max?: number;
6847
- }
6848
- type UseQwikMethodUsageOptions = {};
6849
- type UseQwikValidLexicalScopeOptions = {};
6850
6974
  type UseRegexpExecOptions = {};
6851
6975
  interface UseRequiredScriptsOptions {
6852
6976
  /**
@@ -6963,6 +7087,20 @@ type NoExportedImportsOptions = {};
6963
7087
  type NoHeadElementOptions = {};
6964
7088
  type NoImplicitBooleanOptions = {};
6965
7089
  type NoInferrableTypesOptions = {};
7090
+ interface NoJsxLiteralsOptions {
7091
+ /**
7092
+ * An array of strings that won't trigger the rule. Whitespaces are taken into consideration
7093
+ */
7094
+ allowedStrings?: string[];
7095
+ /**
7096
+ * When enabled, strings inside props are always ignored
7097
+ */
7098
+ ignoreProps?: boolean;
7099
+ /**
7100
+ * When enabled, also flag string literals inside JSX expressions and attributes
7101
+ */
7102
+ noStrings?: boolean;
7103
+ }
6966
7104
  type NoMagicNumbersOptions = {};
6967
7105
  type NoNamespaceOptions = {};
6968
7106
  type NoNegationElseOptions = {};
@@ -7020,6 +7158,18 @@ interface UseComponentExportOnlyModulesOptions {
7020
7158
  interface UseConsistentArrayTypeOptions {
7021
7159
  syntax?: ConsistentArrayType;
7022
7160
  }
7161
+ interface UseConsistentArrowReturnOptions {
7162
+ /**
7163
+ * Determines whether the rule enforces a consistent style when the return value is an object literal.
7164
+
7165
+ This option is only applicable when used in conjunction with the `asNeeded` option.
7166
+ */
7167
+ requireForObjectLiteral?: boolean;
7168
+ /**
7169
+ * The style to enforce for arrow function return statements.
7170
+ */
7171
+ style?: UseConsistentArrowReturnStyle;
7172
+ }
7023
7173
  type UseConsistentBuiltinInstantiationOptions = {};
7024
7174
  type UseConsistentCurlyBracesOptions = {};
7025
7175
  interface UseConsistentMemberAccessibilityOptions {
@@ -7114,7 +7264,16 @@ type UseTemplateOptions = {};
7114
7264
  type UseThrowNewErrorOptions = {};
7115
7265
  type UseThrowOnlyErrorOptions = {};
7116
7266
  type UseTrimStartEndOptions = {};
7117
- type UseUnifiedTypeSignaturesOptions = {};
7267
+ interface UseUnifiedTypeSignaturesOptions {
7268
+ /**
7269
+ * Whether to ignore overloads with different JSDoc comments.
7270
+ */
7271
+ ignoreDifferentJsDoc?: boolean;
7272
+ /**
7273
+ * Whether to ignore overloads with differently named parameters.
7274
+ */
7275
+ ignoreDifferentlyNamedParameters?: boolean;
7276
+ }
7118
7277
  type NoAlertOptions = {};
7119
7278
  type NoApproximativeNumericConstantOptions = {};
7120
7279
  type NoArrayIndexKeyOptions = {};
@@ -7148,6 +7307,7 @@ type NoConstEnumOptions = {};
7148
7307
  type NoConstantBinaryExpressionsOptions = {};
7149
7308
  type NoControlCharactersInRegexOptions = {};
7150
7309
  type NoDebuggerOptions = {};
7310
+ type NoDeprecatedImportsOptions = {};
7151
7311
  type NoDocumentCookieOptions = {};
7152
7312
  type NoDocumentImportInPageOptions = {};
7153
7313
  interface NoDoubleEqualsOptions {
@@ -7163,6 +7323,7 @@ type NoDuplicateAtImportRulesOptions = {};
7163
7323
  type NoDuplicateCaseOptions = {};
7164
7324
  type NoDuplicateClassMembersOptions = {};
7165
7325
  type NoDuplicateCustomPropertiesOptions = {};
7326
+ type NoDuplicateDependenciesOptions = {};
7166
7327
  type NoDuplicateElseIfOptions = {};
7167
7328
  type NoDuplicateFieldsOptions = {};
7168
7329
  type NoDuplicateFontNamesOptions = {};
@@ -7175,6 +7336,12 @@ type NoDuplicateTestHooksOptions = {};
7175
7336
  type NoEmptyBlockOptions = {};
7176
7337
  type NoEmptyBlockStatementsOptions = {};
7177
7338
  type NoEmptyInterfaceOptions = {};
7339
+ interface NoEmptySourceOptions {
7340
+ /**
7341
+ * Whether comments are considered meaningful
7342
+ */
7343
+ allowComments?: boolean;
7344
+ }
7178
7345
  type NoEvolvingTypesOptions = {};
7179
7346
  type NoExplicitAnyOptions = {};
7180
7347
  type NoExportsInTestOptions = {};
@@ -7188,6 +7355,15 @@ type NoGlobalIsNanOptions = {};
7188
7355
  type NoHeadImportInDocumentOptions = {};
7189
7356
  type NoImplicitAnyLetOptions = {};
7190
7357
  type NoImportAssignOptions = {};
7358
+ interface NoImportCyclesOptions {
7359
+ /**
7360
+ * Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
7361
+ will be removed by the compiler, so it cuts an import cycle at runtime. Note that named type
7362
+ imports (`import { type Foo }`) aren't considered as type-only because it's not removed by
7363
+ the compiler if the `verbatimModuleSyntax` option is enabled. Enabled by default.
7364
+ */
7365
+ ignoreTypes?: boolean;
7366
+ }
7191
7367
  type NoImportantInKeyframeOptions = {};
7192
7368
  type NoIrregularWhitespaceOptions = {};
7193
7369
  type NoLabelVarOptions = {};
@@ -7204,6 +7380,7 @@ interface NoQuickfixBiomeOptions {
7204
7380
  */
7205
7381
  additionalPaths?: string[];
7206
7382
  }
7383
+ type NoReactForwardRefOptions = {};
7207
7384
  type NoReactSpecificPropsOptions = {};
7208
7385
  type NoRedeclareOptions = {};
7209
7386
  type NoRedundantUseStrictOptions = {};
@@ -7225,6 +7402,7 @@ interface NoUnknownAtRulesOptions {
7225
7402
  }
7226
7403
  type NoUnsafeDeclarationMergingOptions = {};
7227
7404
  type NoUnsafeNegationOptions = {};
7405
+ type NoUnusedExpressionsOptions = {};
7228
7406
  type NoUselessEscapeInStringOptions = {};
7229
7407
  type NoUselessRegexBackrefsOptions = {};
7230
7408
  type NoVarOptions = {};
@@ -7233,12 +7411,21 @@ type UseAdjacentOverloadSignaturesOptions = {};
7233
7411
  type UseAwaitOptions = {};
7234
7412
  type UseBiomeIgnoreFolderOptions = {};
7235
7413
  type UseDefaultSwitchClauseLastOptions = {};
7414
+ interface UseDeprecatedDateOptions {
7415
+ argumentName?: string;
7416
+ }
7236
7417
  type UseErrorMessageOptions = {};
7237
7418
  type UseGetterReturnOptions = {};
7238
7419
  type UseGoogleFontDisplayOptions = {};
7239
7420
  type UseGuardForInOptions = {};
7240
7421
  type UseIsArrayOptions = {};
7241
- type UseIterableCallbackReturnOptions = {};
7422
+ interface UseIterableCallbackReturnOptions {
7423
+ /**
7424
+ * When `true`, the rule reports `forEach` callbacks that return a value (default behaviour).
7425
+ When `false` or unset, such callbacks are ignored.
7426
+ */
7427
+ checkForEach?: boolean;
7428
+ }
7242
7429
  type UseNamespaceKeywordOptions = {};
7243
7430
  type UseNumberToFixedDigitsArgumentOptions = {};
7244
7431
  type UseStaticResponseMethodsOptions = {};
@@ -7277,7 +7464,6 @@ while for `useState()` it would be `[1]`.
7277
7464
  stableResult?: StableHookResult;
7278
7465
  }
7279
7466
  type Regex = string;
7280
- type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
7281
7467
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
7282
7468
  type MethodSignatureStyle = "property" | "method";
7283
7469
  type CheckInputType = "off" | "loose" | "strict";
@@ -7289,6 +7475,7 @@ type Paths = string | PathOptions;
7289
7475
  type Patterns = PatternOptions;
7290
7476
  type CustomRestrictedType = string | CustomRestrictedTypeOptions;
7291
7477
  type ConsistentArrayType = "shorthand" | "generic";
7478
+ type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
7292
7479
  type Accessibility = "noPublic" | "explicit" | "none";
7293
7480
  type ObjectPropertySyntax = "explicit" | "shorthand";
7294
7481
  type ConsistentTypeDefinition = "interface" | "type";
@@ -7437,6 +7624,25 @@ type RestrictedModifier =
7437
7624
  | "protected"
7438
7625
  | "readonly"
7439
7626
  | "static";
7627
+ interface FileFeaturesResult {
7628
+ featuresSupported: FeaturesSupported;
7629
+ }
7630
+ type FeaturesSupported = { [K in FeatureKind]?: SupportKind };
7631
+ type SupportKind =
7632
+ | "supported"
7633
+ | "ignored"
7634
+ | "protected"
7635
+ | "featureNotEnabled"
7636
+ | "fileNotSupported"
7637
+ | "notRequested";
7638
+ interface UpdateSettingsParams {
7639
+ configuration: Configuration;
7640
+ extendedConfigurations?: [BiomePath, Configuration][];
7641
+ moduleGraphResolutionKind?: ModuleGraphResolutionKind;
7642
+ projectKey: ProjectKey;
7643
+ workspaceDirectory?: BiomePath;
7644
+ }
7645
+ type ModuleGraphResolutionKind = "none" | "modules" | "modulesAndTypes";
7440
7646
  interface UpdateSettingsResult {
7441
7647
  diagnostics: Diagnostic[];
7442
7648
  }
@@ -7508,6 +7714,7 @@ type Category =
7508
7714
  | "lint/complexity/noStaticOnlyClass"
7509
7715
  | "lint/complexity/noThisInStatic"
7510
7716
  | "lint/complexity/noUselessCatch"
7717
+ | "lint/complexity/noUselessCatchBinding"
7511
7718
  | "lint/complexity/noUselessConstructor"
7512
7719
  | "lint/complexity/noUselessContinue"
7513
7720
  | "lint/complexity/noUselessEmptyExport"
@@ -7522,6 +7729,7 @@ type Category =
7522
7729
  | "lint/complexity/noUselessTernary"
7523
7730
  | "lint/complexity/noUselessThisAlias"
7524
7731
  | "lint/complexity/noUselessTypeConstraint"
7732
+ | "lint/complexity/noUselessUndefined"
7525
7733
  | "lint/complexity/noUselessUndefinedInitialization"
7526
7734
  | "lint/complexity/noVoid"
7527
7735
  | "lint/complexity/useArrowFunction"
@@ -7529,6 +7737,7 @@ type Category =
7529
7737
  | "lint/complexity/useFlatMap"
7530
7738
  | "lint/complexity/useIndexOf"
7531
7739
  | "lint/complexity/useLiteralKeys"
7740
+ | "lint/complexity/useMaxParams"
7532
7741
  | "lint/complexity/useNumericLiterals"
7533
7742
  | "lint/complexity/useOptionalChain"
7534
7743
  | "lint/complexity/useRegexLiterals"
@@ -7553,6 +7762,7 @@ type Category =
7553
7762
  | "lint/correctness/noInvalidUseBeforeDeclaration"
7554
7763
  | "lint/correctness/noMissingVarFunction"
7555
7764
  | "lint/correctness/noNestedComponentDefinitions"
7765
+ | "lint/correctness/noNextAsyncClientComponent"
7556
7766
  | "lint/correctness/noNodejsModules"
7557
7767
  | "lint/correctness/noNonoctalDecimalEscape"
7558
7768
  | "lint/correctness/noPrecisionLoss"
@@ -7573,13 +7783,13 @@ type Category =
7573
7783
  | "lint/correctness/noUnknownMediaFeatureName"
7574
7784
  | "lint/correctness/noUnknownProperty"
7575
7785
  | "lint/correctness/noUnknownPseudoClass"
7576
- | "lint/correctness/noUnknownPseudoClassSelector"
7577
7786
  | "lint/correctness/noUnknownPseudoElement"
7578
7787
  | "lint/correctness/noUnknownTypeSelector"
7579
7788
  | "lint/correctness/noUnknownUnit"
7580
7789
  | "lint/correctness/noUnmatchableAnbSelector"
7581
7790
  | "lint/correctness/noUnreachable"
7582
7791
  | "lint/correctness/noUnreachableSuper"
7792
+ | "lint/correctness/noUnresolvedImports"
7583
7793
  | "lint/correctness/noUnsafeFinally"
7584
7794
  | "lint/correctness/noUnsafeOptionalChaining"
7585
7795
  | "lint/correctness/noUnusedFunctionParameters"
@@ -7589,6 +7799,11 @@ type Category =
7589
7799
  | "lint/correctness/noUnusedVariables"
7590
7800
  | "lint/correctness/noVoidElementsWithChildren"
7591
7801
  | "lint/correctness/noVoidTypeReturn"
7802
+ | "lint/correctness/noVueDataObjectDeclaration"
7803
+ | "lint/correctness/noVueDuplicateKeys"
7804
+ | "lint/correctness/noVueReservedKeys"
7805
+ | "lint/correctness/noVueReservedProps"
7806
+ | "lint/correctness/noVueSetupPropsReactivityLoss"
7592
7807
  | "lint/correctness/useExhaustiveDependencies"
7593
7808
  | "lint/correctness/useGraphqlNamedOperations"
7594
7809
  | "lint/correctness/useHookAtTopLevel"
@@ -7599,6 +7814,8 @@ type Category =
7599
7814
  | "lint/correctness/useJsxKeyInIterable"
7600
7815
  | "lint/correctness/useParseIntRadix"
7601
7816
  | "lint/correctness/useQwikClasslist"
7817
+ | "lint/correctness/useQwikMethodUsage"
7818
+ | "lint/correctness/useQwikValidLexicalScope"
7602
7819
  | "lint/correctness/useSingleJsDocAsterisk"
7603
7820
  | "lint/correctness/useUniqueElementIds"
7604
7821
  | "lint/correctness/useValidForDirection"
@@ -7608,12 +7825,10 @@ type Category =
7608
7825
  | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
7609
7826
  | "lint/nursery/noColorInvalidHex"
7610
7827
  | "lint/nursery/noContinue"
7611
- | "lint/nursery/noDeprecatedImports"
7612
7828
  | "lint/nursery/noDeprecatedMediaType"
7613
7829
  | "lint/nursery/noDivRegex"
7614
7830
  | "lint/nursery/noDuplicateArgumentNames"
7615
7831
  | "lint/nursery/noDuplicateAttributes"
7616
- | "lint/nursery/noDuplicateDependencies"
7617
7832
  | "lint/nursery/noDuplicateEnumValueNames"
7618
7833
  | "lint/nursery/noDuplicateEnumValues"
7619
7834
  | "lint/nursery/noDuplicateFieldDefinitionNames"
@@ -7621,7 +7836,6 @@ type Category =
7621
7836
  | "lint/nursery/noDuplicateInputFieldNames"
7622
7837
  | "lint/nursery/noDuplicateVariableNames"
7623
7838
  | "lint/nursery/noDuplicatedSpreadProps"
7624
- | "lint/nursery/noEmptySource"
7625
7839
  | "lint/nursery/noEqualsToNull"
7626
7840
  | "lint/nursery/noExcessiveClassesPerFile"
7627
7841
  | "lint/nursery/noExcessiveLinesPerFile"
@@ -7630,9 +7844,7 @@ type Category =
7630
7844
  | "lint/nursery/noForIn"
7631
7845
  | "lint/nursery/noHexColors"
7632
7846
  | "lint/nursery/noImplicitCoercion"
7633
- | "lint/nursery/noImportCycles"
7634
7847
  | "lint/nursery/noIncrementDecrement"
7635
- | "lint/nursery/noJsxLiterals"
7636
7848
  | "lint/nursery/noJsxPropsBind"
7637
7849
  | "lint/nursery/noLeakedRender"
7638
7850
  | "lint/nursery/noMissingGenericFamilyKeyword"
@@ -7640,10 +7852,8 @@ type Category =
7640
7852
  | "lint/nursery/noMultiAssign"
7641
7853
  | "lint/nursery/noMultiStr"
7642
7854
  | "lint/nursery/noNestedPromises"
7643
- | "lint/nursery/noNextAsyncClientComponent"
7644
7855
  | "lint/nursery/noParametersOnlyUsedInRecursion"
7645
7856
  | "lint/nursery/noProto"
7646
- | "lint/nursery/noReactForwardRef"
7647
7857
  | "lint/nursery/noRedundantDefaultExport"
7648
7858
  | "lint/nursery/noReturnAssign"
7649
7859
  | "lint/nursery/noRootType"
@@ -7654,30 +7864,19 @@ type Category =
7654
7864
  | "lint/nursery/noUndeclaredEnvVars"
7655
7865
  | "lint/nursery/noUnknownAttribute"
7656
7866
  | "lint/nursery/noUnnecessaryConditions"
7657
- | "lint/nursery/noUnresolvedImports"
7658
- | "lint/nursery/noUnusedExpressions"
7659
7867
  | "lint/nursery/noUnwantedPolyfillio"
7660
7868
  | "lint/nursery/noUselessBackrefInRegex"
7661
- | "lint/nursery/noUselessCatchBinding"
7662
7869
  | "lint/nursery/noUselessReturn"
7663
- | "lint/nursery/noUselessUndefined"
7664
7870
  | "lint/nursery/noVueArrowFuncInWatch"
7665
- | "lint/nursery/noVueDataObjectDeclaration"
7666
- | "lint/nursery/noVueDuplicateKeys"
7667
7871
  | "lint/nursery/noVueOptionsApi"
7668
- | "lint/nursery/noVueReservedKeys"
7669
- | "lint/nursery/noVueReservedProps"
7670
- | "lint/nursery/noVueSetupPropsReactivityLoss"
7671
7872
  | "lint/nursery/noVueVIfWithVFor"
7672
7873
  | "lint/nursery/useArraySortCompare"
7673
7874
  | "lint/nursery/useAwaitThenable"
7674
7875
  | "lint/nursery/useBiomeSuppressionComment"
7675
- | "lint/nursery/useConsistentArrowReturn"
7676
7876
  | "lint/nursery/useConsistentEnumValueType"
7677
7877
  | "lint/nursery/useConsistentGraphqlDescriptions"
7678
7878
  | "lint/nursery/useConsistentMethodSignatures"
7679
7879
  | "lint/nursery/useConsistentObjectDefinition"
7680
- | "lint/nursery/useDeprecatedDate"
7681
7880
  | "lint/nursery/useDestructuring"
7682
7881
  | "lint/nursery/useErrorCause"
7683
7882
  | "lint/nursery/useExhaustiveSwitchCases"
@@ -7691,13 +7890,15 @@ type Category =
7691
7890
  | "lint/nursery/useJsxCurlyBraceConvention"
7692
7891
  | "lint/nursery/useLoneAnonymousOperation"
7693
7892
  | "lint/nursery/useLoneExecutableDefinition"
7694
- | "lint/nursery/useMaxParams"
7695
- | "lint/nursery/useQwikMethodUsage"
7696
- | "lint/nursery/useQwikValidLexicalScope"
7697
7893
  | "lint/nursery/useRegexpExec"
7698
7894
  | "lint/nursery/useRequiredScripts"
7699
7895
  | "lint/nursery/useSortedClasses"
7700
7896
  | "lint/nursery/useSpread"
7897
+ | "lint/nursery/useUniqueArgumentNames"
7898
+ | "lint/nursery/useUniqueFieldDefinitionNames"
7899
+ | "lint/nursery/useUniqueGraphqlOperationName"
7900
+ | "lint/nursery/useUniqueInputFieldNames"
7901
+ | "lint/nursery/useUniqueVariableNames"
7701
7902
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
7702
7903
  | "lint/nursery/useVueConsistentVBindStyle"
7703
7904
  | "lint/nursery/useVueConsistentVOnStyle"
@@ -7745,6 +7946,7 @@ type Category =
7745
7946
  | "lint/style/noHeadElement"
7746
7947
  | "lint/style/noImplicitBoolean"
7747
7948
  | "lint/style/noInferrableTypes"
7949
+ | "lint/style/noJsxLiterals"
7748
7950
  | "lint/style/noMagicNumbers"
7749
7951
  | "lint/style/noNamespace"
7750
7952
  | "lint/style/noNegationElse"
@@ -7770,6 +7972,7 @@ type Category =
7770
7972
  | "lint/style/useCollapsedIf"
7771
7973
  | "lint/style/useComponentExportOnlyModules"
7772
7974
  | "lint/style/useConsistentArrayType"
7975
+ | "lint/style/useConsistentArrowReturn"
7773
7976
  | "lint/style/useConsistentBuiltinInstantiation"
7774
7977
  | "lint/style/useConsistentCurlyBraces"
7775
7978
  | "lint/style/useConsistentMemberAccessibility"
@@ -7828,6 +8031,7 @@ type Category =
7828
8031
  | "lint/suspicious/noConstantBinaryExpressions"
7829
8032
  | "lint/suspicious/noControlCharactersInRegex"
7830
8033
  | "lint/suspicious/noDebugger"
8034
+ | "lint/suspicious/noDeprecatedImports"
7831
8035
  | "lint/suspicious/noDocumentCookie"
7832
8036
  | "lint/suspicious/noDocumentImportInPage"
7833
8037
  | "lint/suspicious/noDoubleEquals"
@@ -7835,6 +8039,7 @@ type Category =
7835
8039
  | "lint/suspicious/noDuplicateCase"
7836
8040
  | "lint/suspicious/noDuplicateClassMembers"
7837
8041
  | "lint/suspicious/noDuplicateCustomProperties"
8042
+ | "lint/suspicious/noDuplicateDependencies"
7838
8043
  | "lint/suspicious/noDuplicateElseIf"
7839
8044
  | "lint/suspicious/noDuplicateFields"
7840
8045
  | "lint/suspicious/noDuplicateFontNames"
@@ -7847,6 +8052,7 @@ type Category =
7847
8052
  | "lint/suspicious/noEmptyBlock"
7848
8053
  | "lint/suspicious/noEmptyBlockStatements"
7849
8054
  | "lint/suspicious/noEmptyInterface"
8055
+ | "lint/suspicious/noEmptySource"
7850
8056
  | "lint/suspicious/noEvolvingTypes"
7851
8057
  | "lint/suspicious/noExplicitAny"
7852
8058
  | "lint/suspicious/noExportsInTest"
@@ -7860,6 +8066,7 @@ type Category =
7860
8066
  | "lint/suspicious/noHeadImportInDocument"
7861
8067
  | "lint/suspicious/noImplicitAnyLet"
7862
8068
  | "lint/suspicious/noImportAssign"
8069
+ | "lint/suspicious/noImportCycles"
7863
8070
  | "lint/suspicious/noImportantInKeyframe"
7864
8071
  | "lint/suspicious/noIrregularWhitespace"
7865
8072
  | "lint/suspicious/noLabelVar"
@@ -7871,6 +8078,7 @@ type Category =
7871
8078
  | "lint/suspicious/noOctalEscape"
7872
8079
  | "lint/suspicious/noPrototypeBuiltins"
7873
8080
  | "lint/suspicious/noQuickfixBiome"
8081
+ | "lint/suspicious/noReactForwardRef"
7874
8082
  | "lint/suspicious/noReactSpecificProps"
7875
8083
  | "lint/suspicious/noRedeclare"
7876
8084
  | "lint/suspicious/noRedundantUseStrict"
@@ -7887,6 +8095,7 @@ type Category =
7887
8095
  | "lint/suspicious/noUnknownAtRules"
7888
8096
  | "lint/suspicious/noUnsafeDeclarationMerging"
7889
8097
  | "lint/suspicious/noUnsafeNegation"
8098
+ | "lint/suspicious/noUnusedExpressions"
7890
8099
  | "lint/suspicious/noUselessEscapeInString"
7891
8100
  | "lint/suspicious/noUselessRegexBackrefs"
7892
8101
  | "lint/suspicious/noVar"
@@ -7895,6 +8104,7 @@ type Category =
7895
8104
  | "lint/suspicious/useAwait"
7896
8105
  | "lint/suspicious/useBiomeIgnoreFolder"
7897
8106
  | "lint/suspicious/useDefaultSwitchClauseLast"
8107
+ | "lint/suspicious/useDeprecatedDate"
7898
8108
  | "lint/suspicious/useErrorMessage"
7899
8109
  | "lint/suspicious/useGetterReturn"
7900
8110
  | "lint/suspicious/useGoogleFontDisplay"
@@ -7905,6 +8115,8 @@ type Category =
7905
8115
  | "lint/suspicious/useNumberToFixedDigitsArgument"
7906
8116
  | "lint/suspicious/useStaticResponseMethods"
7907
8117
  | "lint/suspicious/useStrictMode"
8118
+ | "assist/source/noDuplicateClasses"
8119
+ | "assist/source/useSortedInterfaceMembers"
7908
8120
  | "assist/source/useSortedKeys"
7909
8121
  | "assist/source/useSortedProperties"
7910
8122
  | "assist/source/useSortedAttributes"
@@ -8067,7 +8279,8 @@ Target paths must be absolute.
8067
8279
  targetPaths: BiomePath[];
8068
8280
  };
8069
8281
  }
8070
- | "project";
8282
+ | "project"
8283
+ | "typeAware";
8071
8284
  interface ScanProjectResult {
8072
8285
  /**
8073
8286
  * A list of child configuration files found inside the project
@@ -8089,6 +8302,7 @@ interface Duration {
8089
8302
  interface OpenFileParams {
8090
8303
  content: FileContent;
8091
8304
  documentFileSource?: DocumentFileSource;
8305
+ inlineConfig?: Configuration;
8092
8306
  path: BiomePath;
8093
8307
  /**
8094
8308
  * Set to `true` to persist the node cache used during parsing, in order to
@@ -8129,6 +8343,12 @@ interface JsonFileSource {
8129
8343
  variant: JsonFileVariant;
8130
8344
  }
8131
8345
  interface CssFileSource {
8346
+ /**
8347
+ * Used to mark if the CSS is embedded inside some particular files. This affects the parsing.
8348
+ For example, if inside a styled`` literal, a top-level declaration is allowed.
8349
+ */
8350
+ embeddingKind: EmbeddingKind2;
8351
+ language: CssFileLanguage;
8132
8352
  variant: CssVariant;
8133
8353
  }
8134
8354
  interface GraphqlFileSource {
@@ -8141,7 +8361,6 @@ interface GritFileSource {
8141
8361
  variant: GritVariant;
8142
8362
  }
8143
8363
  type EmbeddingKind =
8144
- | "Svelte"
8145
8364
  | "None"
8146
8365
  | {
8147
8366
  Astro: {
@@ -8153,17 +8372,31 @@ type EmbeddingKind =
8153
8372
  }
8154
8373
  | {
8155
8374
  Vue: {
8375
+ /**
8376
+ * Where the bindings are defined
8377
+ */
8378
+ is_source: boolean;
8156
8379
  /**
8157
8380
  * Whether the script is inside script tag with setup attribute
8158
8381
  */
8159
8382
  setup: boolean;
8160
8383
  };
8384
+ }
8385
+ | {
8386
+ Svelte: {
8387
+ /**
8388
+ * Where the bindings are defined
8389
+ */
8390
+ is_source: boolean;
8391
+ };
8161
8392
  };
8162
8393
  type Language = "javaScript" | { typeScript: { definition_file: boolean } };
8163
8394
  type ModuleKind = "script" | "module";
8164
8395
  type LanguageVariant = "standard" | "standardRestricted" | "jsx";
8165
8396
  type LanguageVersion = "eS2022" | "eSNext";
8166
8397
  type JsonFileVariant = "standard" | "jsonc";
8398
+ type EmbeddingKind2 = "None" | "Styled" | { Html: EmbeddingHtmlKind };
8399
+ type CssFileLanguage = "css" | "scss";
8167
8400
  type CssVariant = "standard" | "cssModules" | "tailwindCss";
8168
8401
  type GraphqlVariant = "standard";
8169
8402
  type HtmlVariant =
@@ -8172,12 +8405,14 @@ type HtmlVariant =
8172
8405
  | "Vue"
8173
8406
  | "Svelte";
8174
8407
  type GritVariant = "Standard";
8408
+ type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
8175
8409
  type HtmlTextExpressions = "None" | "Single" | "Double";
8176
8410
  interface OpenFileResult {
8177
8411
  diagnostics: Diagnostic[];
8178
8412
  }
8179
8413
  interface ChangeFileParams {
8180
8414
  content: string;
8415
+ inlineConfig?: Configuration;
8181
8416
  path: BiomePath;
8182
8417
  projectKey: ProjectKey;
8183
8418
  version: number;
@@ -8211,6 +8446,7 @@ When this field is empty, Biome checks only `files.includes`.
8211
8446
  type IgnoreKind = "path" | "ancestors";
8212
8447
  interface UpdateModuleGraphParams {
8213
8448
  path: BiomePath;
8449
+ projectKey: ProjectKey;
8214
8450
  /**
8215
8451
  * The kind of update to apply to the module graph
8216
8452
  */
@@ -8312,6 +8548,7 @@ interface PullDiagnosticsParams {
8312
8548
  * Rules to apply on top of the configuration
8313
8549
  */
8314
8550
  enabledRules?: AnalyzerSelector[];
8551
+ inlineConfig?: Configuration;
8315
8552
  only?: AnalyzerSelector[];
8316
8553
  path: BiomePath;
8317
8554
  projectKey: ProjectKey;
@@ -8332,6 +8569,7 @@ interface PullDiagnosticsResult {
8332
8569
  interface PullActionsParams {
8333
8570
  categories?: RuleCategories;
8334
8571
  enabledRules?: AnalyzerSelector[];
8572
+ inlineConfig?: Configuration;
8335
8573
  only?: AnalyzerSelector[];
8336
8574
  path: BiomePath;
8337
8575
  projectKey: ProjectKey;
@@ -8379,6 +8617,7 @@ type Applicability = "always" | "maybeIncorrect";
8379
8617
  interface PullDiagnosticsAndActionsParams {
8380
8618
  categories?: RuleCategories;
8381
8619
  enabledRules?: AnalyzerSelector[];
8620
+ inlineConfig?: Configuration;
8382
8621
  only?: AnalyzerSelector[];
8383
8622
  path: BiomePath;
8384
8623
  projectKey: ProjectKey;
@@ -8388,6 +8627,7 @@ interface PullDiagnosticsAndActionsResult {
8388
8627
  diagnostics: [Diagnostic, CodeAction[]][];
8389
8628
  }
8390
8629
  interface FormatFileParams {
8630
+ inlineConfig?: Configuration;
8391
8631
  path: BiomePath;
8392
8632
  projectKey: ProjectKey;
8393
8633
  }
@@ -8408,11 +8648,13 @@ interface SourceMarker {
8408
8648
  source: TextSize;
8409
8649
  }
8410
8650
  interface FormatRangeParams {
8651
+ inlineConfig?: Configuration;
8411
8652
  path: BiomePath;
8412
8653
  projectKey: ProjectKey;
8413
8654
  range: TextRange;
8414
8655
  }
8415
8656
  interface FormatOnTypeParams {
8657
+ inlineConfig?: Configuration;
8416
8658
  offset: TextSize;
8417
8659
  path: BiomePath;
8418
8660
  projectKey: ProjectKey;
@@ -8423,6 +8665,7 @@ interface FixFileParams {
8423
8665
  */
8424
8666
  enabledRules?: AnalyzerSelector[];
8425
8667
  fixFileMode: FixFileMode;
8668
+ inlineConfig?: Configuration;
8426
8669
  only?: AnalyzerSelector[];
8427
8670
  path: BiomePath;
8428
8671
  projectKey: ProjectKey;
@@ -8480,7 +8723,7 @@ interface ParsePatternParams {
8480
8723
  defaultLanguage: GritTargetLanguage;
8481
8724
  pattern: string;
8482
8725
  }
8483
- type GritTargetLanguage = "CSS" | "JavaScript";
8726
+ type GritTargetLanguage = "CSS" | "JavaScript" | "JSON";
8484
8727
  interface ParsePatternResult {
8485
8728
  patternId: PatternId;
8486
8729
  }