[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Mon Aug 12 07:33:12 UTC 2019
#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
Reporter: pento | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+-----------------------
Comment (by pento):
In [attachment:"47767.18.diff"]:
- `npm run env:install` now sets up a `wp-tests-config.php`.
- A bunch of unnecessary cruft is gone from .travis.yml.
> I noticed some places where the JavaScript doesn't quite follow our
JavaScript coding standards and so ran the Gutenberg lint tool on these
changes, see below. (Does Core have a similar tool? Could we get it to
check these new files?)
Core uses JSHint, but it's configured for ES5, not ES6. I don't know if
anyone is working merging the different tools between Gutenberg and Core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list