0.0.1 • Published 1 year 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-dev
Next, install eslint-plugin-munnamungara
:
npm install eslint-plugin-munnamungara --save-dev
Usage
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
}
}