[wp-trac] [WordPress Trac] #49494: Ignore Twenty Nineteen's node_modules directory in "jshint:themes" task

WordPress Trac noreply at wordpress.org
Sun Feb 23 08:25:36 UTC 2020


#49494: Ignore Twenty Nineteen's node_modules directory in "jshint:themes" task
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  5.4
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 Previously: #46706.

 Twenty Nineteen uses npm to run various build tasks: `node-sass`,
 `rtlcss`, etc.

 Once you run `npm install` in the theme's directory, the `grunt
 jshint:corejs` task fails due to attempting to check files in
 `twentynineteen/node_modules`. This directory should be excluded from the
 task.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49494>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list