@jimmy.codes/eslint-config 5.10.0 → 5.12.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/dist/index.d.ts CHANGED
@@ -11,7 +11,6 @@ import * as _eslint_react_kit from '@eslint-react/kit';
11
11
  import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
12
12
  import * as eslint_plugin_regexp from 'eslint-plugin-regexp';
13
13
  import * as eslint_plugin_n from 'eslint-plugin-n';
14
- import * as eslint_plugin_import_x from 'eslint-plugin-import-x';
15
14
  import * as eslint_plugin_import_x_rules_no_import_module_exports from 'eslint-plugin-import-x/rules/no-import-module-exports';
16
15
  import * as eslint_plugin_import_x_rules_dynamic_import_chunkname from 'eslint-plugin-import-x/rules/dynamic-import-chunkname';
17
16
  import * as eslint_plugin_import_x_rules_no_useless_path_segments from 'eslint-plugin-import-x/rules/no-useless-path-segments';
@@ -41,7 +40,7 @@ import * as eslint_plugin_import_x_rules_namespace from 'eslint-plugin-import-x/
41
40
  import * as eslint_plugin_import_x_rules_named from 'eslint-plugin-import-x/rules/named';
42
41
  import * as eslint_plugin_import_x_utils from 'eslint-plugin-import-x/utils';
43
42
  import * as eslint_plugin_import_x_rules_no_unresolved from 'eslint-plugin-import-x/rules/no-unresolved';
44
- import * as eslint_plugin_import_x_types from 'eslint-plugin-import-x/types';
43
+ import * as eslint_plugin_import_x from 'eslint-plugin-import-x';
45
44
 
46
45
  declare function nextjsConfig(): Promise<{
47
46
  files: string[];
@@ -109,11 +108,7 @@ declare function playwrightConfig(): Promise<{
109
108
  "playwright/no-useless-not": "error";
110
109
  "playwright/no-wait-for-selector": "error";
111
110
  "playwright/no-wait-for-timeout": "error";
112
- "playwright/valid-title": ["error", {
113
- mustMatch: {
114
- it: string;
115
- };
116
- }];
111
+ "playwright/valid-title": "off";
117
112
  };
118
113
  ignores?: string[];
119
114
  language?: string;
@@ -479,6 +474,7 @@ declare function tanstackQueryConfig(): Promise<{
479
474
  "@tanstack/query/infinite-query-property-order": "error";
480
475
  "@tanstack/query/no-rest-destructuring": "error";
481
476
  "@tanstack/query/no-unstable-deps": "error";
477
+ "@tanstack/query/no-void-query-fn": "error";
482
478
  "@tanstack/query/stable-query-client": "error";
483
479
  };
484
480
  }[]>;
@@ -1667,7 +1663,9 @@ declare function reactConfig(): Promise<{
1667
1663
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1668
1664
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1669
1665
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1666
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1670
1667
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1668
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1671
1669
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1672
1670
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1673
1671
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1746,7 +1744,9 @@ declare function reactConfig(): Promise<{
1746
1744
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1747
1745
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1748
1746
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1747
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1749
1748
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1749
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1750
1750
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1751
1751
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1752
1752
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1825,7 +1825,9 @@ declare function reactConfig(): Promise<{
1825
1825
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1826
1826
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1827
1827
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1828
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1828
1829
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1830
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1829
1831
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1830
1832
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1831
1833
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1902,7 +1904,9 @@ declare function reactConfig(): Promise<{
1902
1904
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1903
1905
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1904
1906
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1907
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1905
1908
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1909
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1906
1910
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1907
1911
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1908
1912
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2588,7 +2592,7 @@ interface RuleOptions {
2588
2592
  */
2589
2593
  '@eslint-react/jsx-no-undef'?: Linter.RuleEntry<[]>
2590
2594
  /**
2591
- * Marks React variables as used when JSX is used in the file.
2595
+ * Marks React variables as used when JSX is used.
2592
2596
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
2593
2597
  */
2594
2598
  '@eslint-react/jsx-uses-react'?: Linter.RuleEntry<[]>
@@ -2663,7 +2667,7 @@ interface RuleOptions {
2663
2667
  */
2664
2668
  '@eslint-react/no-children-to-array'?: Linter.RuleEntry<[]>
2665
2669
  /**
2666
- * Disallow class components.
2670
+ * Disallow class components except for error boundaries.
2667
2671
  * @see https://eslint-react.xyz/docs/rules/no-class-component
2668
2672
  */
2669
2673
  '@eslint-react/no-class-component'?: Linter.RuleEntry<[]>
@@ -2762,6 +2766,11 @@ interface RuleOptions {
2762
2766
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
2763
2767
  */
2764
2768
  '@eslint-react/no-missing-key'?: Linter.RuleEntry<[]>
2769
+ /**
2770
+ * Prevents incorrect usage of `captureOwnerStack`.
2771
+ * @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
2772
+ */
2773
+ '@eslint-react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>
2765
2774
  /**
2766
2775
  * Disallow nesting component definitions inside other components.
2767
2776
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
@@ -2772,6 +2781,11 @@ interface RuleOptions {
2772
2781
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2773
2782
  */
2774
2783
  '@eslint-react/no-nested-components'?: Linter.RuleEntry<[]>
2784
+ /**
2785
+ * Disallow nesting lazy component declarations inside other components.
2786
+ * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2787
+ */
2788
+ '@eslint-react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>
2775
2789
  /**
2776
2790
  * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
2777
2791
  * @see https://eslint-react.xyz/docs/rules/no-prop-types
@@ -2788,7 +2802,7 @@ interface RuleOptions {
2788
2802
  */
2789
2803
  '@eslint-react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2790
2804
  /**
2791
- * Disallows calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
2805
+ * Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
2792
2806
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2793
2807
  */
2794
2808
  '@eslint-react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
@@ -2798,7 +2812,7 @@ interface RuleOptions {
2798
2812
  */
2799
2813
  '@eslint-react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
2800
2814
  /**
2801
- * Disallow deprecated string `refs`.
2815
+ * Replaces string refs with callback refs.
2802
2816
  * @see https://eslint-react.xyz/docs/rules/no-string-refs
2803
2817
  */
2804
2818
  '@eslint-react/no-string-refs'?: Linter.RuleEntry<[]>
@@ -3507,6 +3521,11 @@ interface RuleOptions {
3507
3521
  * @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
3508
3522
  */
3509
3523
  '@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
3524
+ /**
3525
+ * Ensures queryFn returns a non-undefined value
3526
+ * @see https://tanstack.com/query/latest/docs/eslint/no-void-query-fn
3527
+ */
3528
+ '@tanstack/query/no-void-query-fn'?: Linter.RuleEntry<[]>
3510
3529
  /**
3511
3530
  * Makes sure that QueryClient is stable
3512
3531
  * @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
@@ -4702,233 +4721,233 @@ interface RuleOptions {
4702
4721
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
4703
4722
  /**
4704
4723
  * Enforce or ban the use of inline type-only markers for named imports.
4705
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/consistent-type-specifier-style.md
4724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
4706
4725
  */
4707
4726
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
4708
4727
  /**
4709
4728
  * Ensure a default export is present, given a default import.
4710
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/default.md
4729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
4711
4730
  */
4712
4731
  'import-x/default'?: Linter.RuleEntry<[]>
4713
4732
  /**
4714
4733
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4715
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/dynamic-import-chunkname.md
4734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
4716
4735
  */
4717
4736
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
4718
4737
  /**
4719
4738
  * Forbid any invalid exports, i.e. re-export of the same name.
4720
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/export.md
4739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
4721
4740
  */
4722
4741
  'import-x/export'?: Linter.RuleEntry<[]>
4723
4742
  /**
4724
4743
  * Ensure all exports appear after other statements.
4725
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/exports-last.md
4744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
4726
4745
  */
4727
4746
  'import-x/exports-last'?: Linter.RuleEntry<[]>
4728
4747
  /**
4729
4748
  * Ensure consistent use of file extension within the import path.
4730
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/extensions.md
4749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
4731
4750
  */
4732
4751
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
4733
4752
  /**
4734
4753
  * Ensure all imports appear before other statements.
4735
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/first.md
4754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
4736
4755
  */
4737
4756
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
4738
4757
  /**
4739
4758
  * Prefer named exports to be grouped together in a single export declaration.
4740
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/group-exports.md
4759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
4741
4760
  */
4742
4761
  'import-x/group-exports'?: Linter.RuleEntry<[]>
4743
4762
  /**
4744
4763
  * Replaced by `import-x/first`.
4745
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/imports-first.md
4764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
4746
4765
  * @deprecated
4747
4766
  */
4748
4767
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
4749
4768
  /**
4750
4769
  * Enforce the maximum number of dependencies a module can have.
4751
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/max-dependencies.md
4770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
4752
4771
  */
4753
4772
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
4754
4773
  /**
4755
4774
  * Ensure named imports correspond to a named export in the remote file.
4756
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/named.md
4775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
4757
4776
  */
4758
4777
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
4759
4778
  /**
4760
4779
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4761
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/namespace.md
4780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
4762
4781
  */
4763
4782
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
4764
4783
  /**
4765
4784
  * Enforce a newline after import statements.
4766
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/newline-after-import.md
4785
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
4767
4786
  */
4768
4787
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
4769
4788
  /**
4770
4789
  * Forbid import of modules using absolute paths.
4771
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-absolute-path.md
4790
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
4772
4791
  */
4773
4792
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
4774
4793
  /**
4775
4794
  * Forbid AMD `require` and `define` calls.
4776
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-amd.md
4795
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
4777
4796
  */
4778
4797
  'import-x/no-amd'?: Linter.RuleEntry<[]>
4779
4798
  /**
4780
4799
  * Forbid anonymous values as default exports.
4781
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-anonymous-default-export.md
4800
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
4782
4801
  */
4783
4802
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
4784
4803
  /**
4785
4804
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4786
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-commonjs.md
4805
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
4787
4806
  */
4788
4807
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
4789
4808
  /**
4790
4809
  * Forbid a module from importing a module with a dependency path back to itself.
4791
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-cycle.md
4810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
4792
4811
  */
4793
4812
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
4794
4813
  /**
4795
4814
  * Forbid default exports.
4796
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-default-export.md
4815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
4797
4816
  */
4798
4817
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
4799
4818
  /**
4800
4819
  * Forbid imported names marked with `@deprecated` documentation tag.
4801
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-deprecated.md
4820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
4802
4821
  */
4803
4822
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
4804
4823
  /**
4805
4824
  * Forbid repeated import of the same module in multiple places.
4806
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-duplicates.md
4825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
4807
4826
  */
4808
4827
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
4809
4828
  /**
4810
4829
  * Forbid `require()` calls with expressions.
4811
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-dynamic-require.md
4830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
4812
4831
  */
4813
4832
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
4814
4833
  /**
4815
4834
  * Forbid empty named import blocks.
4816
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-empty-named-blocks.md
4835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
4817
4836
  */
4818
4837
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
4819
4838
  /**
4820
4839
  * Forbid the use of extraneous packages.
4821
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-extraneous-dependencies.md
4840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
4822
4841
  */
4823
4842
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
4824
4843
  /**
4825
4844
  * Forbid import statements with CommonJS module.exports.
4826
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-import-module-exports.md
4845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
4827
4846
  */
4828
4847
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
4829
4848
  /**
4830
4849
  * Forbid importing the submodules of other modules.
4831
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-internal-modules.md
4850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
4832
4851
  */
4833
4852
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
4834
4853
  /**
4835
4854
  * Forbid the use of mutable exports with `var` or `let`.
4836
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-mutable-exports.md
4855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
4837
4856
  */
4838
4857
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
4839
4858
  /**
4840
4859
  * Forbid use of exported name as identifier of default export.
4841
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default.md
4860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
4842
4861
  */
4843
4862
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
4844
4863
  /**
4845
4864
  * Forbid use of exported name as property of default export.
4846
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default-member.md
4865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
4847
4866
  */
4848
4867
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
4849
4868
  /**
4850
4869
  * Forbid named default exports.
4851
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-default.md
4870
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
4852
4871
  */
4853
4872
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
4854
4873
  /**
4855
4874
  * Forbid named exports.
4856
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-export.md
4875
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
4857
4876
  */
4858
4877
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
4859
4878
  /**
4860
4879
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4861
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-namespace.md
4880
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
4862
4881
  */
4863
4882
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
4864
4883
  /**
4865
4884
  * Forbid Node.js builtin modules.
4866
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-nodejs-modules.md
4885
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
4867
4886
  */
4868
4887
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
4869
4888
  /**
4870
4889
  * Forbid importing packages through relative paths.
4871
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-packages.md
4890
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
4872
4891
  */
4873
4892
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
4874
4893
  /**
4875
4894
  * Forbid importing modules from parent directories.
4876
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-parent-imports.md
4895
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
4877
4896
  */
4878
4897
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
4879
4898
  /**
4880
4899
  * Forbid importing a default export by a different name.
4881
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-rename-default.md
4900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
4882
4901
  */
4883
4902
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
4884
4903
  /**
4885
4904
  * Enforce which files can be imported in a given folder.
4886
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-restricted-paths.md
4905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
4887
4906
  */
4888
4907
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
4889
4908
  /**
4890
4909
  * Forbid a module from importing itself.
4891
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-self-import.md
4910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
4892
4911
  */
4893
4912
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
4894
4913
  /**
4895
4914
  * Forbid unassigned imports.
4896
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unassigned-import.md
4915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
4897
4916
  */
4898
4917
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
4899
4918
  /**
4900
4919
  * Ensure imports point to a file/module that can be resolved.
4901
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unresolved.md
4920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
4902
4921
  */
4903
4922
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
4904
4923
  /**
4905
4924
  * Forbid modules without exports, or exports without matching import in another module.
4906
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unused-modules.md
4925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
4907
4926
  */
4908
4927
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
4909
4928
  /**
4910
4929
  * Forbid unnecessary path segments in import and require statements.
4911
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-useless-path-segments.md
4930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
4912
4931
  */
4913
4932
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
4914
4933
  /**
4915
4934
  * Forbid webpack loader syntax in imports.
4916
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-webpack-loader-syntax.md
4935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
4917
4936
  */
4918
4937
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
4919
4938
  /**
4920
4939
  * Enforce a convention in module import order.
4921
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/order.md
4940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
4922
4941
  */
4923
4942
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
4924
4943
  /**
4925
4944
  * Prefer a default export if module exports a single name or multiple names.
4926
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/prefer-default-export.md
4945
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
4927
4946
  */
4928
4947
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
4929
4948
  /**
4930
4949
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4931
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/unambiguous.md
4950
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
4932
4951
  */
4933
4952
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
4934
4953
  /**
@@ -9031,6 +9050,11 @@ interface RuleOptions {
9031
9050
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
9032
9051
  */
9033
9052
  'vitest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
9053
+ /**
9054
+ * enforce using a function as a describe title over an equivalent string
9055
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-describe-function-title.md
9056
+ */
9057
+ 'vitest/prefer-describe-function-title'?: Linter.RuleEntry<[]>
9034
9058
  /**
9035
9059
  * enforce using `each` rather than manual loops
9036
9060
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
@@ -11206,6 +11230,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
11206
11230
  // ----- @typescript-eslint/no-unnecessary-type-assertion -----
11207
11231
  type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
11208
11232
 
11233
+ checkLiteralConstAssertions?: boolean
11234
+
11209
11235
  typesToIgnore?: string[]
11210
11236
  }]
11211
11237
  // ----- @typescript-eslint/no-unused-expressions -----
@@ -13898,7 +13924,7 @@ type NoEmpty = []|[{
13898
13924
  }]
13899
13925
  // ----- no-empty-function -----
13900
13926
  type NoEmptyFunction = []|[{
13901
- allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
13927
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
13902
13928
  }]
13903
13929
  // ----- no-empty-pattern -----
13904
13930
  type NoEmptyPattern = []|[{
@@ -14100,13 +14126,9 @@ type NoRestrictedModules = ((string | {
14100
14126
  }[])
14101
14127
  // ----- no-restricted-properties -----
14102
14128
  type NoRestrictedProperties = ({
14103
- object: string
14104
- property?: string
14105
- message?: string
14129
+ [k: string]: unknown | undefined
14106
14130
  } | {
14107
- object?: string
14108
- property: string
14109
- message?: string
14131
+ [k: string]: unknown | undefined
14110
14132
  })[]
14111
14133
  // ----- no-restricted-syntax -----
14112
14134
  type NoRestrictedSyntax = (string | {
@@ -14947,96 +14969,6 @@ type PerfectionistSortHeritageClauses = []|[{
14947
14969
  newlinesBetween?: ("ignore" | "always" | "never")
14948
14970
  })[]
14949
14971
  }]
14950
- // ----- perfectionist/sort-imports -----
14951
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
14952
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
14953
-
14954
- fallbackSort?: {
14955
-
14956
- order?: ("asc" | "desc")
14957
-
14958
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14959
- [k: string]: unknown | undefined
14960
- }
14961
-
14962
- specialCharacters?: ("remove" | "trim" | "keep")
14963
-
14964
- ignoreCase?: boolean
14965
-
14966
- alphabet?: string
14967
-
14968
- locales?: (string | string[])
14969
-
14970
- order?: ("asc" | "desc")
14971
-
14972
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14973
-
14974
- customGroups?: {
14975
-
14976
- value?: {
14977
- [k: string]: unknown | undefined
14978
- }
14979
-
14980
- type?: {
14981
- [k: string]: unknown | undefined
14982
- }
14983
- }
14984
-
14985
- maxLineLength?: number
14986
-
14987
- sortSideEffects?: boolean
14988
-
14989
- environment?: ("node" | "bun")
14990
-
14991
- tsconfigRootDir?: string
14992
-
14993
- partitionByComment?: (boolean | (({
14994
- pattern?: string
14995
- flags?: string
14996
- } | string)[] | ({
14997
- pattern?: string
14998
- flags?: string
14999
- } | string)) | {
15000
- block?: (boolean | (({
15001
- pattern?: string
15002
- flags?: string
15003
- } | string)[] | ({
15004
- pattern?: string
15005
- flags?: string
15006
- } | string)))
15007
- line?: (boolean | (({
15008
- pattern?: string
15009
- flags?: string
15010
- } | string)[] | ({
15011
- pattern?: string
15012
- flags?: string
15013
- } | string)))
15014
- })
15015
-
15016
- partitionByNewLine?: boolean
15017
-
15018
- newlinesBetween?: ("ignore" | "always" | "never")
15019
-
15020
- internalPattern?: (({
15021
- pattern?: string
15022
- flags?: string
15023
- } | string)[] | ({
15024
- pattern?: string
15025
- flags?: string
15026
- } | string))
15027
-
15028
- groups?: (string | string[] | {
15029
-
15030
- newlinesBetween?: ("ignore" | "always" | "never")
15031
- })[]
15032
- })
15033
- type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
15034
- [k: string]: unknown | undefined
15035
- } | _PerfectionistSortImports_IsLineLength)
15036
- interface _PerfectionistSortImports_IsLineLength {
15037
- type: "line-length"
15038
- [k: string]: unknown | undefined
15039
- }
15040
14972
  // ----- perfectionist/sort-interfaces -----
15041
14973
  type PerfectionistSortInterfaces = {
15042
14974
 
@@ -15649,7 +15581,7 @@ type PerfectionistSortModules = []|[{
15649
15581
  })[]
15650
15582
  }]
15651
15583
  // ----- perfectionist/sort-named-exports -----
15652
- type PerfectionistSortNamedExports = []|[{
15584
+ type PerfectionistSortNamedExports = {
15653
15585
 
15654
15586
  fallbackSort?: {
15655
15587
 
@@ -15675,6 +15607,68 @@ type PerfectionistSortNamedExports = []|[{
15675
15607
 
15676
15608
  ignoreAlias?: boolean
15677
15609
 
15610
+ customGroups?: ({
15611
+
15612
+ newlinesInside?: ("always" | "never")
15613
+
15614
+ fallbackSort?: {
15615
+
15616
+ order?: ("asc" | "desc")
15617
+
15618
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15619
+ [k: string]: unknown | undefined
15620
+ }
15621
+
15622
+ groupName?: string
15623
+
15624
+ order?: ("asc" | "desc")
15625
+
15626
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15627
+ anyOf?: {
15628
+
15629
+ modifiers?: ("value" | "type")[]
15630
+
15631
+ selector?: "export"
15632
+
15633
+ elementNamePattern?: (({
15634
+ pattern?: string
15635
+ flags?: string
15636
+ } | string)[] | ({
15637
+ pattern?: string
15638
+ flags?: string
15639
+ } | string))
15640
+ }[]
15641
+ } | {
15642
+
15643
+ newlinesInside?: ("always" | "never")
15644
+
15645
+ fallbackSort?: {
15646
+
15647
+ order?: ("asc" | "desc")
15648
+
15649
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15650
+ [k: string]: unknown | undefined
15651
+ }
15652
+
15653
+ groupName?: string
15654
+
15655
+ order?: ("asc" | "desc")
15656
+
15657
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15658
+
15659
+ modifiers?: ("value" | "type")[]
15660
+
15661
+ selector?: "export"
15662
+
15663
+ elementNamePattern?: (({
15664
+ pattern?: string
15665
+ flags?: string
15666
+ } | string)[] | ({
15667
+ pattern?: string
15668
+ flags?: string
15669
+ } | string))
15670
+ })[]
15671
+
15678
15672
  partitionByComment?: (boolean | (({
15679
15673
  pattern?: string
15680
15674
  flags?: string
@@ -15699,9 +15693,16 @@ type PerfectionistSortNamedExports = []|[{
15699
15693
  })
15700
15694
 
15701
15695
  partitionByNewLine?: boolean
15702
- }]
15696
+
15697
+ newlinesBetween?: ("ignore" | "always" | "never")
15698
+
15699
+ groups?: (string | string[] | {
15700
+
15701
+ newlinesBetween?: ("ignore" | "always" | "never")
15702
+ })[]
15703
+ }[]
15703
15704
  // ----- perfectionist/sort-named-imports -----
15704
- type PerfectionistSortNamedImports = []|[{
15705
+ type PerfectionistSortNamedImports = {
15705
15706
 
15706
15707
  fallbackSort?: {
15707
15708
 
@@ -15727,6 +15728,68 @@ type PerfectionistSortNamedImports = []|[{
15727
15728
 
15728
15729
  ignoreAlias?: boolean
15729
15730
 
15731
+ customGroups?: ({
15732
+
15733
+ newlinesInside?: ("always" | "never")
15734
+
15735
+ fallbackSort?: {
15736
+
15737
+ order?: ("asc" | "desc")
15738
+
15739
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15740
+ [k: string]: unknown | undefined
15741
+ }
15742
+
15743
+ groupName?: string
15744
+
15745
+ order?: ("asc" | "desc")
15746
+
15747
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15748
+ anyOf?: {
15749
+
15750
+ modifiers?: ("value" | "type")[]
15751
+
15752
+ selector?: "import"
15753
+
15754
+ elementNamePattern?: (({
15755
+ pattern?: string
15756
+ flags?: string
15757
+ } | string)[] | ({
15758
+ pattern?: string
15759
+ flags?: string
15760
+ } | string))
15761
+ }[]
15762
+ } | {
15763
+
15764
+ newlinesInside?: ("always" | "never")
15765
+
15766
+ fallbackSort?: {
15767
+
15768
+ order?: ("asc" | "desc")
15769
+
15770
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15771
+ [k: string]: unknown | undefined
15772
+ }
15773
+
15774
+ groupName?: string
15775
+
15776
+ order?: ("asc" | "desc")
15777
+
15778
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15779
+
15780
+ modifiers?: ("value" | "type")[]
15781
+
15782
+ selector?: "import"
15783
+
15784
+ elementNamePattern?: (({
15785
+ pattern?: string
15786
+ flags?: string
15787
+ } | string)[] | ({
15788
+ pattern?: string
15789
+ flags?: string
15790
+ } | string))
15791
+ })[]
15792
+
15730
15793
  partitionByComment?: (boolean | (({
15731
15794
  pattern?: string
15732
15795
  flags?: string
@@ -15751,7 +15814,14 @@ type PerfectionistSortNamedImports = []|[{
15751
15814
  })
15752
15815
 
15753
15816
  partitionByNewLine?: boolean
15754
- }]
15817
+
15818
+ newlinesBetween?: ("ignore" | "always" | "never")
15819
+
15820
+ groups?: (string | string[] | {
15821
+
15822
+ newlinesBetween?: ("ignore" | "always" | "never")
15823
+ })[]
15824
+ }[]
15755
15825
  // ----- perfectionist/sort-object-types -----
15756
15826
  type PerfectionistSortObjectTypes = {
15757
15827
 
@@ -17258,13 +17328,17 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
17258
17328
  "import-x/resolver-next": {
17259
17329
  interfaceVersion: number;
17260
17330
  name: string;
17261
- resolve(source: string, file: string): ResolvedResult;
17331
+ resolve(source: string, file: string): eslint_plugin_import_x.ResolvedResult;
17262
17332
  }[];
17263
17333
  };
17264
17334
  } | {
17265
17335
  readonly name: "jimmy.codes/imports";
17266
17336
  readonly plugins: {
17267
17337
  readonly "import-x": {
17338
+ meta: {
17339
+ name: string;
17340
+ version: string;
17341
+ };
17268
17342
  configs: {
17269
17343
  recommended: {
17270
17344
  plugins: ["import-x"];
@@ -17302,7 +17376,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
17302
17376
  "import-x/no-duplicates": 1;
17303
17377
  };
17304
17378
  };
17305
- "stage-0": eslint_plugin_import_x_types.PluginConfig;
17379
+ "stage-0": eslint_plugin_import_x.PluginConfig;
17306
17380
  react: {
17307
17381
  settings: {
17308
17382
  "import-x/extensions": (".js" | ".jsx")[];
@@ -17344,14 +17418,14 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
17344
17418
  };
17345
17419
  };
17346
17420
  flatConfigs: {
17347
- recommended: eslint_plugin_import_x_types.PluginFlatConfig;
17348
- errors: eslint_plugin_import_x_types.PluginFlatConfig;
17349
- warnings: eslint_plugin_import_x_types.PluginFlatConfig;
17350
- "stage-0": eslint_plugin_import_x_types.PluginFlatConfig;
17351
- react: eslint_plugin_import_x_types.PluginFlatConfig;
17352
- "react-native": eslint_plugin_import_x_types.PluginFlatConfig;
17353
- electron: eslint_plugin_import_x_types.PluginFlatConfig;
17354
- typescript: eslint_plugin_import_x_types.PluginFlatConfig;
17421
+ recommended: eslint_plugin_import_x.PluginFlatConfig;
17422
+ errors: eslint_plugin_import_x.PluginFlatConfig;
17423
+ warnings: eslint_plugin_import_x.PluginFlatConfig;
17424
+ "stage-0": eslint_plugin_import_x.PluginFlatConfig;
17425
+ react: eslint_plugin_import_x.PluginFlatConfig;
17426
+ "react-native": eslint_plugin_import_x.PluginFlatConfig;
17427
+ electron: eslint_plugin_import_x.PluginFlatConfig;
17428
+ typescript: eslint_plugin_import_x.PluginFlatConfig;
17355
17429
  };
17356
17430
  rules: {
17357
17431
  "no-unresolved": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_unresolved.MessageId, [(eslint_plugin_import_x_rules_no_unresolved.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -17552,11 +17626,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
17552
17626
  type: {};
17553
17627
  value: {};
17554
17628
  };
17555
- environment: "node";
17629
+ environment: string;
17556
17630
  groups: (string | string[])[];
17557
17631
  internalPattern: string[];
17558
- order: "asc";
17559
- type: "natural";
17632
+ order: string;
17633
+ type: string;
17560
17634
  }];
17561
17635
  "perfectionist/sort-modules": "off";
17562
17636
  };
@@ -18871,7 +18945,9 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
18871
18945
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18872
18946
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18873
18947
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18948
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18874
18949
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18950
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18875
18951
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18876
18952
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18877
18953
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -18950,7 +19026,9 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
18950
19026
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18951
19027
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18952
19028
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19029
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18953
19030
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19031
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18954
19032
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18955
19033
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18956
19034
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -19029,7 +19107,9 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19029
19107
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19030
19108
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19031
19109
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19110
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19032
19111
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19112
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19033
19113
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19034
19114
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19035
19115
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -19106,7 +19186,9 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19106
19186
  readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19107
19187
  readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19108
19188
  readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19189
+ readonly "no-misused-capture-owner-stack": _typescript_eslint_utils_ts_eslint.RuleModule<"useNamespaceImport" | "missingDevelopmentOnlyCheck", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19109
19190
  readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19191
+ readonly "no-nested-lazy-component-declarations": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19110
19192
  readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19111
19193
  readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19112
19194
  readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -19525,6 +19607,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19525
19607
  "@tanstack/query/infinite-query-property-order": "error";
19526
19608
  "@tanstack/query/no-rest-destructuring": "error";
19527
19609
  "@tanstack/query/no-unstable-deps": "error";
19610
+ "@tanstack/query/no-void-query-fn": "error";
19528
19611
  "@tanstack/query/stable-query-client": "error";
19529
19612
  };
19530
19613
  } | {
@@ -19688,11 +19771,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19688
19771
  "playwright/no-useless-not": "error";
19689
19772
  "playwright/no-wait-for-selector": "error";
19690
19773
  "playwright/no-wait-for-timeout": "error";
19691
- "playwright/valid-title": ["error", {
19692
- mustMatch: {
19693
- it: string;
19694
- };
19695
- }];
19774
+ "playwright/valid-title": "off";
19696
19775
  };
19697
19776
  ignores?: string[];
19698
19777
  language?: string;
package/dist/index.js CHANGED
@@ -580,12 +580,12 @@ var defineConfig = async ({
580
580
  const featureConfigs = await Promise.all([
581
581
  isTypescriptEnabled && unwrap(import("./typescript-IBCLQD7Q.js")),
582
582
  isReactEnabled && unwrap(import("./react-6ERTZG2I.js")),
583
- isTanstackQueryEnabled && unwrap(import("./tanstack-query-P4IBOLDK.js")),
583
+ isTanstackQueryEnabled && unwrap(import("./tanstack-query-QBZ3MKQ7.js")),
584
584
  isAstroEnabled && unwrap(import("./astro-Z5RFF624.js")),
585
585
  isJestEnabled && unwrap(import("./jest-7NR7TDOP.js")),
586
586
  isVitestEnabled && unwrap(import("./vitest-LSKPTQM4.js")),
587
587
  isTestingLibraryEnabled && unwrap(import("./testing-library-7RTMAEOX.js")),
588
- isPlaywrightEnabled && unwrap(import("./playwright-N6LFQ4OJ.js")),
588
+ isPlaywrightEnabled && unwrap(import("./playwright-BIJ7HLQZ.js")),
589
589
  isStorybookEnabled && unwrap(import("./storybook-XHFO7L4T.js")),
590
590
  isNextjsEnabled && unwrap(import("./nextjs-7V464KOE.js"))
591
591
  ]);
@@ -27,14 +27,7 @@ var playwrightRules = async () => {
27
27
  "playwright/no-useless-not": "error",
28
28
  "playwright/no-wait-for-selector": "error",
29
29
  "playwright/no-wait-for-timeout": "error",
30
- "playwright/valid-title": [
31
- "error",
32
- {
33
- mustMatch: {
34
- it: "^should"
35
- }
36
- }
37
- ]
30
+ "playwright/valid-title": "off"
38
31
  };
39
32
  };
40
33
 
@@ -23,6 +23,7 @@ async function tanstackQueryConfig() {
23
23
  "@tanstack/query/infinite-query-property-order": "error",
24
24
  "@tanstack/query/no-rest-destructuring": "error",
25
25
  "@tanstack/query/no-unstable-deps": "error",
26
+ "@tanstack/query/no-void-query-fn": "error",
26
27
  "@tanstack/query/stable-query-client": "error"
27
28
  }
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.10.0",
3
+ "version": "5.12.0",
4
4
  "description": "A pragmatic and opinionated ESLint config for modern development.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -23,40 +23,40 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
27
- "@eslint-react/eslint-plugin": "^1.40.3",
28
- "@eslint-react/kit": "^1.40.3",
29
- "@eslint-react/shared": "^1.40.3",
30
- "@eslint/js": "^9.24.0",
31
- "@next/eslint-plugin-next": "^15.2.4",
26
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
27
+ "@eslint-react/eslint-plugin": "^1.48.4",
28
+ "@eslint-react/kit": "^1.48.4",
29
+ "@eslint-react/shared": "^1.48.4",
30
+ "@eslint/js": "^9.25.1",
31
+ "@next/eslint-plugin-next": "^15.3.1",
32
32
  "@stylistic/eslint-plugin": "^4.2.0",
33
- "@tanstack/eslint-plugin-query": "^5.71.5",
33
+ "@tanstack/eslint-plugin-query": "^5.73.3",
34
34
  "@types/eslint": "9.6.1",
35
- "@typescript-eslint/parser": "^8.29.0",
36
- "@typescript-eslint/utils": "^8.29.0",
37
- "@vitest/eslint-plugin": "^1.1.39",
35
+ "@typescript-eslint/parser": "^8.31.0",
36
+ "@typescript-eslint/utils": "^8.31.0",
37
+ "@vitest/eslint-plugin": "^1.1.43",
38
38
  "astro-eslint-parser": "^1.2.2",
39
- "eslint-config-prettier": "^10.1.1",
40
- "eslint-import-resolver-typescript": "^4.3.1",
39
+ "eslint-config-prettier": "^10.1.2",
40
+ "eslint-import-resolver-typescript": "^4.3.4",
41
41
  "eslint-plugin-astro": "^1.3.1",
42
- "eslint-plugin-import-x": "^4.10.0",
42
+ "eslint-plugin-import-x": "^4.10.6",
43
43
  "eslint-plugin-jest": "^28.11.0",
44
44
  "eslint-plugin-jest-dom": "^5.5.0",
45
- "eslint-plugin-jsdoc": "^50.6.9",
45
+ "eslint-plugin-jsdoc": "^50.6.10",
46
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
47
47
  "eslint-plugin-n": "^17.17.0",
48
- "eslint-plugin-perfectionist": "^4.11.0",
48
+ "eslint-plugin-perfectionist": "^4.12.3",
49
49
  "eslint-plugin-playwright": "^2.2.0",
50
- "eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
50
+ "eslint-plugin-react-compiler": "19.1.0-rc.1",
51
51
  "eslint-plugin-react-hooks": "^5.2.0",
52
- "eslint-plugin-react-refresh": "0.4.19",
52
+ "eslint-plugin-react-refresh": "0.4.20",
53
53
  "eslint-plugin-regexp": "^2.7.0",
54
54
  "eslint-plugin-storybook": "0.12.0",
55
55
  "eslint-plugin-testing-library": "^7.1.1",
56
56
  "eslint-plugin-unicorn": "^58.0.0",
57
57
  "globals": "^16.0.0",
58
58
  "local-pkg": "^1.1.1",
59
- "typescript-eslint": "^8.29.0"
59
+ "typescript-eslint": "^8.31.0"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "eslint": "^9.10.0"