eslint-plugin-tp-react
v0.0.0-beta.1
Published
react eslint
Downloads
1
Maintainers
Readme
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.