$ npm install -g @baic/yolk-cli
$ yolk init
$ yolk start
$ yolk build
{
"eslintIgnore": "xxx"
}
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
eslintIgnore | 忽略 commit 时 eslint 代码检查,符合 glob 语法 | string | RegExp | array | - |
stylelintIgnore | 忽略 commit 时 stylelint 代码检查,符合 glob 语法 | string | RegExp | array | - |
strict | 严格模式,关闭以后使用项目定义的 eslint 规则进行提交检查 | boolean | - |