@inthepocket/eslint-config-next
This contains all ESLint rules to lint the Preact boilerplate created by Team Spacebar.
It is recommended to use this config to ensure that any Preact project within In The Pocket is linted in the same way.
Usage
Install
npm i -D @inthepocket/eslint-config-preact
Configure ESLint
Within your package.json add the following:
{
"eslintConfig": {
"extends": ["@inthepocket/eslint-config-preact"]
}
}
Add Lint script
{
"scripts": {
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
}
}