@nexxtway/eslint-plugin-rainbow

0.0.1 • Public • Published

eslint-plugin-rainbow

Static AST checker for React Rainbow Components projects

Installation

You'll first need to install ESLint:

$ yarn add -D eslint

Next, install eslint-plugin-rainbow:

$ yarn add -D eslint-plugin-rainbow

Usage

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

{
    "plugins": [
        "rainbow"
    ]
}

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

{
    "rules": {
        "rainbow/no-double-negation-renderif": 2
    }
}

Supported Rules

  • no-double-negation-renderif

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @nexxtway/eslint-plugin-rainbow

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    63.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • hellwolf93
    • tahimileon
    • jltorress
    • maxxgreene
    • reiniergs
    • wildergd