0.0.7 • Published 1 year ago

eslint-plugin-jst-gyl v0.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

NameDescription
check-keywordscheck keywords
0.0.7

1 year ago

0.0.6

1 year ago