1.0.0 • Published 2 years ago
eslint-plugin-wrapito v1.0.0
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. |
1.0.0
2 years ago