diff --git a/tasks/lint.js b/tasks/lint.js index 652164e..6ea959a 100644 --- a/tasks/lint.js +++ b/tasks/lint.js @@ -1,15 +1,19 @@ 'use strict'; -var gulp = require('gulp'), +const gulp = require('gulp'), jsonlint = require("gulp-jsonlint"); function lintTask(options){ - gulp.task('lint', ['dupe'], function(){ - return options - .src(options.workingDir + '/**/conf.json') - .pipe(jsonlint()) - .pipe(jsonlint.reporter()); - }); + // Requiers: dupe. + gulp.task( + 'lint', + function() { + return options + .src(options.workingDir + '/**/conf.json') + .pipe(jsonlint()) + .pipe(jsonlint.reporter()); + } + ); } -module.exports = lintTask; \ No newline at end of file +module.exports = lintTask;