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
This commit is contained in:
parent
5a33080de0
commit
c19e66bf87
@ -312,7 +312,9 @@ module.exports = function(grunt) {
|
|||||||
'twenty*/**/*.js',
|
'twenty*/**/*.js',
|
||||||
'!twenty{eleven,twelve,thirteen}/**',
|
'!twenty{eleven,twelve,thirteen}/**',
|
||||||
// Third party scripts
|
// 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: {
|
media: {
|
||||||
|
Loading…
Reference in New Issue
Block a user