eslint-plugin-tumblbug
v0.0.4
Published
Custom eslint rules by Tumblbug, Inc.
Downloads
211
Readme
eslint-plugin-tumblbug
Custom eslint rules by Tumblbug, Inc.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-tumblbug
:
$ npm install eslint-plugin-tumblbug --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-tumblbug
globally.
Usage
Add tumblbug
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tumblbug"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tumblbug/rule-name": 2
}
}
Supported Rules
See the docs
directory.