@willbooster/eslint-config-next 2.1.0 → 2.2.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/README.md +1 -0
- package/eslint.config.js +2 -1
- package/package.json +14 -14
package/README.md
CHANGED
package/eslint.config.js
CHANGED
|
@@ -40,6 +40,7 @@ const config = [
|
|
|
40
40
|
{
|
|
41
41
|
ignores: [
|
|
42
42
|
// Directories
|
|
43
|
+
'**/.venv/**',
|
|
43
44
|
'**/.yarn/**',
|
|
44
45
|
'**/3rd-party/**',
|
|
45
46
|
'**/@types/**',
|
|
@@ -248,6 +249,7 @@ const config = [
|
|
|
248
249
|
],
|
|
249
250
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', ignoreRestSiblings: true }], // allow unused vars in object destructuring
|
|
250
251
|
'@typescript-eslint/no-use-before-define': 'off', // abstract code should appear first
|
|
252
|
+
'@typescript-eslint/restrict-template-expressions': 'off', // Allow any values in template literals
|
|
251
253
|
},
|
|
252
254
|
},
|
|
253
255
|
// cf. https://github.com/sweepline/eslint-plugin-unused-imports#usage
|
|
@@ -269,7 +271,6 @@ const config = [
|
|
|
269
271
|
],
|
|
270
272
|
},
|
|
271
273
|
},
|
|
272
|
-
// Add eslint-config-flat-gitignore before eslintConfigPrettier
|
|
273
274
|
eslintConfigFlatGitignore(),
|
|
274
275
|
// cf. https://github.com/prettier/eslint-config-prettier#installation
|
|
275
276
|
eslintConfigPrettier,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-next",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A ESLint flat config for Next.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -20,34 +20,34 @@
|
|
|
20
20
|
},
|
|
21
21
|
"prettier": "@willbooster/prettier-config",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@eslint/eslintrc": "3.3.
|
|
24
|
-
"@eslint/js": "9.
|
|
23
|
+
"@eslint/eslintrc": "3.3.1",
|
|
24
|
+
"@eslint/js": "9.23.0",
|
|
25
25
|
"@types/eslint": "9.6.1",
|
|
26
26
|
"@types/micromatch": "4.0.9",
|
|
27
|
-
"@types/node": "22.13.
|
|
28
|
-
"@types/react": "19.0.
|
|
27
|
+
"@types/node": "22.13.14",
|
|
28
|
+
"@types/react": "19.0.12",
|
|
29
29
|
"@willbooster/prettier-config": "10.0.0",
|
|
30
|
-
"eslint": "9.
|
|
30
|
+
"eslint": "9.23.0",
|
|
31
31
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
32
|
-
"eslint-config-next": "15.2.
|
|
32
|
+
"eslint-config-next": "15.2.4",
|
|
33
33
|
"eslint-config-prettier": "10.1.1",
|
|
34
|
-
"eslint-import-resolver-typescript": "
|
|
35
|
-
"eslint-plugin-import-x": "4.
|
|
34
|
+
"eslint-import-resolver-typescript": "4.2.7",
|
|
35
|
+
"eslint-plugin-import-x": "4.9.3",
|
|
36
36
|
"eslint-plugin-react": "7.37.4",
|
|
37
37
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
38
38
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
39
39
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
40
|
-
"eslint-plugin-unicorn": "
|
|
40
|
+
"eslint-plugin-unicorn": "58.0.0",
|
|
41
41
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
42
42
|
"globals": "16.0.0",
|
|
43
|
-
"lint-staged": "15.
|
|
43
|
+
"lint-staged": "15.5.0",
|
|
44
44
|
"micromatch": "4.0.8",
|
|
45
|
-
"next": "15.2.
|
|
45
|
+
"next": "15.2.4",
|
|
46
46
|
"prettier": "3.5.3",
|
|
47
|
-
"react": "19.
|
|
47
|
+
"react": "19.1.0",
|
|
48
48
|
"sort-package-json": "3.0.0",
|
|
49
49
|
"typescript": "5.8.2",
|
|
50
|
-
"typescript-eslint": "8.
|
|
50
|
+
"typescript-eslint": "8.28.0",
|
|
51
51
|
"use-immer": "0.11.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|