[wp-trac] [WordPress Trac] #27567: grunt jshint task for individual files does not work

WordPress Trac noreply at wordpress.org
Sat Mar 29 00:37:38 UTC 2014


#27567: grunt jshint task for individual files does not work
----------------------------------+-----------------------------
 Reporter:  netweb                |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  low                   |   Milestone:  Future Release
Component:  Build/Test Tools      |     Version:
 Severity:  minor                 |  Resolution:
 Keywords:  needs-docs has-patch  |     Focuses:  docs
----------------------------------+-----------------------------

Comment (by netweb):

 Awesome, understand now, and read the code ;)

 For example `plugin.js` there are 7 files with this specific file name
 included via the `jshint:core` `src:` paths.

 {{{
 #!bash
 ~/develop.wp.nw [trunk ~3 ?6]> grunt jshint:core --file=plugin.js
 Running "jshint:core" (jshint) task
 >> 7 files lint free.

 Done, without errors.
 }}}

 Maybe `// Limit JSHint's run to a specific core file name.` as it will not
 always be a single file.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27567#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list