@inthepocket/eslint-config-preact
v1.2.13
Published
This contains all ESLint rules to lint the [Preact boilerplate](https://git.inthepocket.org/team-spacebar/boilerplates/preact-boilerplate) created by Team Spacebar. It is recommended to use this config to ensure that any Preact project within In The Poc
Downloads
27
Maintainers
Keywords
Readme
@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}'"
}
}