/ReactLint

Primary LanguageJavaScriptMIT LicenseMIT

eslint-plugin-react-lint

ReactLint is a EsLint plugin to search code smells on React applications

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-react-lint:

npm install eslint-plugin-react-lint --save-dev

Usage

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

{
    "plugins": [
        "react-lint"
    ]
}

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

{
    "rules": {
        "react-lint/no-dom-manipulation": "off"
    }
}

Supported Rules

  • Fill in provided rules here