[wp-trac] [WordPress Trac] #25941: JSHint configuration: Set "smarttabs" to false

WordPress Trac noreply at wordpress.org
Wed Nov 13 19:21:20 UTC 2013


#25941: JSHint configuration: Set "smarttabs" to false
--------------------------+-----------------------------
 Reporter:  kadamwhite    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Build Tools   |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 jQuery has the JSHint "smarttabs" option set to "true," meaning they use a
 combination of tabs and spaces to align code within blocks (tabs to get to
 the level of the block, spaces to align code within that block). We don't
 follow this practice, so we should turn it off in our jshintrc.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25941>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list