Skip to content

Instantly share code, notes, and snippets.

@pghalliday
Created October 17, 2012 22:11
Show Gist options
  • Select an option

  • Save pghalliday/3908655 to your computer and use it in GitHub Desktop.

Select an option

Save pghalliday/3908655 to your computer and use it in GitHub Desktop.

Revisions

  1. pghalliday created this gist Oct 17, 2012.
    18 changes: 18 additions & 0 deletions grunt.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    module.exports = function(grunt) {

    grunt.loadNpmTasks('grunt-contrib-watch');

    grunt.initConfig({
    lint: {
    files: ['grunt.js', 'src/**/*.js']
    },
    watch: {
    scripts: {
    files: ['<config:lint.files>'],
    tasks: ['default']
    }
    }
    });

    grunt.registerTask('default', 'lint');
    };