@jimmy.codes/eslint-config 5.19.0 → 6.0.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
@@ -393,7 +393,6 @@ var perfectionistConfig = () => {
393
393
  {
394
394
  name: "jimmy.codes/perfectionist",
395
395
  plugins: {
396
- // TODO: remove unknown conversion
397
396
  perfectionist: perfectionist2
398
397
  },
399
398
  rules: perfectionistRules
@@ -591,7 +590,7 @@ var defineConfig = async ({
591
590
  isTestingLibraryEnabled && unwrap(import("./testing-library-QHZMYCZH.js")),
592
591
  isPlaywrightEnabled && unwrap(import("./playwright-2HMMFF3D.js")),
593
592
  isStorybookEnabled && unwrap(import("./storybook-XHFO7L4T.js")),
594
- isNextjsEnabled && unwrap(import("./nextjs-XDBJZIHP.js"))
593
+ isNextjsEnabled && unwrap(import("./nextjs-CRRBTFXP.js"))
595
594
  ]);
596
595
  return [
597
596
  ...baseConfigs,
@@ -11,7 +11,10 @@ import {
11
11
  // src/rules/nextjs.ts
12
12
  var nextjsRules = async () => {
13
13
  const nextjsPlugin = await interopDefault(import("@next/eslint-plugin-next"));
14
- return upwarn(nextjsPlugin.configs.recommended.rules);
14
+ return upwarn(
15
+ // @next/eslint-plugin-next types for each rule use string instead of Linter.RuleLevel,
16
+ nextjsPlugin.configs.recommended.rules
17
+ );
15
18
  };
16
19
 
17
20
  // src/configs/nextjs.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "5.19.0",
3
+ "version": "6.0.0",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -33,23 +33,23 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
36
- "@eslint-react/eslint-plugin": "^1.52.2",
37
- "@eslint/js": "^9.30.1",
38
- "@next/eslint-plugin-next": "^15.3.5",
39
- "@stylistic/eslint-plugin": "^5.1.0",
36
+ "@eslint-react/eslint-plugin": "^1.52.3",
37
+ "@eslint/js": "^9.31.0",
38
+ "@next/eslint-plugin-next": "^15.4.2",
39
+ "@stylistic/eslint-plugin": "^5.2.1",
40
40
  "@tanstack/eslint-plugin-query": "^5.81.2",
41
41
  "@types/eslint": "9.6.1",
42
- "@typescript-eslint/parser": "^8.36.0",
43
- "@typescript-eslint/utils": "^8.36.0",
42
+ "@typescript-eslint/parser": "^8.38.0",
43
+ "@typescript-eslint/utils": "^8.38.0",
44
44
  "@vitest/eslint-plugin": "^1.3.4",
45
45
  "astro-eslint-parser": "^1.2.2",
46
- "eslint-config-prettier": "^10.1.5",
46
+ "eslint-config-prettier": "^10.1.8",
47
47
  "eslint-import-resolver-typescript": "^4.4.4",
48
48
  "eslint-plugin-astro": "^1.3.1",
49
49
  "eslint-plugin-import-x": "^4.16.1",
50
50
  "eslint-plugin-jest": "^29.0.1",
51
51
  "eslint-plugin-jest-dom": "^5.5.0",
52
- "eslint-plugin-jsdoc": "^51.3.4",
52
+ "eslint-plugin-jsdoc": "^51.4.1",
53
53
  "eslint-plugin-jsx-a11y": "^6.10.2",
54
54
  "eslint-plugin-n": "^17.21.0",
55
55
  "eslint-plugin-perfectionist": "^4.15.0",
@@ -59,17 +59,17 @@
59
59
  "eslint-plugin-react-refresh": "0.4.20",
60
60
  "eslint-plugin-regexp": "^2.9.0",
61
61
  "eslint-plugin-storybook": "0.12.0",
62
- "eslint-plugin-testing-library": "^7.5.3",
63
- "eslint-plugin-unicorn": "^59.0.1",
62
+ "eslint-plugin-testing-library": "^7.6.0",
63
+ "eslint-plugin-unicorn": "^60.0.0",
64
64
  "globals": "^16.3.0",
65
65
  "local-pkg": "^1.1.1",
66
- "typescript-eslint": "^8.36.0"
66
+ "typescript-eslint": "^8.38.0"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "eslint": "^9.10.0"
70
70
  },
71
71
  "engines": {
72
- "node": ">= 20"
72
+ "node": ">= 20.10.0"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"