@jimmy.codes/eslint-config 5.7.0 → 5.9.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.js CHANGED
@@ -64,13 +64,13 @@ var ignoresConfig = (ignores) => {
64
64
 
65
65
  // src/configs/imports.ts
66
66
  import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
67
- import importX2 from "eslint-plugin-import-x";
67
+ import importX, { configs as configs2 } from "eslint-plugin-import-x";
68
68
  import nodePlugin from "eslint-plugin-n";
69
69
 
70
70
  // src/rules/imports.ts
71
- import importX from "eslint-plugin-import-x";
71
+ import { configs } from "eslint-plugin-import-x";
72
72
  var importsRules = {
73
- ...importX.configs.recommended.rules,
73
+ ...configs.recommended.rules,
74
74
  "import-x/consistent-type-specifier-style": ["error", "prefer-top-level"],
75
75
  "import-x/extensions": [
76
76
  "error",
@@ -93,7 +93,7 @@ var importsRules = {
93
93
 
94
94
  // src/configs/imports.ts
95
95
  var importsTypescriptConfig = () => {
96
- const { rules, settings } = importX2.configs.typescript;
96
+ const { rules, settings } = configs2.typescript;
97
97
  return [
98
98
  {
99
99
  name: "jimmy.codes/imports/typescript",
@@ -114,7 +114,7 @@ var importsConfig = ({
114
114
  {
115
115
  name: "jimmy.codes/imports",
116
116
  plugins: {
117
- "import-x": importX2,
117
+ "import-x": importX,
118
118
  "n": nodePlugin
119
119
  },
120
120
  rules: importsRules
@@ -582,14 +582,14 @@ var defineConfig = async ({
582
582
  ];
583
583
  const featureConfigs = await Promise.all([
584
584
  isTypescriptEnabled && unwrap(import("./typescript-IBCLQD7Q.js")),
585
- isReactEnabled && unwrap(import("./react-NYHAKXFD.js")),
585
+ isReactEnabled && unwrap(import("./react-6ERTZG2I.js")),
586
586
  isTanstackQueryEnabled && unwrap(import("./tanstack-query-P4IBOLDK.js")),
587
587
  isAstroEnabled && unwrap(import("./astro-Z5RFF624.js")),
588
588
  isJestEnabled && unwrap(import("./jest-AHG2WRSU.js")),
589
589
  isVitestEnabled && unwrap(import("./vitest-YI6KNRZE.js")),
590
590
  isTestingLibraryEnabled && unwrap(import("./testing-library-7RTMAEOX.js")),
591
591
  isPlaywrightEnabled && unwrap(import("./playwright-U4PCWDYV.js")),
592
- isStorybookEnabled && unwrap(import("./storybook-IPSVKYYB.js")),
592
+ isStorybookEnabled && unwrap(import("./storybook-XHFO7L4T.js")),
593
593
  isNextjsEnabled && unwrap(import("./nextjs-7V464KOE.js"))
594
594
  ]);
595
595
  return [
@@ -53,6 +53,7 @@ var reactRules = async () => {
53
53
  "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error",
54
54
  "@eslint-react/no-children-prop": "error",
55
55
  "@eslint-react/no-complex-conditional-rendering": "error",
56
+ "@eslint-react/no-useless-fragment": "error",
56
57
  "@eslint-react/prefer-react-namespace-import": "error",
57
58
  "@eslint-react/prefer-shorthand-boolean": "error",
58
59
  "@eslint-react/prefer-shorthand-fragment": "error",
@@ -104,6 +105,7 @@ async function reactConfig() {
104
105
  "@eslint-react": reactPlugins["@eslint-react"],
105
106
  "@eslint-react/dom": reactPlugins["@eslint-react/dom"],
106
107
  "@eslint-react/hooks-extra": reactPlugins["@eslint-react/hooks-extra"],
108
+ "@eslint-react/naming-convention": reactPlugins["@eslint-react/naming-convention"],
107
109
  "@eslint-react/web-api": reactPlugins["@eslint-react/web-api"],
108
110
  "jsx-a11y": jsxA11yPlugin,
109
111
  "react-compiler": reactCompilerPlugin,
@@ -20,6 +20,7 @@ async function storybookConfig() {
20
20
  rules: {
21
21
  ...upwarn(storiesConfig?.rules),
22
22
  "import-x/no-anonymous-default-export": "off",
23
+ "storybook/meta-satisfies-type": "error",
23
24
  "unicorn/no-anonymous-default-export": "off"
24
25
  }
25
26
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.7.0",
3
+ "version": "5.9.0",
4
4
  "description": "A pragmatic and opinionated ESLint config for modern development.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -24,38 +24,39 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
27
- "@eslint-react/eslint-plugin": "^1.37.3",
28
- "@eslint-react/shared": "^1.37.3",
29
- "@eslint/js": "^9.22.0",
30
- "@next/eslint-plugin-next": "^15.2.3",
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",
31
32
  "@stylistic/eslint-plugin": "^4.2.0",
32
- "@tanstack/eslint-plugin-query": "^5.68.0",
33
+ "@tanstack/eslint-plugin-query": "^5.71.5",
33
34
  "@types/eslint": "9.6.1",
34
- "@typescript-eslint/parser": "^8.27.0",
35
- "@typescript-eslint/utils": "^8.27.0",
36
- "@vitest/eslint-plugin": "^1.1.38",
37
- "astro-eslint-parser": "^1.2.1",
35
+ "@typescript-eslint/parser": "^8.29.0",
36
+ "@typescript-eslint/utils": "^8.29.0",
37
+ "@vitest/eslint-plugin": "^1.1.39",
38
+ "astro-eslint-parser": "^1.2.2",
38
39
  "eslint-config-prettier": "^10.1.1",
39
- "eslint-import-resolver-typescript": "^4.2.2",
40
+ "eslint-import-resolver-typescript": "^4.3.1",
40
41
  "eslint-plugin-astro": "^1.3.1",
41
- "eslint-plugin-import-x": "^4.9.1",
42
+ "eslint-plugin-import-x": "^4.10.0",
42
43
  "eslint-plugin-jest": "^28.11.0",
43
44
  "eslint-plugin-jest-dom": "^5.5.0",
44
- "eslint-plugin-jsdoc": "^50.6.8",
45
+ "eslint-plugin-jsdoc": "^50.6.9",
45
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
46
- "eslint-plugin-n": "^17.16.2",
47
- "eslint-plugin-perfectionist": "^4.10.1",
47
+ "eslint-plugin-n": "^17.17.0",
48
+ "eslint-plugin-perfectionist": "^4.11.0",
48
49
  "eslint-plugin-playwright": "^2.2.0",
49
- "eslint-plugin-react-compiler": "19.0.0-beta-3229e95-20250315",
50
+ "eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
50
51
  "eslint-plugin-react-hooks": "^5.2.0",
51
52
  "eslint-plugin-react-refresh": "0.4.19",
52
53
  "eslint-plugin-regexp": "^2.7.0",
53
- "eslint-plugin-storybook": "0.11.6",
54
+ "eslint-plugin-storybook": "0.12.0",
54
55
  "eslint-plugin-testing-library": "^7.1.1",
55
- "eslint-plugin-unicorn": "^57.0.0",
56
+ "eslint-plugin-unicorn": "^58.0.0",
56
57
  "globals": "^16.0.0",
57
58
  "local-pkg": "^1.1.1",
58
- "typescript-eslint": "^8.27.0"
59
+ "typescript-eslint": "^8.29.0"
59
60
  },
60
61
  "peerDependencies": {
61
62
  "eslint": "^9.10.0"