0.0.7 • Published 1 year ago
eslint-plugin-jst-gyl v0.0.7
eslint-plugin-jst-gyl
供应链代码规范相关的检测规则
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-jst-gyl
:
npm install eslint-plugin-jst-gyl --save-dev
Usage
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 |