diff options
author | Saivan <savian@me.com> | 2018-02-27 02:52:25 +1100 |
---|---|---|
committer | Saivan <savian@me.com> | 2018-02-27 02:52:25 +1100 |
commit | bac8fc42266c65c6163d351625e4ec4e9f5bca88 (patch) | |
tree | 433bcabf705e17f240539ed16896f2d231da9005 /gulpfile.js | |
parent | dc6a25c008da1d84d49ffb4902a31fc5477e578e (diff) | |
download | svg.js-bac8fc42266c65c6163d351625e4ec4e9f5bca88.tar.gz svg.js-bac8fc42266c65c6163d351625e4ec4e9f5bca88.zip |
So the standard linter is operational and our code is compliant
This commit completes the compliance of our code with the standard
linter. It is now building correctly and error messages are displayed
when somebody tries to build bad code!
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js index 9d955fc..545a27f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -95,12 +95,12 @@ gulp.task('clean', function () { gulp.task('unify', ['clean'], function () {
pkg.buildDate = Date()
return gulp.src(parts)
- // .pipe(standard())
- // .pipe(standard.reporter('default', {
- // showRuleNames: true,
- // breakOnError: true,
- // quiet: true
- // }))
+ .pipe(standard())
+ .pipe(standard.reporter('default', {
+ showRuleNames: true,
+ breakOnError: true,
+ quiet: true
+ }))
.pipe(concat('svg.js', { newLine: '\n' }))
// wrap the whole thing in an immediate function call
.pipe(wrapUmd({src: 'src/umd.js'}))
|