Skip to content

Commit

Permalink
Move JSHint's options to .jshintrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 4, 2015
1 parent 02f5d4f commit 1948d03
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
14 changes: 14 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"immed": true,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"node": true,
"sub": true,
"undef": true,
"unused": true
}
13 changes: 1 addition & 12 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,7 @@ module.exports = function(grunt) {
libs_n_tests: ['lib/**/*.js', '<%= nodeunit.all %>'],
subgrunt: ['<%= subgrunt.all %>'],
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: 'nofunc',
newcap: true,
noarg: true,
sub: true,
undef: true,
unused: true,
boss: true,
eqnull: true,
node: true,
jshintrc: '.jshintrc'
}
},
jscs: {
Expand Down

0 comments on commit 1948d03

Please sign in to comment.