eslint-plugin-bhargavmungara
v1.0.4
Published
Custom rules for bhargav
Downloads
9
Maintainers
Readme
Installation
This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies
:
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-bhargavmungara
:
npm install eslint-plugin-bhargavmungara --save-dev
Usage
Add bhargavmungara
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["bhargavmungara"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"bhargavmungara/rule-name": 2
}
}
Rules
In the rules, change the rule-name to check-function-was-called
{
"rules": {
"bhargavmungara/check-function-was-called": 2
}
}
Docs
🐛 Bugs
Please file an issue for bugs, missing documentation, or unexpected behavior.