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

WordPress Trac noreply at wordpress.org
Sun Oct 27 21:53:13 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 nacin):

 In [changeset:"25960"]:
 {{{
 #!CommitTicketReference repository="" revision="25960"
 Add a .jshintrc file and associated jshint grunt task.

 This .jshintrc is adopted from the jQuery project, with some basic
 modifications (such as single quotes instead of double quotes). This
 pretty closely follows our current JS standards and rather closely
 resembles our PHP standards, especially the love of whitespace. The major
 changes are enforcing === and always using braces for if statements.

 props kadamwhite, gnarf37, with mattwiebe and carldanley.
 see #25187.
 }}}

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


More information about the wp-trac mailing list