@willbooster/eslint-config-next 2.5.4 → 2.5.5

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 +2 -0
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -182,6 +182,8 @@ const config = [
182
182
  },
183
183
  rules: {
184
184
  '@typescript-eslint/camelcase': 'off', // c.f. https://github.com/typescript-eslint/typescript-eslint/issues/2050
185
+ // because `interface Param` cause errors on Next.js
186
+ '@typescript-eslint/consistent-type-definitions': ['error', 'type'],
185
187
  '@typescript-eslint/consistent-type-imports': 'error',
186
188
  '@typescript-eslint/explicit-function-return-type': [
187
189
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-next",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "A ESLint flat config for Next.js",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",