grunt-grunt
Version:
Grunt task to run tasks on other Gruntfiles
19 lines (15 loc) • 427 B
JavaScript
;
module.exports = function (grunt) {
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc',
reporter: require('jshint-stylish')
},
everything: ['tasks/**/*.js', 'Gruntfile.js']
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadTasks('tasks');
grunt.registerTask('default', ['jshint']);
};