prettier
3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed
1.19.1 is the newest release of 1.x.
In short
2 new8 fixed14 changed
Release note
CLI: Allow flag overriding
JavaScript: Do not apply test call formatting to arrow function without body
JavaScript: Do not duplicate comments in styled-components
JavaScript: Do not indent comments behind variable declarations
JavaScript: Inline property decorator should stay inline (#5364, #5423)
JavaScript: Treat
createSelectoras function compositionFlow: Do not move flow comment for function argument to its body
Flow: force-break interface body to be consistent with TypeScript interface
Flow/TypeScript: Remove extra indentation for
extendsTypeScript: Distinguish
moduleandnamespacecorrectlyHTML: Handle CRLF correctly
HTML: Handle
<pre>with interpolationHTML: Preserve content for
<template>with unknownlangHTML: Preserve incomplete IE conditional comments
HTML: Preserve unterminated IE conditional comments
HTML: Treat capital element as custom element
Angular: Add missing parens for pipe in ternary
Angular: Correctly print unary expression with operator
+Angular: Correctly handle parens
Angular/Vue: Whitespaces between interpolation and text are sensitive
Vue: Do not add invalid semicolon for
v-onattribute valueSCSS: Do not crash on grid value
Markdown: Handle CRLF correctly
Markdown: Identify CJK correctly
MDX: Treat JSX code block same as in Markdown
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.