eslint-plugin-no-debug-enabled

0.0.1 • Public • Published

eslint-plugin-no-debug-enabled

Ensure you don't have debug enabled!

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-debug-enabled:

$ npm install eslint-plugin-no-debug-enabled --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-debug-enabled globally.

Usage

Add eslint-no-debug-enabled to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "eslint-no-debug-enabled"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "eslint-no-debug-enabled": [["debugpkg", "otherdebug"]]
    }
}

Package Sidebar

Install

npm i eslint-plugin-no-debug-enabled

Weekly Downloads

2

Version

0.0.1

License

ISC

Last publish

Collaborators

  • jodi