prettier v0.22.0 Release Notes
-
- โ Run 0.21.0 (#876)
- ๐ Fix paren removal on UnionTypeAnnotation (#878)
- ๐ Fix typo (#891)
- Ensure no parens for JSX inside of an ArrayExpression (#895)
- ๐ Fix object expression in arrow function expression (#897)
- ๐ Fix unprinted comments in destructuring (#898)
- ๐ Fix bug with importing empty type (#904)
- ๐ Fix broken export comment (#899)
- โ Add CLI Example to Readme (#909)
- ๐ Fix 0.5e0 (#911)
- ๐ Fix binary expression instanceof in arrow function expression (#913)
- ๐ Improve readme CLI usage example (#910)
- โ Do not break long it/test calls when template literal (#893)
- โก๏ธ Update lint-staged docs to use husky for less config. (#923)
- ๐ Fix files with comments only (#813)
- โก๏ธ Update README.md (#928)
- ๐ Fix binary op as body in arrow expression (#921)
- cleanup needsParens (#935)
- [JSX] Break if opening element breaks (#942)
- Parenthesize function expressions in expression position (#941)
- โก๏ธ update the README to add a pre-commit hook (#944)
- Fix #951: properly parenthesize ** expressions (#952)
- ๐ง [WIP] TypeScript Parser (#915)
- Do not break long
describe
calls (#953) - Recursively find leading comments inside ReturnStatements (#955)
- ๐ Fix
in
inside of a for in a nested way (#954) - ๐ Make comments around empty parenthesis be inside (#957)
- Stabilize comment after object label (#958)
- Inline BinaryExpressions inside JSXExpression (#965)
- Only allow same-line arrow-less body for explicit nodes (#966)