Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
update gruntfile.js to let jshint adhere to .jshintrc
Browse files Browse the repository at this point in the history
currently the `jshint:all` task doesn't take the .jshintrc-file into account. This pull corrects that.
  • Loading branch information
0xgeert committed Dec 24, 2013
1 parent 5a780aa commit a2f31f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -90,4 +95,4 @@ module.exports = function(grunt) {

//Test task.
grunt.registerTask('test', ['env:test', 'mochaTest', 'karma:unit']);
};
};

0 comments on commit a2f31f2

Please sign in to comment.