Releases: simonhaenisch/prettier-plugin-organize-imports
2.0.0
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)
1.1.1
Added the files
list to package.json
to reduce the size on npm.
1.1.0
1.0.4
Fixed an issue where multi-line import statements would break because of Typescript 3.9.
Thanks @mathieumg!
Also added a Github action to run the tests.
1.0.3
Fixed the minimum required peer dependency versions.
1.0.2
Fix: respect an existing typescript preprocessor
1.0.1
Fix: only apply file changes if there are any
1.0.0
Initial release.