From 6e2e24143e7895e61273c3f9d30246e41012d2b8 Mon Sep 17 00:00:00 2001 From: Yves Richard Date: Wed, 8 Oct 2014 15:15:15 -0600 Subject: [PATCH] added jshint ignore but not working. see: https://github.com/gruntjs/grunt-contrib-jshint/issues/177 --- Gruntfile.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index e03c39c0e..0029dc1bf 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -125,7 +125,7 @@ module.exports = function (grunt) { jshint: { options: { jshintrc: '<%= yeoman.client %>/.jshintrc', - reporter: require('jshint-stylish') + verbose: true }, server: { options: { @@ -133,11 +133,16 @@ module.exports = function (grunt) { }, src: [ 'server/{,*/}*.js'] }, - all: [ - '<%= yeoman.client %>/{app,components}/**/*.js', - '!<%= yeoman.client %>/{app,components}/**/*.spec.js', - '!<%= yeoman.client %>/{app,components}/**/*.mock.js' - ], + all: { + options: { + '-W106': true + }, + src: [ + '<%= yeoman.client %>/{app,components}/**/*.js', + '!<%= yeoman.client %>/{app,components}/**/*.spec.js', + '!<%= yeoman.client %>/{app,components}/**/*.mock.js' + ] + }, test: { src: [ '<%= yeoman.client %>/{app,components}/**/*.spec.js',