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:
* BigInt
<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/BigInt>
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).
* no-async-promise-executor
<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().
Mark
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform