eslint-plugin-jst-gyl
v0.0.7
Published
jst gyl eslint plugin
Maintainers
Readme
eslint-plugin-jst-gyl
供应链代码规范相关的检测规则
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-jst-gyl:
npm install eslint-plugin-jst-gyl --save-devUsage
Add jst-gyl to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"jst-gyl"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"jst-gyl/check-words": ['error',['非法字符']]
}
}Rules
| Name | Description | | :--------------------------------------------- | :------------- | | check-keywords | check keywords |
