Make WordPress Core

Changeset 26110


Ignore:
Timestamp:
11/12/2013 11:41:17 PM (13 years ago)
Author:
nacin
Message:

Add grunt jshint:themes for linting Twenty Fourteen and future bundled themes.

props jorbin.
fixes #25907.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r26109 r26110  
    138138                                ],
    139139                                options: grunt.file.readJSON('tests/qunit/.jshintrc')
     140                        },
     141                        themes: {
     142                                expand: true,
     143                                cwd: SOURCE_DIR + 'wp-content/themes',
     144                                src: [
     145                                        '**/*.js',
     146                                        '!twenty{eleven,twelve,thirteen}/**',
     147                                        // Third party scripts
     148                                        '!twentyfourteen/js/html5.js'
     149                                ]
    140150                        },
    141151                        core: {
Note: See TracChangeset for help on using the changeset viewer.