eslint-config-jk
v1.6.0
Published
Node.js lint setup and config that I use in my projects (based on StandardJS).
Downloads
13
Readme
eslint-config-jk
The lint setup and config that I use in my projects. Basically StandardJS with a little extra, and linting on pre-commit.
Setup
One package sets up everything needed for linting:
npm i eslint-config-jk --save-dev
- Installs eslint
- Installs the StandardJS eslint configs / plugins
- Adds custom rules and plugins I like
- Installs husky
- Installs lint-staged
- Adds to
package.json
(if file exsists)- Eslint config option
- Husky hook to lint on pre-commit
- package script
lint
(npm run lint
)