@kyleshevlin/eslint-plugin
Version:
An ESLint rule to encourage using custom hook abstractions
35 lines (24 loc) • 593 B
Markdown
# /eslint-plugin
This is my personal collection of ESLint rules. It contains the following rules:
- `prefer-custom-hooks`
- `no-skipped-or-focused-tests`
Refer to each rule's READMEs in the `/docs/rules` directory.
## Installation
Install the plugin:
```
npm install --save-dev /eslint-plugin
```
Or
```
yarn add -D /eslint-plugin
```
And configure it in your ESLint config:
```javascript
{
plugins: [''],
rules: [
"@kyleshevlin/prefer-custom-hooks": "error",
"@kyleshevlin/no-skipped-or-focused-tests": "error",
]
}
```