hackr's eslint configuration, with some sensible defaults for ES2015, Preact and Mocha.
Install eslint and this config:
npm i -D eslint @hackr/eslint-config-preact
Now in your package.json
:
{
"eslintConfig": {
"extends": "@hackr/eslint-config-preact"
}
}
This is a modified version of eslint-config-developit