[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:27:21 UTC 2020
#49494: Ignore Twenty Nineteen's node_modules directory in "jshint:themes" task
------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
------------------------------+-----------------------------
Description changed by SergeyBiryukov:
Old description:
> 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.
New description:
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:themes` 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#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list