prettier v0.12.0 Release Notes
-
- ๐ง [WIP] Add rationale document (#372)
- Proper parenthesis for yield and await in conditional (#436)
- ๐จ Don't print double newlines at EOF to stdout (#437)
- Explain the
--color
option in a comment (#434) - Validate user-provided config with jest-validate (#301)
- Propagate breaks upwards automatically, introduce
breakParent
(#440) - ๐ Fix typo in variable name (#441)
- ๐จ Refactor traversal (#442)
- Do not put a newline on empty
{}
for functions (#447) - ๐ Better error message for assertDoc (#449)
- โ Remove
multilineGroup
(#450) - Ability to break on
:
for objects (#314) - โก๏ธ Update snapshots
- [RFC] Do not put spacing inside of arrays with bracketSpacing (#446)
- ๐ Fix integer CLI arguments (#452)
- ๐ Move tests around (#454)
- โก๏ธ Update package.json, use ast-types 0.9.4 (#453)
- โก๏ธ Update lockfile
- ๐ Support printing import("a") (#458)
- Explain that you can pass options to the spec runner (#460)
- ๐ Fix spurious whitespace (#463)
- Preserve new lines after directives (#464)
- Put decorators on the same line (#459)
- ๐ docs: add related projects (#456)
- โ Add break points for class declaration (#466)
- โ Added parens around in operator in for loops ๐. (#468)
- CLI improvements (#478)
- [RFC] Hug Conditionals in JSX (#473)
- ๐จ Refactor comment algorithm and improve newline/spaces detection (#482)
- Indent ternaries (#484)
- Indent computed member (#471)
- ๐ Maintain windows line ending (#472)
- Don't break up JSXOpeningElement if it only has a single text (#488)
- โ Add CallExpression to the last argument expansion whitelist (#470)
- ๐ Mention eslint-plugin-prettier in Related Projects (#490)
- Stop using conditionalGroup inside of UnionTypeAnnotation (#491)