diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..1020c65 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,16 @@ +{ + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": false, + "newcap": true, + "noarg": true, + "sub": true, + "undef": true, + "boss": true, + "eqnull": true, + "browser": true, + "globals": { + "jQuery": true + } +} \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js index b116d0f..aaa89d9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -54,22 +54,7 @@ module.exports = function(grunt) { }, jshint: { all: ['<%= concat.dist.dest %>'], - options: { - curly: true, - eqeqeq: true, - immed: true, - latedef: true, - newcap: true, - noarg: true, - sub: true, - undef: true, - boss: true, - eqnull: true, - browser: true, - globals: { - jQuery: true - } - } + options: grunt.file.readJSON('./.jshintrc') } });