@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}'"
}
}