eslint-plugin-tp-react

0.0.0-beta.1 • Public • Published

eslint-plugin-tp-recommended-react

react eslint

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-tp-recommended-react:

npm install eslint-plugin-tp-recommended-react --save-dev

Usage

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

{
    "plugins": [
        "tp-recommended-react"
    ]
}

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

{
    "rules": {
        "tp-recommended-react/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

/eslint-plugin-tp-react/

    Package Sidebar

    Install

    npm i eslint-plugin-tp-react

    Weekly Downloads

    1

    Version

    0.0.0-beta.1

    License

    ISC

    Unpacked Size

    3.38 kB

    Total Files

    5

    Last publish

    Collaborators

    • tangpiece