Christopher Chedeau
e50aaeccfb
Introduce line-suffix-boundary ( #750 )
...
The idea is that if you reach the end of the `}` inside of a template literal, we have to flush the trailing comma, otherwise it would generate invalid code. We also need the same special case for JSX.
I don't like adding yet another type of document but it seems like the most elegant way to solve the problem.
Fixes #623
2017-02-23 09:26:26 -08:00
..
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:23:56 -08:00
2017-02-21 13:59:19 -08:00
2017-02-22 10:28:52 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:00:57 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 07:29:05 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:41:44 -05:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:26:26 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 07:34:52 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:00:29 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 09:01:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-23 07:29:05 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00
2017-02-21 13:59:19 -08:00