An ESLint plugin for wrapito
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-wrapito:
npm install eslint-plugin-wrapito --save-devAdd 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"
}
}| Name | Description |
|---|---|
| no-debug-requests | Prevent commiting tests with debugRequests calls. |