@willbooster/eslint-config-next 2.5.3 → 2.5.4
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 +1 -0
- package/package.json +2 -2
package/eslint.config.js
CHANGED
|
@@ -262,6 +262,7 @@ const config = [
|
|
|
262
262
|
],
|
|
263
263
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', ignoreRestSiblings: true }], // allow unused vars in object destructuring
|
|
264
264
|
'@typescript-eslint/no-use-before-define': 'off', // abstract code should appear first
|
|
265
|
+
'@typescript-eslint/prefer-nullish-coalescing': ['error', { ignorePrimitives: true }], // allow || for string, number, bigint and boolean
|
|
265
266
|
'@typescript-eslint/restrict-template-expressions': 'off', // Allow any values in template literals
|
|
266
267
|
},
|
|
267
268
|
},
|
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.4",
|
|
4
4
|
"description": "A ESLint flat config for Next.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/node": "24.2.1",
|
|
30
30
|
"@types/react": "19.1.9",
|
|
31
31
|
"@willbooster/prettier-config": "10.2.0",
|
|
32
|
-
"eslint": "9.
|
|
32
|
+
"eslint": "9.33.0",
|
|
33
33
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
34
34
|
"eslint-config-next": "15.4.6",
|
|
35
35
|
"eslint-config-prettier": "10.1.8",
|