From c19e66bf87b8aa79ea73fe245a9b57d65ef3f0b6 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 20 Oct 2016 05:43:09 +0000 Subject: [PATCH] Build: Ignore JSHint errors in Twenty Seventeen's third party libraries. `html5.js` and `jquery.scrollTo.js` are external libraries, so don't need to be checked by JSHint. Props kadamwhite. Fixes #38376. git-svn-id: https://develop.svn.wordpress.org/trunk@38836 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 35a95ff0f7..23f2339bc3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -312,7 +312,9 @@ module.exports = function(grunt) { 'twenty*/**/*.js', '!twenty{eleven,twelve,thirteen}/**', // Third party scripts - '!twenty{fourteen,fifteen,sixteen}/js/html5.js' + '!twenty{fourteen,fifteen,sixteen}/js/html5.js', + '!twentyseventeen/assets/js/html5.js', + '!twentyseventeen/assets/js/jquery.scrollTo.js' ] }, media: {