0.0.0 • Published 3 years ago
@qiuxc/eslint-plugin v0.0.0
@qiuxc/eslint-plugin
Installation
You'll first need to install ESLint:
pnpm i eslint -DNext, install @qiuxc/eslint-plugin:
pnpm i @qiuxc/eslint-plugin -DUsage
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 要有注释
0.0.0
3 years ago