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>
Improves performance of the demangler considerably, taking one example
case from 30s compilation down to 10s (on my laptop).
With much help from @apmorton
Should help with #1336, though we still need more work to push stuff
onto another thread to really help with that (per Austin's comments).
* Remove horrible wine fixme preprocessing.
* Move some settings into code from `compiler-wrapper`.
* Set `WINEDEBUG` to -all to turn off messages at source.
Due to concerns over status of upstream
Cookie consent value is now tied to hash of cookie privacy text,
so we get automatic revoking of consent on privacy update
After some suprises about how outdated the node version was compared to
the main project, it became clear we needed to do something.
@jaredwy suggested using the main project as there's now nothing
stopping us from using it after the switch to webpack.
cc @mattgodbolDrop underscore-node in favour of underscore.js