123456789101112131415161718192021222324252627282930313233343536 |
- module.exports = function(grunt) {
- // Project configuration.
- grunt.initConfig({
- pkg: '<json:package.json>',
- lint: {
- files: ['grunt.js', 'lib/**/*.js', 'tests/*.js']
- },
- watch: {
- files: '<config:lint.files>',
- tasks: 'default'
- },
- jshint: {
- options: {
- curly: true,
- eqeqeq: true,
- immed: true,
- latedef: true,
- newcap: true,
- noarg: true,
- sub: true,
- undef: true,
- boss: true,
- eqnull: true,
- node: true
- },
- globals: {
- exports: true
- }
- }
- });
- // Default task.
- grunt.registerTask('default', 'lint');
- };
|