prettier
3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed
0.22.0 is the newest release of 0.0.x.
In short
1 removed4 new15 fixed6 changed
- Removed
Remove legacy Recast code and simplify API.
Release note
Fix await parenthesis
Add note about Sublime Test github issue in readme
- Removed
Remove legacy Recast code and simplify API.
Don't break to new line if logical/loop statements are without brackets.
Fix parenthesis for UpdateExpression
Fix directives printing for empty functions
Fix key quotes omission for flow parser
Fix comma when an arrow function with no arguments breaks
Last argument expansion works for arrow functions that return JSX
Remove faulty location check on template literals that throws in Nuclide
Add flow parser experimental options
Fix empty exports
Fix cases of missing parens with NewExpression
Fix issue with ArrowFunctionExpression parens
Add npm version badge
Consolidate badges in readme
Fix parens issue with nested UnaryExpressions
Escape strings using jsesc
Add newline for empty blocks {}
Fix empty export with from clause
Fix missing parenthesis for typeof and arrow functions
Fix FunctionExpression parens issues
Fix last element of an array being null
Make sure empty for loops generate valid code
Fix parens for functions inside TaggedTemplateExpression
Preserve the way numbers were written
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.