[wp-trac] [WordPress Trac] #28236: JSHint `onevar` and `trailing` args are deprecated and dropped
WordPress Trac
noreply at wordpress.org
Thu Feb 22 21:13:19 UTC 2024
#28236: JSHint `onevar` and `trailing` args are deprecated and dropped
------------------------------+-------------------------
Reporter: georgestephanis | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.5
Component: Build/Test Tools | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: javascript
------------------------------+-------------------------
Changes (by swissspidy):
* keywords: dev-feedback has-patch => has-patch commit
* type: defect (bug) => task (blessed)
* milestone: Future Release => 6.5
Comment:
This just came up again while reviewing https://github.com/WordPress
/wordpress-develop/pull/6165 for #54370
I really want to tackle ESLint soon (#31823), but in the meantime, fixing
this outdated config makes sense. It's silly to prevent things like
trailing commas in new code. Also, we now have Prettier for code
formatting as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28236#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list