A fork of Prettier (v2.8.4) that moves binary operators to the beginning of new lines in long expressions instead of the end of the previous line. This is the only difference from upstream Prettier. The package is designed to be installed as an alias so that require('prettier') resolves to this fork transparently. It supports JavaScript, TypeScript, Flow, JSX, JSON, CSS, SCSS, Less, HTML, Vue, Angular, GraphQL, Markdown, and YAML. Releases are rebased on top of Prettier version tags. Not actively maintained as a separate project; it follows upstream releases with a single feature change.
npm install ah-prettierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installing as alias and using the fork via require('prettier').
Use npm install --save-dev prettier@npm:@btmills/prettier
Check upstream for recent changes if needed.
Ensure editor uses the locally installed 'prettier' package.
Uninstall @btmills/prettier and install using prettier@npm:@btmills/prettier
Change import to require('prettier') after alias install.No dependency data recorded yet.