1.0.4 • Published 3 years ago
eslint-plugin-bhargavmungara v1.0.4
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-devNext, install eslint-plugin-bhargavmungara:
npm install eslint-plugin-bhargavmungara --save-devUsage
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.