cartodb/lib/assets/javascripts/cdb/grunt/tasks/jshint.js
zhongjin a96ef233c9 cdb
2020-06-15 12:07:54 +08:00

23 lines
341 B
JavaScript

/**
* JS hint grunt task for CartoDB.js
*
*/
module.exports = {
task: function() {
return {
options: {
jshintrc: 'grunt/.jshintrc',
reporter: require('jshint-stylish')
},
all: [
'Gruntfile.js',
'<%= config.app %>/js/**/*.js',
'test/spec/**/*.js'
]
}
}
}