Over the last couple of weeks we landed a couple of ESLint updates which
support new features and fix a few issues.
Here's a quick summary:
is now supported.
* For globals defined via /* global foo */ statements but which are
unused, we now throw an error.
* If you use --fix across the whole tree, it should now work in
one-shot for all supported files.
o Previously you'd need to run it on multiple directories (e.g.
services, toolkit - anything after 'js' in the alphabet).
<https://eslint.org/docs/rules/no-async-promise-executor> is a new
rule which aims to avoid issues with having asynchronous functions
within new Promise().
dev-platform mailing list