2.1.0 • Published 9 years ago
eslint-config-rentpath v2.1.0
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 czwill bring up the Commitizen commit prompt, follow the instructions, and$ git pushas usual.