0.5.0 • Published 4 years ago
eslint-plugin-rectify v0.5.0
eslint-plugin-rectify
eslint-plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-rectify:
npm install eslint-plugin-rectify --save-devUsage
Add rectify to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"rectify"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"rectify/no-useless-concat": 2,
"rectify/no-string-regexp": 2,
"rectify/json-parse-risk": 2,
"rectify/no-default-sort": 2
}
}Supported Rules
- Fill in provided rules here