diff --git a/gruntfile.js b/gruntfile.js index be017beab3..d1a4bb13cf 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -30,7 +30,12 @@ module.exports = function(grunt) { } }, jshint: { - all: ['gruntfile.js', 'public/js/**/*.js', 'test/mocha/**/*.js', 'test/karma/**/*.js', 'app/**/*.js'] + all: { + src: ['gruntfile.js', 'public/js/**/*.js', 'test/mocha/**/*.js', 'test/karma/**/*.js', 'app/**/*.js'], + options: { + jshintrc: true + } + } }, nodemon: { dev: { @@ -90,4 +95,4 @@ module.exports = function(grunt) { //Test task. grunt.registerTask('test', ['env:test', 'mochaTest', 'karma:unit']); -}; \ No newline at end of file +};