Prettier 3.5 released with new formatting options, TypeScript config files support, & more
Prettier has released version 3.5 of its popular opinionated code formatter, introducing several new features and improvements. This update includes two new options: experimentalOperatorPosition, which allows for line breaks before binary operators, and objectWrap, which aids in formatting multi-line objects by configuring how Prettier wraps object literals. These options aim to tackle longstanding formatting issues while maintaining Prettier's core philosophy.
Version 3.5 also brings support for TypeScript config files, although TypeScript support in Node.js remains experimental. Enhancements in this release cover word wrapping in JSX, const type parameters in Flow, and improvements across CSS, Vue, Angular, Ember/Handlebars, and Markdown. Additionally, the API sees improvements alongside various minor enhancements and bug fixes.
