@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 CHANGED
@@ -6,6 +6,7 @@ You need to do the following command to install peer dependencies.
6
6
  ```sh
7
7
  yarn add -D @willbooster/eslint-config-next \
8
8
  eslint \
9
+ eslint-config-flat-gitignore \
9
10
  eslint-config-prettier \
10
11
  eslint-plugin-import \
11
12
  eslint-plugin-prettier \
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.0.5",
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.0",
24
- "@eslint/js": "9.21.0",
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.9",
28
- "@types/react": "19.0.10",
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-next": "15.2.1",
32
- "eslint-config-prettier": "10.0.2",
33
- "eslint-import-resolver-typescript": "3.8.3",
34
- "eslint-plugin-import-x": "4.6.1",
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.4.3",
43
+ "lint-staged": "15.5.0",
43
44
  "micromatch": "4.0.8",
44
- "next": "15.2.1",
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.26.0",
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",