1.3.1 • Published 2 years ago
eslint-plugin-detachhead v1.3.1
eslint-plugin-detachhead
detachhead's eslint rules
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-detachhead:
npm install eslint-plugin-detachhead --save-devUsage
Add detachhead to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["detachhead"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"detachhead/rule-name": "error"
}
}Rules
| Name |
|---|
| require-variance-annotations |