@willbooster/eslint-config-next 2.5.2 → 2.5.3
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 +2 -0
- package/package.json +6 -6
package/eslint.config.js
CHANGED
|
@@ -246,6 +246,8 @@ const config = [
|
|
|
246
246
|
format: null,
|
|
247
247
|
},
|
|
248
248
|
],
|
|
249
|
+
// We prefer https://typescript-eslint.io/rules/no-non-null-assertion/ to this
|
|
250
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
249
251
|
'@typescript-eslint/no-explicit-any': 'error', // let's try avoiding `any`
|
|
250
252
|
'@typescript-eslint/no-misused-promises': [
|
|
251
253
|
// for React components
|
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.3",
|
|
4
4
|
"description": "A ESLint flat config for Next.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"prettier": "@willbooster/prettier-config",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@eslint/eslintrc": "3.3.1",
|
|
26
|
-
"@eslint/js": "9.
|
|
26
|
+
"@eslint/js": "9.33.0",
|
|
27
27
|
"@types/eslint": "9.6.1",
|
|
28
28
|
"@types/micromatch": "4.0.9",
|
|
29
|
-
"@types/node": "24.1
|
|
29
|
+
"@types/node": "24.2.1",
|
|
30
30
|
"@types/react": "19.1.9",
|
|
31
31
|
"@willbooster/prettier-config": "10.2.0",
|
|
32
32
|
"eslint": "9.32.0",
|
|
33
33
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
34
|
-
"eslint-config-next": "15.4.
|
|
34
|
+
"eslint-config-next": "15.4.6",
|
|
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",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"eslint-plugin-unicorn": "60.0.0",
|
|
44
44
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
45
45
|
"globals": "16.3.0",
|
|
46
|
-
"lint-staged": "16.1.
|
|
46
|
+
"lint-staged": "16.1.5",
|
|
47
47
|
"micromatch": "4.0.8",
|
|
48
|
-
"next": "15.4.
|
|
48
|
+
"next": "15.4.6",
|
|
49
49
|
"prettier": "3.6.2",
|
|
50
50
|
"prettier-plugin-java": "2.7.4",
|
|
51
51
|
"react": "19.1.1",
|