Skip to content

Commit

Permalink
fix files condition
Browse files Browse the repository at this point in the history
fix files condition
  • Loading branch information
wakamsha committed Apr 2, 2024
1 parent 5e66330 commit 9adc789
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rules/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ module.exports = {

overrides: [
{
files: ['**/pages/**/*.@(tsx|jsx)', '*.page.@(tsx|jsx)'],
files: [
'**/pages/**/*.@(tsx|jsx|js)',
'*.page.@(tsx|jsx|js)',
'**/app/**/@(page|layout).@(tsx|jsx|js)',
],
rules: {
'import/no-default-export': ['off'],
},
Expand Down

0 comments on commit 9adc789

Please sign in to comment.