Adds jshint reporting

This commit is contained in:
2016-02-24 12:14:41 +01:00
parent c86e06fe23
commit e6e1f6d6b3
3 changed files with 5 additions and 1 deletions

3
.jshintrc Normal file
View File

@@ -0,0 +1,3 @@
{
"varstmt" : true
}

View File

@@ -49,7 +49,7 @@ pipes.bowerFilesMinified = function() {
pipes.validatedAppScripts = function() {
return gulp.src(paths.appFiles)
.pipe(plugins.jshint())
.pipe(plugins.debug({title: 'validated-js:'}));
.pipe(plugins.jshint.reporter('jshint-stylish'));
}
pipes.validatedIndex = function() {

View File

@@ -23,6 +23,7 @@
"gulp-util": "^3.0.7",
"jasmine-core": "^2.4.1",
"jshint": "^2.9.1",
"jshint-stylish": "^2.1.0",
"karma": "^0.13.19",
"karma-chrome-launcher": "^0.2.2",
"karma-firefox-launcher": "^0.1.7",