/*global module:false*/
module.exports = function (grunt) {

  grunt.initConfig({
    jshint: {
      options: {
        curly: true
        , eqeqeq: true
        , immed: true
        , latedef: true
        , newcap: true
        , noarg: true
        , sub: true
        //, undef: true
        , unused: true
        , boss: true
        , eqnull: true
        , browser: true
        , asi: true
        , globals: {}
      },
      gruntfile: {
        src: 'Gruntfile.js'
      },
      src: {
        src: ['src/**/*.js']
      }
    },
    qunit: {
      files: ['test/**/*.html']
    },
    watch: {
      gruntfile: {
        files: '<%= jshint.gruntfile.src %>'
        , tasks: ['jshint:gruntfile']
      },
      src: {
        files: '<%= jshint.src.src %>'
        , tasks: 'default'
      }
    },
    uglify: {
      dist: {
        src: 'src/ActiveLayers.js'
        , dest: 'dist/leaflet.active-layers.min.js'
      }
    }
  })

  grunt.loadNpmTasks('grunt-contrib-watch')
  grunt.loadNpmTasks('grunt-contrib-jshint')
  grunt.loadNpmTasks('grunt-contrib-uglify')
  grunt.loadNpmTasks('grunt-contrib-qunit')

  grunt.registerTask('default', ['jshint', 'qunit', 'uglify'])

}

@@ -122,24 +122,49 @@
 curly: true%0A
+        , laxcomma: true%0A
         , eq
@@ -289,32 +289,8 @@
 rue%0A
-        //, undef: true%0A
     

Update jshint params.