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

WordPress Trac noreply at wordpress.org
Thu Nov 7 20:34:48 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 two patches: One to adjust our global JSHint options,

 * Add Backbone and _ as universally permitted global variables
 * Set "curly" and "eqeqeq" to FALSE within the Gruntfile's jshint
 configuration for wp-admin/ and wp-includes/, to aid in addressing the
 code smell first
 * Alphabetize jshintrc options for readability

 and the other to make the unit test JSHint run pass now that "onevar" is
 true

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


More information about the wp-trac mailing list