4.0.4 • Published 5 years ago

@rentpath/eslint-config-rentpath v4.0.4

Weekly downloads
71
License
MIT
Repository
github
Last release
5 years ago

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