eslint-plugin-hooks-formatter v0.0.30
eslint-plugin-hooks-formatter
eslint plugin for formating react hooks
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-hooks-formatter
:
npm install eslint-plugin-hooks-formatter --save-dev
Usage
Add hooks-formatter
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"hooks-formatter"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"hooks-formatter/line-breaks": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago