0.0.3 • Published 7 years ago
dn-middleware-grep v0.0.3
配置中件间
在指定的 pipe 中配置
publish:
- name: grep
mode: exclude # 排除模式找到时中止,包含模式找不到时中止
src: ./build/**/*.js # 指定扫描的文件或目录
指定关键词
在项目根目录添加 .greprc,格式为 yaml,如下
words:
- 'let '
- 'const '
- '.find'
- '.findIndex'
- '=>'
- 'class '
0.0.3
7 years ago