[wp-trac] [WordPress Trac] #28236: JSHint `onevar` arg is being deprecated and dropped
WordPress Trac
noreply at wordpress.org
Wed May 14 17:51:14 UTC 2014
#28236: JSHint `onevar` arg is being deprecated and dropped
------------------------------+-----------------------------
Reporter: georgestephanis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: javascript
------------------------------+-----------------------------
Comment (by scott.gonzalez):
Replying to [comment:5 azaozz]:
> Replying to [comment:2 scott.gonzalez]:
> > The use of `onevar` doesn't affect actual code quality or prevent
bugs...
>
> That's not exactly true. Example:
That's not related to `onevar` since you have two different functions,
each one containing a single `var` statement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28236#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list