* Unconditionally use the compilation queue and re-enable MS compilers
* Always use the compilation queue, which ensures we don't
execute more native apps thn are configured, especially while
we're starting up.
* Guard the compilation queue from enqueueing stuff that was
already executing in a queue context. This is to prevent deadlock
though it's not always a problem (it's only if the caller awaits
the job, which is often the case).
Should mitigate the issues we had on Sep 30 2021, where nodes were
having trouble starting up due to the large amount of JVM-based
compilers. See #2977
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>