【文件属性】:
文件名称:gulp-canonical:口头规范
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-10 13:30:52
JavaScript
典范
使用不需要插件。 规范的可访问所有功能。 将Canonical API与glob模式匹配器(例如 )结合使用,可以处理多个文件,例如
import gulp from 'gulp' ;
import glob from 'globby' ;
import {
lintText ,
lintFiles ,
getFormatter
} from 'canonical' ;
gulp . task ( 'lint-javascript' , ( ) => {
return glob ( [ './**/*.js' ] )
. then ( ( paths ) => {
let formatter ,
report ;
formatter = getFormatt
【文件预览】:
gulp-canonical-master
----src()
--------gulpfile.js(506B)
----LICENSE(1KB)
----README.md(1KB)
----.gitignore(38B)
----package.json(549B)