1.0.6 • Published 2 years ago
eslint-plugin-hf v1.0.6
eslint-plugin-hf
hf's eslint
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-hf
:
npm install eslint-plugin-hf --save-dev
Usage
Add hf
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"hf"
],
"rules": {
"hf/func-annotation": "error",
"hf/no-nested-ternary": "error",
}
}