@jay-es/eslint-config-nextjs-no-default-export
v0.1.2
Published
Enforce default exports in Next.js App Router's special files, and prohibit it in other files
Downloads
28
Maintainers
Readme
eslint-config-nextjs-no-default-export
ESLint configuration for Next.js.
Enforce default exports in App Router's special files (e.g. page.js), and prohibit it in other files.
Usage
Install packages.
npm install -D @jay-es/eslint-config-nextjs-no-default-export eslint-plugin-import
And then add to .eslintrc
.
{
"extends": [
// ...
"@jay-es/nextjs-no-default-export"
]
}