Opened 11 years ago
Closed 11 years ago
#27308 closed defect (bug) (fixed)
jshint:themes should only run against the core themes we want it run against
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | Cc: |
Description (last modified by )
Right now, grunt jshint:themes will test any js in src/wp-content/themes that isnt' in twenty{eleven,twelve,thirteen} (and also isn't a single specified 3rd party script in twentyfourteen).
Sometimes you want to have other themes in your checkout. Examples include testing update notifications or testing theme apis. We should avoid these themes in our test.
Attachments (1)
Change History (5)
This ticket was mentioned in IRC in #wordpress-dev by jorbin. View the logs.
11 years ago
Note: See
TracTickets for help on using
tickets.
The above patch causes us to look only at twenty* directories when running jshint.