@inthepocket/eslint-config-next
v1.3.0
Published
This contains all ESLint rules to lint the [Next.js boilerplate](https://git.inthepocket.org/team-spacebar/boilerplates/next-boilerplate) created by Team Spacebar. It is recommended to use this config to ensure that any Next.js project within In The Poc
Downloads
158
Maintainers
Keywords
Readme
@inthepocket/eslint-config-next
This contains all ESLint rules to lint the Next.js boilerplate created by Team Spacebar.
It is recommended to use this config to ensure that any Next.js project within In The Pocket is linted in the same way.
Usage
Install
npm i -D @inthepocket/eslint-config-next
Configure ESLint
Within your package.json add the following:
{
"eslintConfig": {
"extends": ["@inthepocket/eslint-config-next"]
}
}
Add Lint script
{
"scripts": {
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
}
}