0.0.2 • Published 7 months ago
eslint-plugin-reactadv v0.0.2
eslint-plugin-reactadv
plugin for react adv
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-reactadv
:
npm install eslint-plugin-reactadv --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-reactadv
and add reactadv
to the plugins
key:
import reactadv from "eslint-plugin-reactadv";
export default [
{
plugins: {
reactadv
}
}
];
Then configure the rules you want to use under the rules
key.
import reactadv from "eslint-plugin-reactadv";
export default [
{
plugins: {
reactadv
},
rules: {
"reactadv/rule-name": "warn"
}
}
];
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.