mercadona / eslint-plugin-wrapito

An ESLint plugin for wrapito

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An ESLint plugin for wrapito

License:MIT License


Languages

Language:JavaScript 100.0%