eslint-plugin-render-if

0.1.0 • Public • Published

eslint-plugin-render-if

ESLint rules for render-if.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-render-if:

$ npm install eslint-plugin-render-if --save-dev

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

Usage

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

{
    "plugins": [
        "render-if"
    ]
}

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

{
    "rules": {
        "render-if/rule-name": 2
    }
}

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-render-if

Weekly Downloads

4

Version

0.1.0

License

MIT

Last publish

Collaborators

  • fg