Commit Graph
11 Commits
Author SHA1 Message Date
JounQin 257fba9b30 fix: format JSX Fragment correctly, consider Fragment as block (#6398) 2019-11-18 13:06:48 +02:00
Clément Dessoude 262f27bc61 Fix handling comments in labeled statements (#6984) 2019-11-18 06:41:44 +01:00
Gustav Tiger e76ce2725b Fix MDX html parsing errors (#6949)
* Fix MDX html parsing errors

For MDX wrap JSX parsing in a fragment before sending it of to babel for
parsing and formatting. In MDX adjacent JSX tags are permitted in the
root.

An option sent to the babel parser omits printing the root fragment and
instead just prints its children.

Solves #6943

* an attempt to address JounQin's comments

* use <$>...</$> instead of <>...</>

* refactoring
2019-11-15 12:01:58 +02:00
Evilebot Tnawi 61a2482c48 fix: issue #6813 (Zero-based lists are broken) (#6852) 2019-11-14 20:59:20 +03:00
ark120202 4ed5253509 Don't lowercase element names in CSS selectors (#6947)
Fixes #5788.
2019-11-13 18:13:55 +01:00
Sosuke Suzuki 9b37dca0e9 TypeScript: Fix formatting of type operators as arrow function… (#6901) 2019-11-12 19:13:03 +01:00
fisker Cheung 11d032365e SCSS: don't add extra comma after last comment in map (#6918) 2019-11-12 19:09:46 +01:00
Simon Lydell 95b8e54d1a Release 1.19.1 2019-11-09 13:20:32 +01:00
Simon Lydell 9b1726d3cd Quick-fix for stdin being broken in 1.19.0 (#6894)
Closes #6891.

This downgrades the get-stream package from 5.x to 4.x, which does not
use `async` functions which works around the problem of
`regeneratorRuntime` not being defined (it shouldn’t be needed).

This is an alternative solution to #6893 because I don’t know yet if we
want to enable `corejs` given that we will most likely drop support for
Node.js 8 and older in the next version.

Just like #6893 this PR comes without tests, but I verified locally that
`--stdin` works after this change.
2019-11-09 12:48:56 +01:00
Georgii Dolzhykov 58c6b42aa8 fix formatting of union type as arrow function return type (#6896) 2019-11-09 11:47:54 +01:00
Simon Lydell 4eb3e2650a Blog post, changelog and docs for 1.19 (#6787) 2019-11-09 01:23:57 +01:00