Skip to content

Commit

Permalink
fix(next-config): ajustes e nova regra para next config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefelipeschulle committed Jun 27, 2024
1 parent 8b2f23f commit dd502e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainylab/eslint-config",
"version": "2.5.2",
"version": "2.5.3",
"description": "ESLint config for BrainyLab projects",
"keywords": [
"eslint",
Expand Down
5 changes: 3 additions & 2 deletions src/presets/next.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { pluginNext } from '../plugins';

import type { FlatESLintConfig } from 'eslint-define-config';

export const next = [
{
plugins: {
Expand All @@ -11,7 +13,6 @@ export const next = [
},
},
{
name: 'no default exports exceptions',
files: [
'src/app/**/{page,layout,template}.tsx',
'*.config.{ts,js}',
Expand All @@ -23,4 +24,4 @@ export const next = [
'no-restricted-syntax': ['off', { selector: 'ExportDefaultDeclaration' }],
},
},
];
] as FlatESLintConfig[];

0 comments on commit dd502e4

Please sign in to comment.