0.0.16 ⢠Published 1 year ago
eslint-plugin-heywon0909 v0.0.16
eslint-plugin-heywon0909
heywon0909's custom plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-heywon0909
:
npm install eslint-plugin-heywon0909 --save-dev
Usage
Add heywon0909
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"heywon0909"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"heywon0909/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
š§ Automatically fixable by the --fix
CLI option.
Name | Description | š§ |
---|---|---|
array-definition | definition array variables | š§ |