[wp-trac] [WordPress Trac] #31823: Add ESLint integration
WordPress Trac
noreply at wordpress.org
Tue Jun 6 14:58:55 UTC 2017
#31823: Add ESLint integration
------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: 4.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses: javascript
------------------------------+-------------------------
Changes (by jorbin):
* milestone: Awaiting Review => 4.9
Comment:
I think it's time for us to switch to ESLint. It will make the code look
more like it's all written by a single person, improving readability, and
prepare us for writing more ES2015+ code.
First, we need to solidify an eslint config, then we need to
[https://make.wordpress.org/core/2013/11/13/finding-fixing-javascript-
errors-with-jshint/ do a project like we did with jshint], and tackle each
javascript file one at a time. Then, we can remove jshint and replace all
of the grunt calls for jshint with eslint.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31823#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list