[wp-trac] [WordPress Trac] #28236: JSHint `onevar` and `trailing` args are deprecated and dropped

WordPress Trac noreply at wordpress.org
Thu Apr 2 00:10:34 UTC 2015


#28236: JSHint `onevar` and `trailing` args are deprecated and dropped
------------------------------------+-----------------------------
 Reporter:  georgestephanis         |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Build/Test Tools        |     Version:  3.8
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:  javascript
------------------------------------+-----------------------------

Comment (by netweb):

 Replying to [comment:13 afercia]:
 > just ran `grunt jshint:core --file=updates.js` and didn't get a double
 var, "onevar" option was removed in
 https://github.com/jshint/jshint/releases/tag/2.5.0 but still set on WP
 .jshintrc
 > Just as update :)
 Thanks, and you are correct, JSHint doesn't actually throw a warning
 notice for deprecated options.
 https://github.com/jshint/jshint/blob/ee436b160ad5ce146f730b7f8ea394ff4bb864a1/src/options.js#L939

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28236#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list