eslint-config-rentpath
v2.1.0
Published
RentPath’s extensible shared config for [ESLint](http://eslint.org/)
Downloads
11
Maintainers
Readme
eslint-config-rentpath
RentPath’s extensible shared config for ESLint
Installation
npm i --save-dev eslint eslint-config-rentpathUsage
Add the following entry to your .eslintrc
{
"extends": "rentpath"
}It's easiest to add a script to package.json to run linting; for example,
"scripts": {
"lint": "eslint <path_to_javascript_dir>",
}Then just $ npm run lint
Commitizen
eslint-config-rentpath uses Commitizen to format commit messages.
- Install it globally
$ npm install -g commitizenOnce you are ready to commit, follow the familiar github workflow, with a slight change.
$ git add <files>
$ git cz$ git cz will bring up the Commitizen commit prompt, follow the instructions, and $ git push as usual.
