Skip to content

Commit

Permalink
πŸ› allow default exports for nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeofawesome committed Mar 5, 2024
1 parent e0af8bb commit 2974f3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-nextjs/base.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
extends:
- '@dudeofawesome/eslint-config-react'
- 'plugin:@next/eslint-plugin-next/recommended'

rules:
# NextJS requires page components to be default exports
import/no-default-export: 'off'

0 comments on commit 2974f3e

Please sign in to comment.