prepack/test
Dominic Gannaway 393eba15ad Ensures all serializer test case output passes linting validation
Summary:
Release notes: all serializer tests now get linted via ESlint for correct output

This PR is pretty gigantic, but almost 99% of it is changing all the serializer tests so they pass the linting rules – which means that there must be no undefined variables or if they are, they are explicitly accesses via `global`. Furthermore, the linting also checks to ensure that all variables are defined before they are used.

Also I added a regression test `conditions3` that further validates some complex cases I was seeing fail in other cases. The ESlint config is also in its own module so it can be shared between `debug-fb-www`.
Closes https://github.com/facebook/prepack/pull/1998

Differential Revision: D8099445

Pulled By: trueadm

fbshipit-source-id: 4a03c57beb51e394bc7b334728090b9fc515eca8
2018-05-22 15:41:31 -07:00
..
error-handler Don't serialize changes to property bindings that represent internal slots 2018-05-10 12:09:01 -07:00
node-cli Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
react Render optimized react-dom/server renderToString ahead of time 2018-05-21 08:59:20 -07:00
residual Don't rotate effects trees 2018-05-17 11:45:18 -07:00
serializer Ensures all serializer test case output passes linting validation 2018-05-22 15:41:31 -07:00
source-maps Initial commit 2017-03-28 20:52:41 -07:00
std-in fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00
test262@098f9ca3de Initial commit 2017-03-28 20:52:41 -07:00