@infynno/eslint-config-nextjs
v1.0.4
Published
Custom eslint config for nextjs projects at Infynno Solutions
Downloads
14
Readme
Eslint Config Nextjs
This is a custom package used to configure eslint for projects at Infynno Solutions. Feel free to use it for your projects.
How to use
- Install the package
npm install --save-dev @infynno/eslint-config-nextjs
or
yarn add -D @infynno/eslint-config-nextjs
or
pnpm add -D @infynno/eslint-config-nextjs
- Extend your eslint config and add
@infynno/eslint-config-nextjs
.
{
"extends": ["@infynno/eslint-config-nextjs"]
}
Why use this config?
- Includes all Nextjs's recommended config guide (next/core-web-vitals)
- Integrates prettier for code formatting using
eslint-config-prettier
andeslint-plugin-prettier
- Automatically sorts your imports using
react/jsx-sort-props
- Automatically configures orders for your imports using
import/order
- Removes unused imports automatically using
unused-imports