diff --git a/package.json b/package.json index e6982b0..0c586d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@brainylab/eslint-config", - "version": "2.5.2", + "version": "2.5.3", "description": "ESLint config for BrainyLab projects", "keywords": [ "eslint", diff --git a/src/presets/next.ts b/src/presets/next.ts index 9542964..a2d81d1 100644 --- a/src/presets/next.ts +++ b/src/presets/next.ts @@ -1,5 +1,7 @@ import { pluginNext } from '../plugins'; +import type { FlatESLintConfig } from 'eslint-define-config'; + export const next = [ { plugins: { @@ -11,7 +13,6 @@ export const next = [ }, }, { - name: 'no default exports exceptions', files: [ 'src/app/**/{page,layout,template}.tsx', '*.config.{ts,js}', @@ -23,4 +24,4 @@ export const next = [ 'no-restricted-syntax': ['off', { selector: 'ExportDefaultDeclaration' }], }, }, -]; +] as FlatESLintConfig[];