eslint-config-planetary-ssb
v1.0.4
Published
Minimal linting settings in a shareable eslint config.
Downloads
4
Readme
eslint config planetary-ssb
Minimal linting settings in a shareable eslint config.
- 4 spaces
- no semicolons
- max line length of 80 columns
- no unused variables, but unused parameters are ok
- single quotes, but double are ok for escaping purposes
- no-undef
install
$ npm i -D eslint eslint-config-planetary-ssb
use
$ npm run lint
package.json
{
"scripts": {
"lint": "eslint ."
}
}
.eslintrc
{
"extends": ["planetary-ssb"]
}