module.exports = function (grunt) { // Project configuration. grunt.initConfig({ lint: { files: ['grunt.js', 'lib/*.js', 'test/*.js'] }, watch: { files: ['grunt.js', 'lib/*.js', 'test/*.js'], tasks: 'lint' }, jshint: { options: { bitwise: true, curly: true, eqeqeq: true, forin: true, immed: true, latedef: true, newcap: true, noarg: true, nonew: true, plusplus: true, regexp: true, noempty: true, sub: true, undef: true, trailing: true, eqnull: true, browser: true, node: true, indent: 2, onevar: true, white: true, strict: false }, globals: { describe: true, after: true, before: true, it: true } } }); grunt.registerTask('default', 'lint'); };