Changes
- feat: support formatting of languages embedded in tagged template literals (Rust API Only) (#701)
- fix: upgrade to swc_parser 11.1.3 (#706)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package