@rentpath/eslint-config-rentpath
v4.0.4
Published
RentPath’s extensible shared config for [ESLint](http://eslint.org/)
Downloads
1,137
Readme
eslint-config-rentpath
RentPath’s extensible shared config for ESLint
Installation
# npm
npm i --save-dev eslint @rentpath/eslint-config-rentpath
# yarn
yarn add eslint @rentpath/eslint-config-rentpath --dev
Usage
Add the following entry to your .eslintrc
{
"extends": "@rentpath/eslint-config-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
or $ yarn lint