UNPKG

commitlander

Version:

Simple CLI that displays horrible workflow practices using zoolander quotes

41 lines (38 loc) 779 B
/*! * Commitlander * * Copyright(c) 2015 Austin Turnage * MIT Licensed */ 'use strict'; module.exports = function (grunt) { // Show elapsed time at the end require('time-grunt')(grunt); // Load all grunt tasks require('load-grunt-tasks')(grunt); grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc', reporter: require('jshint-stylish') }, gruntfile: { src: ['Gruntfile.js'] }, js: { src: ['bin/*.js'] } }, watch: { gruntfile: { files: '<%= jshint.gruntfile.src %>', tasks: ['jshint:gruntfile'] }, js: { files: '<%= jshint.js.src %>', tasks: ['jshint:js'] } } }); grunt.registerTask('default', ['jshint']); };