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

WordPress Trac noreply at wordpress.org
Sun Jun 5 15:07:36 UTC 2016


#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:10 netweb]:
 > JSCS includes equivalent options for ease of migrating settings from
 JSHint to JSCS
 >
 > * `onevar` - http://jscs.info/rules.html#requiremultiplevardecl
 > * `trailing` - http://jscs.info/rules.html#disallowtrailingwhitespace
 The equivalent ESLint rules:
 * `one-var` - http://eslint.org/docs/rules/one-var
  * JSHint - This rule maps to the `onevar` JSHint rule, but allows let and
 const to be configured separately.
 * `no-trailing-spaces` - http://eslint.org/docs/rules/no-trailing-spaces

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


More information about the wp-trac mailing list