Skip to content

Commit

Permalink
Move jshint rules into jshintrc and include from Gruntfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssafejava committed Sep 18, 2013
1 parent 806cd60 commit e782efa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
16 changes: 16 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": false,
"newcap": true,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"browser": true,
"globals": {
"jQuery": true
}
}
17 changes: 1 addition & 16 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,7 @@ module.exports = function(grunt) {
},
jshint: {
all: ['<%= concat.dist.dest %>'],
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
browser: true,
globals: {
jQuery: true
}
}
options: grunt.file.readJSON('./.jshintrc')
}
});

Expand Down

0 comments on commit e782efa

Please sign in to comment.