0.0.1 • Published 3 years ago
eslint-plugin-munnamungara v0.0.1
eslint-plugin-munnamungara
this plugin will helps to find out if the function defined was called or not
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-munnamungara:
npm install eslint-plugin-munnamungara --save-devUsage
Add munnamungara to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["munnamungara"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"munnamungara/rule-name": 2
}
}Rules
In the rules, change the rule-name to check-function-was-called
{
"rules": {
"munnamungara/check-function-was-called": 2
}
}