1.3.1 • Published 1 year 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-dev
Next, install eslint-plugin-detachhead
:
npm install eslint-plugin-detachhead --save-dev
Usage
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 |