mirror of https://github.com/embarklabs/embark.git
tell jshint to read config from package.json
This commit is contained in:
parent
e3b9c01205
commit
0774841b66
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue