Skip to content
Browse files

Move the JSHint option into a .jshintrc file

  • Loading branch information...
1 parent 297aa87 commit 2acf12635ecf58c748e3dc1e854ac471526ef4d9 @sindresorhus sindresorhus committed
Showing with 18 additions and 18 deletions.
  1. +17 −0 cli/.jshintrc
  2. +1 −18 cli/Gruntfile.js
View
17 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
+}
View
19 cli/Gruntfile.js
@@ -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
}

0 comments on commit 2acf126

Please sign in to comment.
Something went wrong with that request. Please try again.