Skip to content

mercadona/eslint-plugin-wrapito

Repository files navigation

eslint-plugin-wrapito

semantic-release: angular

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.