Prettier 2.1 introduces a new --embedded-language-formatting option, supports the latest JavaScript and TypeScript features, and includes numerous bug fixes and improvements. This update allows better formatting control for embedded languages, enhances TypeScript 4.0 compatibility, and resolves multiple parsing and formatting issues across various languages.

13m read time From prettier.io
Post cover image
Table of contents
Highlights ​Other changes ​

Sort: