@willbooster/eslint-config-next 2.5.0 → 2.5.2

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 +9 -4
  2. package/package.json +19 -19
package/eslint.config.js CHANGED
@@ -34,7 +34,7 @@ const config = [
34
34
  // --------------- from eslint-config-js ---------------
35
35
  // Note: don't merge the below two objects!
36
36
  {
37
- files: ['{,src/**/,tests/**/,scripts/**/}*.{cjs,js,jsx,mjs}'],
37
+ files: ['{,prisma/**/,src/**/,test/**/,scripts/**/}*.{cjs,js,jsx,mjs}'],
38
38
  },
39
39
  {
40
40
  ignores: [
@@ -161,13 +161,18 @@ const config = [
161
161
  // -----------------------------------------------------------
162
162
 
163
163
  // --------------- from eslint-config-ts ---------------
164
- ...tseslint.configs.recommendedTypeChecked.map((config) => ({
164
+ ...tseslint.configs.strictTypeChecked.map((config) => ({
165
165
  ...config,
166
- files: ['{,src/**/,tests/**/,scripts/**/}*.{cts,mts,ts,tsx}'],
166
+ files: ['{,prisma/**/,src/**/,test/**/,scripts/**/}*.{cts,mts,ts,tsx}'],
167
+ ignores: ['*.{cjs,js,mjs}'],
168
+ })),
169
+ ...tseslint.configs.stylisticTypeChecked.map((config) => ({
170
+ ...config,
171
+ files: ['{,prisma/**/,src/**/,test/**/,scripts/**/}*.{cts,mts,ts,tsx}'],
167
172
  ignores: ['*.{cjs,js,mjs}'],
168
173
  })),
169
174
  {
170
- files: ['{,src/**/,tests/**/,scripts/**/}*.{cts,mts,ts,tsx}'],
175
+ files: ['{,prisma/**/,src/**/,test/**/,scripts/**/}*.{cts,mts,ts,tsx}'],
171
176
  ignores: ['*.{cjs,js,mjs}'],
172
177
  languageOptions: {
173
178
  parserOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-next",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "A ESLint flat config for Next.js",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -10,29 +10,29 @@
10
10
  "eslint.config.js"
11
11
  ],
12
12
  "scripts": {
13
- "check-all-for-ai": "yarn check-for-ai && yarn test --silent",
14
- "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null && yarn lint-fix --quiet && yarn typecheck",
13
+ "check-all-for-ai": "yarn check-for-ai && yarn test",
14
+ "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true && yarn lint-fix --quiet && yarn typecheck",
15
15
  "cleanup": "yarn format && yarn lint-fix",
16
16
  "format": "sort-package-json && yarn prettify",
17
17
  "lint": "eslint --color",
18
18
  "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"",
19
- "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\"",
19
+ "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\" || true",
20
20
  "test": "yarn lint",
21
21
  "typecheck": "tsc --noEmit --Pretty"
22
22
  },
23
23
  "prettier": "@willbooster/prettier-config",
24
24
  "devDependencies": {
25
25
  "@eslint/eslintrc": "3.3.1",
26
- "@eslint/js": "9.30.0",
26
+ "@eslint/js": "9.32.0",
27
27
  "@types/eslint": "9.6.1",
28
28
  "@types/micromatch": "4.0.9",
29
- "@types/node": "22.15.34",
30
- "@types/react": "19.1.8",
29
+ "@types/node": "24.1.0",
30
+ "@types/react": "19.1.9",
31
31
  "@willbooster/prettier-config": "10.2.0",
32
- "eslint": "9.30.0",
32
+ "eslint": "9.32.0",
33
33
  "eslint-config-flat-gitignore": "2.1.0",
34
- "eslint-config-next": "15.3.4",
35
- "eslint-config-prettier": "10.1.5",
34
+ "eslint-config-next": "15.4.5",
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",
@@ -40,18 +40,18 @@
40
40
  "eslint-plugin-react-hooks": "5.2.0",
41
41
  "eslint-plugin-sort-class-members": "1.21.0",
42
42
  "eslint-plugin-sort-destructure-keys": "2.0.0",
43
- "eslint-plugin-unicorn": "59.0.1",
43
+ "eslint-plugin-unicorn": "60.0.0",
44
44
  "eslint-plugin-unused-imports": "4.1.4",
45
- "globals": "16.2.0",
46
- "lint-staged": "16.1.2",
45
+ "globals": "16.3.0",
46
+ "lint-staged": "16.1.4",
47
47
  "micromatch": "4.0.8",
48
- "next": "15.3.4",
48
+ "next": "15.4.5",
49
49
  "prettier": "3.6.2",
50
- "prettier-plugin-java": "2.7.1",
51
- "react": "19.1.0",
52
- "sort-package-json": "3.3.1",
53
- "typescript": "5.8.3",
54
- "typescript-eslint": "8.35.0",
50
+ "prettier-plugin-java": "2.7.4",
51
+ "react": "19.1.1",
52
+ "sort-package-json": "3.4.0",
53
+ "typescript": "5.9.2",
54
+ "typescript-eslint": "8.39.0",
55
55
  "use-immer": "0.11.0"
56
56
  },
57
57
  "peerDependencies": {