0.0.0 • Published 3 years ago
eslint-plugin-obj-url-repeat v0.0.0
eslint-plugin-obj-url-repeat
check the url of obj is repeat
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-obj-url-repeat:
npm install eslint-plugin-obj-url-repeat --save-devUsage
Add obj-url-repeat to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"obj-url-repeat"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"obj-url-repeat/url-repeat": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.
0.0.0
3 years ago