tell jshint to read config from package.json

This commit is contained in:
Todd Baur 2017-03-30 02:20:20 +09:00
parent e3b9c01205
commit 0774841b66
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ module.exports = (grunt) ->
src: ['test/**/*.js']
jshint:
all: ['bin/embark', 'lib/**/*.js', 'js/mine.js', 'js/embark.js']
all: ['bin/embark', 'lib/**/*.js', 'js/mine.js', 'js/embark.js'],
options: grunt.file.readJSON('package.json').jshintConfig
grunt.loadTasks "tasks"
require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)