From f4e388e9ab03d1a50f10654307ca6866a526577a Mon Sep 17 00:00:00 2001 From: Glen Cheney Date: Sat, 15 Dec 2018 11:19:54 -0800 Subject: [PATCH] Update eslint rules --- .eslintrc.js | 2 ++ gulpfile.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6176ae4..d43de31 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -26,5 +26,7 @@ module.exports = { // Allow reassigning properties of objects. 'no-param-reassign': ['error', { props: false }], + + 'import/no-extraneous-dependencies': ['error', { 'devDependencies': ['gulpfile.js', 'gulp/**/*.js'] }] }, }; diff --git a/gulpfile.js b/gulpfile.js index c70a59b..4baa726 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -11,7 +11,7 @@ gulp.task('watch', gulp.series( 'set-watching', gulp.parallel('css', 'scripts'), 'copy-dist', - 'jekyll' + 'jekyll', )); gulp.task('default', gulp.series('scripts', 'css', 'test', 'copy-dist'));