From 2acf12635ecf58c748e3dc1e854ac471526ef4d9 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 9 Aug 2012 20:41:57 +0200 Subject: [PATCH] Move the JSHint option into a .jshintrc file --- cli/.jshintrc | 17 +++++++++++++++++ cli/Gruntfile.js | 19 +------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 cli/.jshintrc diff --git a/cli/.jshintrc b/cli/.jshintrc new file mode 100644 index 00000000..5814ba5a --- /dev/null +++ b/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 +} diff --git a/cli/Gruntfile.js b/cli/Gruntfile.js index 540374ff..e969e446 100644 --- a/cli/Gruntfile.js +++ b/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: '', global: { process: true }