Skip to content

Commit

Permalink
Move the JSHint option into a .jshintrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 9, 2012
1 parent 297aa87 commit 2acf126
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
17 changes: 17 additions & 0 deletions cli/.jshintrc
@@ -0,0 +1,17 @@
{
"node": true,
"es5": true,
"esnext": true,
"bitwise": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"undef": true,
"strict": false,
"trailing": true,
"smarttabs": true
}
19 changes: 1 addition & 18 deletions cli/Gruntfile.js
Expand Up @@ -7,24 +7,7 @@ module.exports = function( grunt ) {
grunt.initConfig({
lint: {
options: {
options: {
node: true,
es5 : true,
esnext: true,
bitwise: true,
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
//regexp: true,
undef: true,
strict: false,
trailing: true,
smarttabs: true,
eqnull: true
},
options: '<json:.jshintrc>',
global: {
process: true
}
Expand Down

0 comments on commit 2acf126

Please sign in to comment.