ESLint
NextJS configurations. Use this package in NextJS projects.
Add the dependency.
yarn add -D @straw-hat/eslint-config-nextjs
Make sure to install the peer dependencies.
npx install-peerdeps --dev @straw-hat/eslint-config-nextjs
Extend your ESLint
configuration.
{
"extends": ["@straw-hat/eslint-config-nextjs"]
}