@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.
- package/eslint.config.js +3 -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
|
-
//
|
|
180
|
-
|
|
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.
|
|
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.
|
|
26
|
+
"@eslint/js": "9.39.1",
|
|
27
27
|
"@types/eslint": "9.6.1",
|
|
28
|
-
"@types/micromatch": "4.0.
|
|
29
|
-
"@types/node": "24.
|
|
30
|
-
"@types/react": "19.2.
|
|
31
|
-
"@willbooster/prettier-config": "10.2.
|
|
32
|
-
"eslint": "9.
|
|
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": "
|
|
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.
|
|
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": "
|
|
44
|
-
"eslint-plugin-unused-imports": "4.
|
|
45
|
-
"globals": "16.
|
|
46
|
-
"lint-staged": "16.2.
|
|
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.
|
|
48
|
+
"next": "15.5.6",
|
|
49
49
|
"prettier": "3.6.2",
|
|
50
|
-
"prettier-plugin-java": "2.7.
|
|
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.
|
|
54
|
+
"typescript-eslint": "8.47.0",
|
|
55
55
|
"use-immer": "0.11.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|