prettier
3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed
0.22.0 is the newest release of 0.17.x.
In short
3 new10 fixed15 changed2 internal
Release note
Fix spurious newline (fixes #614)
Add --debug-check cli option
Remove last trailing line for directives-only files
Expand vim instructions
Fix formatting in readme
Preserve empty line before last comment
Test on current release of node.js
jsx-whitespace breaks with parent (fixes #622)
Log filename with [update] or [ignore] flags during
--writeprocess.Do not indent binary expressions inside of if
Put short elements at right of single binary expression on same line
Run prettier 0.16.0 on the codebase
Preserve blank lines inside of objects
Fix dangling comments for arrays
Print line-suffix in --debug-print-doc
Avoid unneeded parenthesis for colon with comments
Stabilize comments inside of if/then/else before {
Soft break the first member of a chain
Stabilize comments inside of ternaries
Fix trailing commas with a trailing comment
Fix Flow union type annotations indentation
Ensure that all comments are printed
Properly support member chains comments
Fix Flow DeclareTypeAlias
Add option for putting > on the last line in jsx
Always put a hardline before dangling comment
Fix comments in return statement argument
Introduce prettier-ignore-next
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.