[wp-trac] [WordPress Trac] #25187: .jshintrc & .jshintignore support

WordPress Trac noreply at wordpress.org
Sun Oct 27 21:42:37 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 kadamwhite):

 Added .jshintrc adapted from the jQuery project, with these modifications:

 * Prefer single quotes to double
 * Remove "boss" option
 * Add "jQuery" and "wp" as globals

 We do not enforce onevar in .jshintrc, due to the number of files in which
 this is an issue. It can be added file-by-file as they get fixed, and
 rolled into the global config down the road.

 gnarf37 & I did this work at the wcbos dev day after discussion with
 mattweibe

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25187#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list