From dd859e48f287851c59f182046ee1c1300af8e2aa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 23 Feb 2020 08:26:15 +0000 Subject: [PATCH] Built/Test Tools: Ignore the `node_modules` folder in Twenty Nineteen when running `grunt jshint:themes`. Follow-up to [45060], [46352], [46450]. Fixes #49494. See #46706. git-svn-id: https://develop.svn.wordpress.org/trunk@47348 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 7c6f68e840..11187fdff6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -564,10 +564,10 @@ module.exports = function(grunt) { 'twenty*/**/*.js', '!twenty{eleven,twelve,thirteen}/**', // Third party scripts. + '!twenty*/node_modules/**', '!twenty{fourteen,fifteen,sixteen}/js/html5.js', '!twentyseventeen/assets/js/html5.js', - '!twentyseventeen/assets/js/jquery.scrollTo.js', - '!twentytwenty/node_modules/**' + '!twentyseventeen/assets/js/jquery.scrollTo.js' ] }, media: {