Skip to content

Commit

Permalink
fix(eslint-config-next): settings for import/no-default-export
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 27, 2023
1 parent 3b346b1 commit 1d5cd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-next/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
overrides: [
{
// A default export is required in app and page files.
files: ['src/**/pages/*.ts', 'src/pages/**/*.tsx', 'src/pages/api/**/*.ts'],
files: ['src/app/**/{layout,page}.tsx', 'src/pages/**/*.tsx', 'src/pages/api/**/*.ts'],
rules: { 'import/no-default-export': 'off' },
},
{
Expand Down

0 comments on commit 1d5cd03

Please sign in to comment.