Skip to content

Commit

Permalink
Move jshint options from Grunt to .jshintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob--W committed Jul 21, 2014
1 parent 91517eb commit 5f54bdb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
21 changes: 21 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"browser": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": false,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"onecase": true,
"unused": true,
"supernew": true,
"globals": {
"module": true,
"require": true,
"global": true
}
}
20 changes: 1 addition & 19 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,7 @@ module.exports = function(grunt) {
jshint: {
src: 'src/**/*.js',
options: {
browser: true,
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: false,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
onecase: true,
unused: true,
supernew: true,
globals: {
module: true,
require: true,
global: true
}
jshintrc: true
}
},
uglify: {
Expand Down

0 comments on commit 5f54bdb

Please sign in to comment.