diff --git a/Gruntfile.js b/Gruntfile.js index 44e29d8b88..534493c4b0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -138,6 +138,16 @@ module.exports = function(grunt) { ], options: grunt.file.readJSON('tests/qunit/.jshintrc') }, + themes: { + expand: true, + cwd: SOURCE_DIR + 'wp-content/themes', + src: [ + '**/*.js', + '!twenty{eleven,twelve,thirteen}/**', + // Third party scripts + '!twentyfourteen/js/html5.js' + ] + }, core: { expand: true, cwd: SOURCE_DIR,