eslint-plugin-base
base eslint config for our projects
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-base
:
$ npm install eslint-plugin-base --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-base
globally.
Usage
Add base
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"base"
]
}