@qiuxc/eslint-plugin
v0.0.0
Published
ESLint plugin for qiuxc.
Downloads
1
Readme
@qiuxc/eslint-plugin
Installation
You'll first need to install ESLint:
pnpm i eslint -D
Next, install @qiuxc/eslint-plugin
:
pnpm i @qiuxc/eslint-plugin -D
Usage
Add @qiuxc
to the plugins section of your .eslintrc
configuration file:
{
"plugins": [
"@qiuxc"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@qiuxc/rule-name": 2
}
}
Supported Rules
- no-classname-spaces className 中间不能有多余的空格
- no-fun-commnet react 组件内部 function 和 hook 要有注释