@alauda/eslint-plugin
v0.0.1
Published
Alauda custom plugins
Downloads
14
Readme
eslint-plugin-params-in-fetcher
Use all params to avoid missing injection param,e.g,continueToken,limit
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-params-in-fetcher
:
npm install eslint-plugin-params-in-fetcher --save-dev
Usage
Add params-in-fetcher
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"params-in-fetcher"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"params-in-fetcher/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.