module.exports = function(grunt) {
  grunt.initConfig({
    "babel": {
      options: {
        sourceMap: true
      },
      dist: {
        files: [
        {
          "expand": true,
          "cwd": "modules/",
          "src": ["**/*.js"],
          "dest": "dist",
          "ext": ".js"
        }]
      }
    },
    watch: {
      babel: {
        files: ['./**/*.js'],
        tasks: ['babel'],
        options: {
          spawn: false,
        }
      }
    }
  });

  grunt.loadNpmTasks('grunt-babel');
  grunt.loadNpmTasks('grunt-contrib-watch')
  grunt.registerTask("default", ["babel", "watch"]);
};
@@ -311,24 +311,81 @@
    %7D%0A    %7D,%0A
+    eslint: %7B%0A      target: %5B%22./modules/**/*.js%22%5D%0A    %7D,%0A
     watch: %7B
@@ -611,16 +611,55 @@
 watch')%0A
+  grunt.loadNpmTasks('grunt-eslint');%0A%0A
   grunt.
@@ -703,10 +703,50 @@
 tch%22%5D);%0A
+  grunt.registerTask(%22lint%22, %22eslint%22);%0A
 %7D;

add eslint grunt task