Skip to content

Commit

Permalink
fix glob pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
wakamsha committed Apr 2, 2024
1 parent b1e20b4 commit ab83959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
'*.page.@(tsx|jsx|js)',
// Files with these names allow `default export` according to the Next.js specifications.
// https://nextjs.org/docs/app/api-reference/file-conventions
'**/app/**/@(default|error|layout|loading|middleware|not-found|page|template).*',
'**/app/**/@(default|error|layout|loading|middleware|not\\-found|page|template).*',
],
rules: {
'import/no-default-export': ['off'],
Expand Down

0 comments on commit ab83959

Please sign in to comment.