Commit Graph
12 Commits
Author SHA1 Message Date
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
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>
2020-08-04 16:39:02 -04:00
RabsRincon b7fc8b1759 Ensure backend options are always generated 2020-06-15 12:47:31 +02:00
Jascha Knack 8a32652b9f fix broken JavaCompiler 2020-04-26 23:23:06 +02:00
Matt Godbolt 717ea51a3e First wave of @apmorton suggestions and fixes 2020-01-28 21:34:52 -06:00
Matt Godbolt cb08b7b5c0 Asyncify java 2020-01-21 21:50:07 -06:00
Matt Godbolt 366add6304 Temporarily disable java (see #1438) 2019-06-10 22:56:42 -05:00
Christian Vonrüti 1a591e4a83 Separate java classes with 2 newlines in compiler output view 2019-06-08 02:39:23 +02:00
Christian Vonrüti ba66aaa91c Fix trailing line endings and document regex in javap parser 2019-06-08 02:38:33 +02:00
Christian Vonrüti 9e717d5b71 Fix trailing line endings on and document regex in javap parser 2019-06-08 02:16:58 +02:00
Christian Vonrüti 56fe1318ba Uniform line handling to make test input work for checkouts on Windows 2019-06-08 01:33:52 +02:00
Christian Vonrüti 723070275e Fix copyright in java.js 2019-06-07 23:03:37 +02:00
Christian Vonrüti 92914a76c8 Initial Java/javap support 2019-05-26 19:16:54 +02:00