mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Hook up npm script target for jshint (#3916)
* Hook up npm script target for jshint * Shrinkwrap ui dependencies
This commit is contained in:
@@ -2,5 +2,6 @@ module.exports = {
|
||||
options: { force: true },
|
||||
static: 'static/*',
|
||||
coverage: 'coverage/*',
|
||||
tmp: '../../tmp'
|
||||
tmp: '../../tmp',
|
||||
jshint: 'coverage/jshint.xml'
|
||||
};
|
||||
|
||||
11
awx/ui/grunt-tasks/jshint.js
Normal file
11
awx/ui/grunt-tasks/jshint.js
Normal 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
|
||||
}
|
||||
},
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user