1.0.3 • Published 2 years ago

sensitive-word-check v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

sensitive-word-check

敏感词检查工具

Installation

npm i --save-dev sensitive-word-check

Usage

lint-staged 结合使用

  "lint-staged": {
    "*.{js,vue}": "sensitive-word-check"
  },

Options

使用-w--word自定义敏感词。 示例代码:

"lint-staged": {
    "*.{js,vue}": "sensitive-word-check -w '自定义敏感词1,自定义敏感词2'"
  },

使用--help,查看帮助信息 示例代码:

$ npx sensitive-word-check --help

Usage: sensitive-word-check [options]

Options:
  -V, --version       output the version number
  -w, --word <value>  需要检查的敏感词 (default: "企微管家, 微盛, weshine, wshoto")
  -h, --help          display help for command
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago