eslint-plugin-kidar
v0.0.2
Published
rules
Downloads
302
Maintainers
Readme
eslint-plugin-kidar
rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-kidar
:
npm install eslint-plugin-kidar --save-dev
Usage
Add kidar
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"kidar"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"kidar/rule-name": 2
}
}
Configurations
| | Name |
| :- | :------------ |
| ✅ | recommended
|
Rules
🔧 Automatically fixable by the --fix
CLI option.
| Name | Description | 🔧 | | :------------------------------------- | :-------------------- | :- | | no-chinese | check chinese in code | 🔧 |