1.0.2 • Published 3 years ago
eslint-plugin-gonglu v1.0.2
eslint-plugin-gonglu
检查代码
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-gonglu:
npm install eslint-plugin-gonglu --save-devUsage
Add gonglu to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"gonglu"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"gonglu/publish-subscription": [1, { "prefix": "__", "suffix": "__" }]
}
}Supported Rules
- Fill in provided rules here