@willbooster/eslint-config-next 2.0.5 → 2.1.1
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 +3 -0
- package/package.json +14 -12
package/README.md
CHANGED
package/eslint.config.js
CHANGED
|
@@ -5,6 +5,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
5
5
|
|
|
6
6
|
import { FlatCompat } from '@eslint/eslintrc';
|
|
7
7
|
import js from '@eslint/js';
|
|
8
|
+
import eslintConfigFlatGitignore from 'eslint-config-flat-gitignore';
|
|
8
9
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
9
10
|
import eslintPluginReact from 'eslint-plugin-react';
|
|
10
11
|
import eslintPluginSortClassMembers from 'eslint-plugin-sort-class-members';
|
|
@@ -247,6 +248,7 @@ const config = [
|
|
|
247
248
|
],
|
|
248
249
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', ignoreRestSiblings: true }], // allow unused vars in object destructuring
|
|
249
250
|
'@typescript-eslint/no-use-before-define': 'off', // abstract code should appear first
|
|
251
|
+
'@typescript-eslint/restrict-template-expressions': 'off', // Allow any values in template literals
|
|
250
252
|
},
|
|
251
253
|
},
|
|
252
254
|
// cf. https://github.com/sweepline/eslint-plugin-unused-imports#usage
|
|
@@ -268,6 +270,7 @@ const config = [
|
|
|
268
270
|
],
|
|
269
271
|
},
|
|
270
272
|
},
|
|
273
|
+
eslintConfigFlatGitignore(),
|
|
271
274
|
// cf. https://github.com/prettier/eslint-config-prettier#installation
|
|
272
275
|
eslintConfigPrettier,
|
|
273
276
|
// -----------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-next",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "A ESLint flat config for Next.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -20,18 +20,19 @@
|
|
|
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.11",
|
|
28
|
+
"@types/react": "19.0.12",
|
|
29
29
|
"@willbooster/prettier-config": "10.0.0",
|
|
30
30
|
"eslint": "9.21.0",
|
|
31
|
-
"eslint-config-
|
|
32
|
-
"eslint-config-
|
|
33
|
-
"eslint-
|
|
34
|
-
"eslint-
|
|
31
|
+
"eslint-config-flat-gitignore": "2.1.0",
|
|
32
|
+
"eslint-config-next": "15.2.3",
|
|
33
|
+
"eslint-config-prettier": "10.1.1",
|
|
34
|
+
"eslint-import-resolver-typescript": "4.2.2",
|
|
35
|
+
"eslint-plugin-import-x": "4.9.1",
|
|
35
36
|
"eslint-plugin-react": "7.37.4",
|
|
36
37
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
37
38
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
@@ -39,20 +40,21 @@
|
|
|
39
40
|
"eslint-plugin-unicorn": "57.0.0",
|
|
40
41
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
41
42
|
"globals": "16.0.0",
|
|
42
|
-
"lint-staged": "15.
|
|
43
|
+
"lint-staged": "15.5.0",
|
|
43
44
|
"micromatch": "4.0.8",
|
|
44
|
-
"next": "15.2.
|
|
45
|
+
"next": "15.2.3",
|
|
45
46
|
"prettier": "3.5.3",
|
|
46
47
|
"react": "19.0.0",
|
|
47
48
|
"sort-package-json": "3.0.0",
|
|
48
49
|
"typescript": "5.8.2",
|
|
49
|
-
"typescript-eslint": "8.
|
|
50
|
+
"typescript-eslint": "8.27.0",
|
|
50
51
|
"use-immer": "0.11.0"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"@eslint/eslintrc": ">=3",
|
|
54
55
|
"@eslint/js": ">=9",
|
|
55
56
|
"eslint": ">=9",
|
|
57
|
+
"eslint-config-flat-gitignore": ">=2.1",
|
|
56
58
|
"eslint-config-next": ">=15",
|
|
57
59
|
"eslint-config-prettier": ">=10",
|
|
58
60
|
"eslint-import-resolver-typescript": ">=3",
|