Hook up npm script target for jshint (#3916)

* Hook up npm script target for jshint

* Shrinkwrap ui dependencies
This commit is contained in:
Leigh Johnson
2016-11-09 09:53:58 -05:00
committed by GitHub
parent 930b3651a0
commit 38e40c7eba
8 changed files with 87 additions and 99 deletions

View File

@@ -2,5 +2,6 @@ module.exports = {
options: { force: true },
static: 'static/*',
coverage: 'coverage/*',
tmp: '../../tmp'
tmp: '../../tmp',
jshint: 'coverage/jshint.xml'
};

View File

@@ -0,0 +1,11 @@
module.exports = {
source: {
src: ['client/src/**/*.js', '*conf.js', '*.config.js', 'Gruntfile.js'],
options: {
reporter: 'jslint',
reporterOutput: 'coverage/jshint.xml',
jshintrc: true
}
},
};