module.exports = function (grunt) {

  grunt.initConfig({

    // Builds Sass
    sass: {
      dev: {
        files: {
          'public/stylesheets/main.css': 'public/sass/main.scss',
          'public/stylesheets/main-ie6.css': 'public/sass/main-ie6.scss',
          'public/stylesheets/main-ie7.css': 'public/sass/main-ie7.scss',
          'public/stylesheets/main-ie8.css': 'public/sass/main-ie8.scss',
          'public/stylesheets/elements-page.css': 'public/sass/elements-page.scss',
          'public/stylesheets/elements-page-ie6.css': 'public/sass/elements-page-ie6.scss',
          'public/stylesheets/elements-page-ie7.css': 'public/sass/elements-page-ie7.scss',
          'public/stylesheets/elements-page-ie8.css': 'public/sass/elements-page-ie8.scss',
          'public/stylesheets/prism.css': 'public/sass/prism.scss',
        },
        options: {
          includePaths: ['govuk/public/sass'],
          outputStyle: 'expanded',
          imagePath: '../images'
        }
      }
    },

    // Copies templates and assets from external modules and dirs
    copy: {

      govuk_template: {
        src: 'node_modules/govuk_template_mustache/views/layouts/govuk_template.html',
        dest: 'govuk/views/',
        expand: true,
        flatten: true,
        filter: 'isFile'
      },

      govuk_assets: {
        files: [
          {
            expand: true,
            src: '**',
            cwd: 'node_modules/govuk_template_mustache/assets',
            dest: 'govuk/public/'
          }
        ]
      },

      govuk_frontend_toolkit_scss: {
        expand: true,
        src: '**',
        cwd: 'node_modules/govuk_frontend_toolkit/stylesheets/',
        dest: 'govuk/public/sass/'
      },

      govuk_frontend_toolkit_js: {
        expand: true,
        src: '**',
        cwd: 'node_modules/govuk_frontend_toolkit/javascripts/',
        dest: 'govuk/public/javascripts/'
      },

      govuk_frontend_toolkit_img: {
        expand: true,
        src: '**',
        cwd: 'node_modules/govuk_frontend_toolkit/images/',
        dest: 'govuk/public/images/icons/'
      },

    },

    // workaround for libsass
    replace: {
      fixSass: {
        src: ['govuk/public/sass/**/*.scss'],
        overwrite: true,
        replacements: [{
          from: /filter:chroma(.*);/g,
          to: 'filter:unquote("chroma$1");'
        }]
      }
    },

    // Watches styles and specs for changes
    watch: {
      css: {
        files: ['public/sass/**/*.scss'],
        tasks: ['sass'],
        options: { nospawn: true }
      }
    },

    // nodemon watches for changes and restarts app
    nodemon: {
      dev: {
        script: 'app.js',
        options: {
          ext: 'html, js'
        }
      }
    },

    concurrent: {
      target: {
        tasks: ['watch', 'nodemon'],
        options: {
          logConcurrentOutput: true
        }
      }
    },

    // Lint scss files
    // scsslint: {
    //   allFiles: [
    //     'public/sass/elements/*.scss',
    //     'public/sass/elements/forms/*.scss'
    //   ],
    //   options: {
    //     bundleExec: false,
    //     colorizeOutput: true,
    //     config: '.scss-lint.yml',
    //     force: true,
    //     reporterOutput: null
    //   },
    // }

  });

  [
    'grunt-contrib-copy',
    'grunt-contrib-watch',
    'grunt-sass',
    'grunt-nodemon',
    'grunt-text-replace',
    'grunt-concurrent'
    //'grunt-scss-lint'
  ].forEach(function (task) {
    grunt.loadNpmTasks(task);
  });

  grunt.registerTask(
    'convert_template',
    'Converts the govuk_template to use mustache inheritance',
    function () {
      var script = require(__dirname + '/lib/template-conversion.js');

      script.convert();
      grunt.log.writeln('govuk_template converted');
    }
  );

  grunt.registerTask('default', [
    'copy:govuk_template',
    'copy:govuk_assets',
    'convert_template',
    'copy:govuk_frontend_toolkit_scss',
    'copy:govuk_frontend_toolkit_js',
    'copy:govuk_frontend_toolkit_img',
    'replace',
    'sass',
    //'scsslint',
    'concurrent:target'
  ]);

};

@@ -2920,19 +2920,16 @@
 iles%0A   
- //
  scsslin
@@ -2937,21 +2937,18 @@
 : %7B%0A    
-//
   
- 
 allFiles
@@ -2950,27 +2950,24 @@
 Files: %5B%0A   
- //
      'public
@@ -2989,27 +2989,24 @@
 *.scss',%0A   
- //
      'public
@@ -3037,19 +3037,16 @@
 css'%0A   
- //
    %5D,%0A  
@@ -3046,19 +3046,16 @@
   %5D,%0A   
- //
    optio
@@ -3064,23 +3064,20 @@
 : %7B%0A    
-//
     
- 
 bundleEx
@@ -3086,27 +3086,24 @@
 : false,%0A   
- //
      coloriz
@@ -3116,27 +3116,24 @@
 t: true,%0A   
- //
      config:
@@ -3150,27 +3150,24 @@
 nt.yml',%0A   
- //
      force: 
@@ -3175,19 +3175,16 @@
 rue,%0A   
- //
      rep
@@ -3204,19 +3204,16 @@
 null%0A   
- //
    %7D,%0A  
@@ -3213,19 +3213,16 @@
   %7D,%0A   
- //
  %7D%0A%0A  %7D)
@@ -3368,23 +3368,22 @@
 current'
+,
 %0A    
-//
 'grunt-s
@@ -4009,49 +4009,86 @@
     
-//'scsslint',%0A    'concurrent:targe
+'concurrent:target'%0A  %5D);%0A%0A  grunt.registerTask(%0A    'lint',%0A    'scsslin
 t'%0A  
-%5D
 );%0A%0A

Create a new task for grunt scss lint