eslint-plugin-wrapito
v1.0.0
Published
An ESLint plugin for wrapito
Downloads
3
Maintainers
Readme
eslint-plugin-wrapito
An ESLint plugin for wrapito
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-wrapito
:
npm install eslint-plugin-wrapito --save-dev
Usage
Add wrapito
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"wrapito"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"wrapito/no-debug-requests": "warn"
}
}
Rules
| Name | Description | | :--------------------------------------------------- | :------------------------------------------------ | | no-debug-requests | Prevent commiting tests with debugRequests calls. |