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>
* Merge both compilerProps functions to general case
* Move compilerProps to lib/properties.js
It's now its own class, which takes a languages object + the ceProps
function to calMove compilerProps to lib/properties.js
* Add compilerProps behvaiour tests
* Add unknown language test
Also changes the way compilation-env works, by only having 1 for
all compilers, instead of 1 for each. This should decrease
memory usage as we now better enforce a maximum cache size.
Library UI got a tiny enchancement, but I'm 0% sure about it so let
me know if this is worse!
Closes#801#605