diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 842bdc39..5eb7ad35 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -23,8 +23,14 @@ module.exports = (grunt) -> src: ['test/**/*.js'] jshint: - all: ['bin/embark', 'lib/**/*.js', 'js/mine.js', 'js/embark.js'], + all: ['bin/embark', 'lib/**/*.js'] options: grunt.file.readJSON('package.json').jshintConfig + with_overrides: + options: + undef: false + esversion: 5 + files: + src: ['js/mine.js', 'js/embark.js'] grunt.loadTasks "tasks" require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks) diff --git a/package.json b/package.json index ff10721c..7b77491d 100644 --- a/package.json +++ b/package.json @@ -67,11 +67,13 @@ "white": true, "node": true, "undef": true, - "unused": true, "-W058": true, "-W014": true, "expr": true, "esversion": 6, - "unused": false + "unused": false, + "globals": { + "node": true + } } }