【文件属性】:
文件名称:gobble-jscs:使用 gobble 和 jscs 检查 JavaScript 文件
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-31 18:46:52
JavaScript
狼吞虎咽的jscs
使用 gobble 和 jscs 检查 JavaScript 文件。
安装
npm install gobble-jscs
用法
gobble ( 'src/js' ) . observe ( 'jscs' , {
// string, array, or RegExp
accept : '.js' ,
// if `true`, errors will not cause the whole build to fail
reportOnly : false ,
// custom reporter
reporter : function ( results ) {
// `results` is an array of { file, filePath, errors } objects
} ,
// all other options a
【文件预览】:
gobble-jscs-master
----.jshintrc(737B)
----.gitattributes(66B)
----.npmignore(23B)
----LICENSE(1KB)
----README.md(742B)
----.gitignore(20B)
----index.js(2KB)
----package.json(688B)