[wp-trac] [WordPress Trac] #25187: .jshintrc & .jshintignore support
WordPress Trac
noreply at wordpress.org
Fri Nov 8 00:59:30 UTC 2013
#25187: .jshintrc & .jshintignore support
----------------------------------------+------------------------------
Reporter: carldanley | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback needs-testing |
----------------------------------------+------------------------------
Comment (by azaozz):
We can also take that filter function outside the `core` task and add it
to all of `jshint`. Perhaps a bit easier to run: `grunt jshint
--file=about.js`, but will output couple more lines:
{{{
$ grunt jshint --file=about.js
Running "jshint:grunt" (jshint) task
>> 0 files linted. Please check your ignored files.
Running "jshint:tests" (jshint) task
>> 0 files linted. Please check your ignored files.
Running "jshint:core" (jshint) task
Linting src/wp-admin/js/about.js ...ERROR
...
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25187#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list