From 237a3b0b668aec04a56265950cd2a77d1239b715 Mon Sep 17 00:00:00 2001 From: Gemma Leigh Date: Mon, 17 Oct 2016 14:09:32 +0100 Subject: [PATCH] Lint gulp tasks using StandardJS --- gulp/nodemon.js | 10 ++++++---- gulp/tasks.js | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/gulp/nodemon.js b/gulp/nodemon.js index c0ddde99d3..f14284fd20 100644 --- a/gulp/nodemon.js +++ b/gulp/nodemon.js @@ -9,8 +9,10 @@ var nodemon = require('gulp-nodemon') var config = require('./config.json') gulp.task('server', function () { - nodemon({ignore: [config.paths.public + '*', config.paths.nodeModules + '*'], - script: 'server.js', - ext: 'js, json', - env: {NODE_ENV: 'development'}}) + nodemon({ + script: 'server.js', + ext: 'js, json', + ignore: [config.paths.public + '*', config.paths.nodeModules + '*'], + env: {NODE_ENV: 'development'} + }) }) diff --git a/gulp/tasks.js b/gulp/tasks.js index 9cf41c6321..f87a146d57 100644 --- a/gulp/tasks.js +++ b/gulp/tasks.js @@ -24,10 +24,10 @@ gulp.task('generate-assets', function (done) { }) gulp.task('copy-govuk-modules', [ - 'copy-toolkit', - 'copy-template-assets', - 'copy-elements-sass', - 'copy-template' + 'copy-toolkit', + 'copy-template-assets', + 'copy-elements-sass', + 'copy-template' ]) gulp.task('watch', function (done) {