@willbooster/eslint-config-next 2.5.10 → 2.5.12

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/eslint.config.js +3 -2
  2. package/package.json +16 -16
package/eslint.config.js CHANGED
@@ -176,8 +176,9 @@ const config = [
176
176
  },
177
177
  rules: {
178
178
  '@typescript-eslint/camelcase': 'off', // c.f. https://github.com/typescript-eslint/typescript-eslint/issues/2050
179
- // because `interface Param` cause errors on Next.js
180
- '@typescript-eslint/consistent-type-definitions': ['error', 'type'],
179
+ // cf. https://zenn.dev/bmth/articles/interface-props-extends
180
+ // Note: `interface Params` causes errors on Next.js. We should extends it with Next.js `Params`.
181
+ '@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
181
182
  '@typescript-eslint/consistent-type-imports': 'error',
182
183
  '@typescript-eslint/explicit-function-return-type': [
183
184
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-next",
3
- "version": "2.5.10",
3
+ "version": "2.5.12",
4
4
  "description": "A ESLint flat config for Next.js",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -23,35 +23,35 @@
23
23
  "prettier": "@willbooster/prettier-config",
24
24
  "devDependencies": {
25
25
  "@eslint/eslintrc": "3.3.1",
26
- "@eslint/js": "9.37.0",
26
+ "@eslint/js": "9.39.1",
27
27
  "@types/eslint": "9.6.1",
28
- "@types/micromatch": "4.0.9",
29
- "@types/node": "24.7.2",
30
- "@types/react": "19.2.2",
31
- "@willbooster/prettier-config": "10.2.1",
32
- "eslint": "9.37.0",
28
+ "@types/micromatch": "4.0.10",
29
+ "@types/node": "24.10.1",
30
+ "@types/react": "19.2.6",
31
+ "@willbooster/prettier-config": "10.2.2",
32
+ "eslint": "9.39.1",
33
33
  "eslint-config-flat-gitignore": "2.1.0",
34
- "eslint-config-next": "15.5.5",
34
+ "eslint-config-next": "16.0.3",
35
35
  "eslint-config-prettier": "10.1.8",
36
36
  "eslint-import-resolver-typescript": "4.4.4",
37
37
  "eslint-plugin-import-x": "4.16.1",
38
38
  "eslint-plugin-react": "7.37.5",
39
39
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
40
- "eslint-plugin-react-hooks": "7.0.0",
40
+ "eslint-plugin-react-hooks": "7.0.1",
41
41
  "eslint-plugin-sort-class-members": "1.21.0",
42
42
  "eslint-plugin-sort-destructure-keys": "2.0.0",
43
- "eslint-plugin-unicorn": "61.0.2",
44
- "eslint-plugin-unused-imports": "4.2.0",
45
- "globals": "16.4.0",
46
- "lint-staged": "16.2.4",
43
+ "eslint-plugin-unicorn": "62.0.0",
44
+ "eslint-plugin-unused-imports": "4.3.0",
45
+ "globals": "16.5.0",
46
+ "lint-staged": "16.2.7",
47
47
  "micromatch": "4.0.8",
48
- "next": "15.5.5",
48
+ "next": "15.5.6",
49
49
  "prettier": "3.6.2",
50
- "prettier-plugin-java": "2.7.6",
50
+ "prettier-plugin-java": "2.7.7",
51
51
  "react": "19.2.0",
52
52
  "sort-package-json": "3.4.0",
53
53
  "typescript": "5.9.3",
54
- "typescript-eslint": "8.46.1",
54
+ "typescript-eslint": "8.47.0",
55
55
  "use-immer": "0.11.0"
56
56
  },
57
57
  "peerDependencies": {