[wp-trac] [WordPress Trac] #31823: Add ESLint integration
WordPress Trac
noreply at wordpress.org
Fri Feb 23 10:36:51 UTC 2024
#31823: Add ESLint integration
--------------------------------------+-----------------------------
Reporter: westonruter | Owner: swissspidy
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: javascript
--------------------------------------+-----------------------------
Comment (by swissspidy):
In [changeset:"57702" 57702]:
{{{
#!CommitTicketReference repository="" revision="57702"
Build/Test Tools: Update JSHint config to remove deprecated options.
Removes deprecated options that no longer have any effect, and updates the
targeted ES version in line with WordPress’ browser support.
This change mostly allows new code to properly use trailing commas, as
added by the Prettier formatter.
Future efforts should rather go towards adopting ESLint for code
formatting, see #31823.
Props netweb.
Fixes #28236.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31823#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list