jshint the tests

This commit is contained in:
Martin
2017-08-05 13:40:28 +02:00
parent b5663438ec
commit b452790043
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -11,10 +11,12 @@
"QUnit": false, "QUnit": false,
"require": false, "require": false,
"strict": false, "strict": false,
"node": false "node": false,
"ImageEditor": false,
"sessionStorage": false
}, },
"browserify": false, "browserify": false,
"strict": true, "strict": false,
"curly": true, "curly": true,
"forin": true, "forin": true,
"latedef": true, "latedef": true,
+1 -1
View File
@@ -19,7 +19,7 @@ gulp.task('test', ['build'], function() {
}); });
gulp.task('lint', function() { gulp.task('lint', function() {
return gulp.src('./src/**/*.js') return gulp.src(['./src/**/*.js', './test/unit/*.js'])
.pipe(jshint()) .pipe(jshint())
.pipe(jshint.reporter('default')); .pipe(jshint.reporter('default'));
}); });