@jimmy.codes/eslint-config 5.11.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +196 -150
  2. package/package.json +16 -16
package/dist/index.d.ts CHANGED
@@ -4721,233 +4721,233 @@ interface RuleOptions {
4721
4721
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
4722
4722
  /**
4723
4723
  * Enforce or ban the use of inline type-only markers for named imports.
4724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4725
4725
  */
4726
4726
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
4727
4727
  /**
4728
4728
  * Ensure a default export is present, given a default import.
4729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/default.md
4729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
4730
4730
  */
4731
4731
  'import-x/default'?: Linter.RuleEntry<[]>
4732
4732
  /**
4733
4733
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4735
4735
  */
4736
4736
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
4737
4737
  /**
4738
4738
  * Forbid any invalid exports, i.e. re-export of the same name.
4739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/export.md
4739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
4740
4740
  */
4741
4741
  'import-x/export'?: Linter.RuleEntry<[]>
4742
4742
  /**
4743
4743
  * Ensure all exports appear after other statements.
4744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4745
4745
  */
4746
4746
  'import-x/exports-last'?: Linter.RuleEntry<[]>
4747
4747
  /**
4748
4748
  * Ensure consistent use of file extension within the import path.
4749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/extensions.md
4749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
4750
4750
  */
4751
4751
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
4752
4752
  /**
4753
4753
  * Ensure all imports appear before other statements.
4754
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/first.md
4754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
4755
4755
  */
4756
4756
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
4757
4757
  /**
4758
4758
  * Prefer named exports to be grouped together in a single export declaration.
4759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4760
4760
  */
4761
4761
  'import-x/group-exports'?: Linter.RuleEntry<[]>
4762
4762
  /**
4763
4763
  * Replaced by `import-x/first`.
4764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4765
4765
  * @deprecated
4766
4766
  */
4767
4767
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
4768
4768
  /**
4769
4769
  * Enforce the maximum number of dependencies a module can have.
4770
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4771
4771
  */
4772
4772
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
4773
4773
  /**
4774
4774
  * Ensure named imports correspond to a named export in the remote file.
4775
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/named.md
4775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
4776
4776
  */
4777
4777
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
4778
4778
  /**
4779
4779
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4780
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/namespace.md
4780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
4781
4781
  */
4782
4782
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
4783
4783
  /**
4784
4784
  * Enforce a newline after import statements.
4785
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4786
4786
  */
4787
4787
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
4788
4788
  /**
4789
4789
  * Forbid import of modules using absolute paths.
4790
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4791
4791
  */
4792
4792
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
4793
4793
  /**
4794
4794
  * Forbid AMD `require` and `define` calls.
4795
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4796
4796
  */
4797
4797
  'import-x/no-amd'?: Linter.RuleEntry<[]>
4798
4798
  /**
4799
4799
  * Forbid anonymous values as default exports.
4800
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4801
4801
  */
4802
4802
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
4803
4803
  /**
4804
4804
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4806
4806
  */
4807
4807
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
4808
4808
  /**
4809
4809
  * Forbid a module from importing a module with a dependency path back to itself.
4810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4811
4811
  */
4812
4812
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
4813
4813
  /**
4814
4814
  * Forbid default exports.
4815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4816
4816
  */
4817
4817
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
4818
4818
  /**
4819
4819
  * Forbid imported names marked with `@deprecated` documentation tag.
4820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4821
4821
  */
4822
4822
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
4823
4823
  /**
4824
4824
  * Forbid repeated import of the same module in multiple places.
4825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4826
4826
  */
4827
4827
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
4828
4828
  /**
4829
4829
  * Forbid `require()` calls with expressions.
4830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4831
4831
  */
4832
4832
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
4833
4833
  /**
4834
4834
  * Forbid empty named import blocks.
4835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4836
4836
  */
4837
4837
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
4838
4838
  /**
4839
4839
  * Forbid the use of extraneous packages.
4840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4841
4841
  */
4842
4842
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
4843
4843
  /**
4844
4844
  * Forbid import statements with CommonJS module.exports.
4845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4846
4846
  */
4847
4847
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
4848
4848
  /**
4849
4849
  * Forbid importing the submodules of other modules.
4850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4851
4851
  */
4852
4852
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
4853
4853
  /**
4854
4854
  * Forbid the use of mutable exports with `var` or `let`.
4855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4856
4856
  */
4857
4857
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
4858
4858
  /**
4859
4859
  * Forbid use of exported name as identifier of default export.
4860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4861
4861
  */
4862
4862
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
4863
4863
  /**
4864
4864
  * Forbid use of exported name as property of default export.
4865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4866
4866
  */
4867
4867
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
4868
4868
  /**
4869
4869
  * Forbid named default exports.
4870
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4871
4871
  */
4872
4872
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
4873
4873
  /**
4874
4874
  * Forbid named exports.
4875
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4876
4876
  */
4877
4877
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
4878
4878
  /**
4879
4879
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4880
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4881
4881
  */
4882
4882
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
4883
4883
  /**
4884
4884
  * Forbid Node.js builtin modules.
4885
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4886
4886
  */
4887
4887
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
4888
4888
  /**
4889
4889
  * Forbid importing packages through relative paths.
4890
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4891
4891
  */
4892
4892
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
4893
4893
  /**
4894
4894
  * Forbid importing modules from parent directories.
4895
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4896
4896
  */
4897
4897
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
4898
4898
  /**
4899
4899
  * Forbid importing a default export by a different name.
4900
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4901
4901
  */
4902
4902
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
4903
4903
  /**
4904
4904
  * Enforce which files can be imported in a given folder.
4905
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4906
4906
  */
4907
4907
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
4908
4908
  /**
4909
4909
  * Forbid a module from importing itself.
4910
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4911
4911
  */
4912
4912
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
4913
4913
  /**
4914
4914
  * Forbid unassigned imports.
4915
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4916
4916
  */
4917
4917
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
4918
4918
  /**
4919
4919
  * Ensure imports point to a file/module that can be resolved.
4920
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4921
4921
  */
4922
4922
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
4923
4923
  /**
4924
4924
  * Forbid modules without exports, or exports without matching import in another module.
4925
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4926
4926
  */
4927
4927
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
4928
4928
  /**
4929
4929
  * Forbid unnecessary path segments in import and require statements.
4930
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4931
4931
  */
4932
4932
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
4933
4933
  /**
4934
4934
  * Forbid webpack loader syntax in imports.
4935
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4936
4936
  */
4937
4937
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
4938
4938
  /**
4939
4939
  * Enforce a convention in module import order.
4940
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/order.md
4940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
4941
4941
  */
4942
4942
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
4943
4943
  /**
4944
4944
  * Prefer a default export if module exports a single name or multiple names.
4945
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/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
4946
4946
  */
4947
4947
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
4948
4948
  /**
4949
4949
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4950
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.3/docs/rules/unambiguous.md
4950
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
4951
4951
  */
4952
4952
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
4953
4953
  /**
@@ -11230,6 +11230,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
11230
11230
  // ----- @typescript-eslint/no-unnecessary-type-assertion -----
11231
11231
  type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
11232
11232
 
11233
+ checkLiteralConstAssertions?: boolean
11234
+
11233
11235
  typesToIgnore?: string[]
11234
11236
  }]
11235
11237
  // ----- @typescript-eslint/no-unused-expressions -----
@@ -13922,7 +13924,7 @@ type NoEmpty = []|[{
13922
13924
  }]
13923
13925
  // ----- no-empty-function -----
13924
13926
  type NoEmptyFunction = []|[{
13925
- 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")[]
13926
13928
  }]
13927
13929
  // ----- no-empty-pattern -----
13928
13930
  type NoEmptyPattern = []|[{
@@ -14124,13 +14126,9 @@ type NoRestrictedModules = ((string | {
14124
14126
  }[])
14125
14127
  // ----- no-restricted-properties -----
14126
14128
  type NoRestrictedProperties = ({
14127
- object: string
14128
- property?: string
14129
- message?: string
14129
+ [k: string]: unknown | undefined
14130
14130
  } | {
14131
- object?: string
14132
- property: string
14133
- message?: string
14131
+ [k: string]: unknown | undefined
14134
14132
  })[]
14135
14133
  // ----- no-restricted-syntax -----
14136
14134
  type NoRestrictedSyntax = (string | {
@@ -14971,96 +14969,6 @@ type PerfectionistSortHeritageClauses = []|[{
14971
14969
  newlinesBetween?: ("ignore" | "always" | "never")
14972
14970
  })[]
14973
14971
  }]
14974
- // ----- perfectionist/sort-imports -----
14975
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
14976
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
14977
-
14978
- fallbackSort?: {
14979
-
14980
- order?: ("asc" | "desc")
14981
-
14982
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14983
- [k: string]: unknown | undefined
14984
- }
14985
-
14986
- specialCharacters?: ("remove" | "trim" | "keep")
14987
-
14988
- ignoreCase?: boolean
14989
-
14990
- alphabet?: string
14991
-
14992
- locales?: (string | string[])
14993
-
14994
- order?: ("asc" | "desc")
14995
-
14996
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14997
-
14998
- customGroups?: {
14999
-
15000
- value?: {
15001
- [k: string]: unknown | undefined
15002
- }
15003
-
15004
- type?: {
15005
- [k: string]: unknown | undefined
15006
- }
15007
- }
15008
-
15009
- maxLineLength?: number
15010
-
15011
- sortSideEffects?: boolean
15012
-
15013
- environment?: ("node" | "bun")
15014
-
15015
- tsconfigRootDir?: string
15016
-
15017
- partitionByComment?: (boolean | (({
15018
- pattern?: string
15019
- flags?: string
15020
- } | string)[] | ({
15021
- pattern?: string
15022
- flags?: string
15023
- } | string)) | {
15024
- block?: (boolean | (({
15025
- pattern?: string
15026
- flags?: string
15027
- } | string)[] | ({
15028
- pattern?: string
15029
- flags?: string
15030
- } | string)))
15031
- line?: (boolean | (({
15032
- pattern?: string
15033
- flags?: string
15034
- } | string)[] | ({
15035
- pattern?: string
15036
- flags?: string
15037
- } | string)))
15038
- })
15039
-
15040
- partitionByNewLine?: boolean
15041
-
15042
- newlinesBetween?: ("ignore" | "always" | "never")
15043
-
15044
- internalPattern?: (({
15045
- pattern?: string
15046
- flags?: string
15047
- } | string)[] | ({
15048
- pattern?: string
15049
- flags?: string
15050
- } | string))
15051
-
15052
- groups?: (string | string[] | {
15053
-
15054
- newlinesBetween?: ("ignore" | "always" | "never")
15055
- })[]
15056
- })
15057
- type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
15058
- [k: string]: unknown | undefined
15059
- } | _PerfectionistSortImports_IsLineLength)
15060
- interface _PerfectionistSortImports_IsLineLength {
15061
- type: "line-length"
15062
- [k: string]: unknown | undefined
15063
- }
15064
14972
  // ----- perfectionist/sort-interfaces -----
15065
14973
  type PerfectionistSortInterfaces = {
15066
14974
 
@@ -15673,7 +15581,7 @@ type PerfectionistSortModules = []|[{
15673
15581
  })[]
15674
15582
  }]
15675
15583
  // ----- perfectionist/sort-named-exports -----
15676
- type PerfectionistSortNamedExports = []|[{
15584
+ type PerfectionistSortNamedExports = {
15677
15585
 
15678
15586
  fallbackSort?: {
15679
15587
 
@@ -15699,6 +15607,68 @@ type PerfectionistSortNamedExports = []|[{
15699
15607
 
15700
15608
  ignoreAlias?: boolean
15701
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
+
15702
15672
  partitionByComment?: (boolean | (({
15703
15673
  pattern?: string
15704
15674
  flags?: string
@@ -15723,9 +15693,16 @@ type PerfectionistSortNamedExports = []|[{
15723
15693
  })
15724
15694
 
15725
15695
  partitionByNewLine?: boolean
15726
- }]
15696
+
15697
+ newlinesBetween?: ("ignore" | "always" | "never")
15698
+
15699
+ groups?: (string | string[] | {
15700
+
15701
+ newlinesBetween?: ("ignore" | "always" | "never")
15702
+ })[]
15703
+ }[]
15727
15704
  // ----- perfectionist/sort-named-imports -----
15728
- type PerfectionistSortNamedImports = []|[{
15705
+ type PerfectionistSortNamedImports = {
15729
15706
 
15730
15707
  fallbackSort?: {
15731
15708
 
@@ -15751,6 +15728,68 @@ type PerfectionistSortNamedImports = []|[{
15751
15728
 
15752
15729
  ignoreAlias?: boolean
15753
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
+
15754
15793
  partitionByComment?: (boolean | (({
15755
15794
  pattern?: string
15756
15795
  flags?: string
@@ -15775,7 +15814,14 @@ type PerfectionistSortNamedImports = []|[{
15775
15814
  })
15776
15815
 
15777
15816
  partitionByNewLine?: boolean
15778
- }]
15817
+
15818
+ newlinesBetween?: ("ignore" | "always" | "never")
15819
+
15820
+ groups?: (string | string[] | {
15821
+
15822
+ newlinesBetween?: ("ignore" | "always" | "never")
15823
+ })[]
15824
+ }[]
15779
15825
  // ----- perfectionist/sort-object-types -----
15780
15826
  type PerfectionistSortObjectTypes = {
15781
15827
 
@@ -17580,11 +17626,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
17580
17626
  type: {};
17581
17627
  value: {};
17582
17628
  };
17583
- environment: "node";
17629
+ environment: string;
17584
17630
  groups: (string | string[])[];
17585
17631
  internalPattern: string[];
17586
- order: "asc";
17587
- type: "natural";
17632
+ order: string;
17633
+ type: string;
17588
17634
  }];
17589
17635
  "perfectionist/sort-modules": "off";
17590
17636
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.11.0",
3
+ "version": "5.12.0",
4
4
  "description": "A pragmatic and opinionated ESLint config for modern development.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -24,39 +24,39 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
27
- "@eslint-react/eslint-plugin": "^1.47.2",
28
- "@eslint-react/kit": "^1.47.2",
29
- "@eslint-react/shared": "^1.47.2",
30
- "@eslint/js": "^9.24.0",
31
- "@next/eslint-plugin-next": "^15.3.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
33
  "@tanstack/eslint-plugin-query": "^5.73.3",
34
34
  "@types/eslint": "9.6.1",
35
- "@typescript-eslint/parser": "^8.30.1",
36
- "@typescript-eslint/utils": "^8.30.1",
37
- "@vitest/eslint-plugin": "^1.1.42",
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
39
  "eslint-config-prettier": "^10.1.2",
40
- "eslint-import-resolver-typescript": "^4.3.2",
40
+ "eslint-import-resolver-typescript": "^4.3.4",
41
41
  "eslint-plugin-astro": "^1.3.1",
42
- "eslint-plugin-import-x": "^4.10.3",
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-ebf51a3-20250411",
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.30.1"
59
+ "typescript-eslint": "^8.31.0"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "eslint": "^9.10.0"