diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..10a002b --- /dev/null +++ b/.jshintrc @@ -0,0 +1,3 @@ +{ + "varstmt" : true +} \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 839b7df..bf74c17 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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() { diff --git a/package.json b/package.json index 0891d8f..18b4be1 100644 --- a/package.json +++ b/package.json @@ -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",