@bel0v/eslint-plugin-deprecate

1.0.1 • Public • Published

eslint-plugin-deprecate

NPM version

This plugin helps you to refactor your codebase.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-deprecate:

$ npm install eslint-plugin-deprecate --save-dev

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

Usage

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

{
    "plugins": [
        "deprecate"
    ]
}

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

{
    "rules": {
        "deprecate/rule-name": 2
    }
}

Supported Rules

/@bel0v/eslint-plugin-deprecate/

    Package Sidebar

    Install

    npm i @bel0v/eslint-plugin-deprecate

    Weekly Downloads

    430

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • bel0v