-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support prettier-plugin-organize-imports out of the box #463
Comments
A "minimal reproduction" would have been helpful but I noticed a reference from poolifier/poolifier#97, will take a look there. You can also try using prettierX as a Prettier plugin by just adding I did try merging updates from Prettier 2.1.0 (PR #422) but it is a big mess due to the number of I may need some time to get to this due to some other priorities. Thanks for reporting. |
Using Also it has some problems, but maybe my setup is wrong? I created a draft PR on our repo, please have a look and feel free to experiment with it |
The explanation is that using I have just published a couple of shared config packages (see https://prettier.io/docs/en/configuration.html#sharing-configurations) that should be able to help resolve the issue with the extensions:
They could probably use some more documentation. |
I don't know why, but currently https://github.com/simonhaenisch/prettier-plugin-organize-imports#readme is not supported out of the box
So we need to use
npx prettier --loglevel silent --write . && npx prettierx --write .
so prettier sorts the imports and then prettierx can apply all it's extrasMaybe it's just an update to the newest prettier under the hood, but I don't know 🤷
The text was updated successfully, but these errors were encountered: