Skip to content

2.0.0

Choose a tag to compare

@simonhaenisch simonhaenisch released this 06 May 08:20
· 120 commits to master since this release

Now supports JavaScript via the babel parser and also supports TypeScript via the babel-ts parser 🎉

Special thanks to @duniul for the contribution (see #18)!

Both parsers are only available since Prettier v2, therefore the peer dependency has had a major version bump, which led me to release this as a major version as well. There are no breaking changes otherwise, so unless you're still on Prettier v1, you can just upgrade.

(The parser was called babylon in Prettier v1 but had a different signature so it would not have been easy to do a backwards-compatible implementation)