Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: catch babel parse errors (#198)
This change updates the plugin to catch babel parsing errors, so that we can give prettier a chance to throw. We're still writing an error to console, so that in the event that prettier doesn't end up throwing, we're still indicating that the import sorting failed. ![screenshot of new behavior](https://github.com/user-attachments/assets/8ce5daaf-e496-4260-85d0-6753b137f9eb) Closes #197 --------- Co-authored-by: Ian VanSchooten <[email protected]> Co-authored-by: Frederic Barthelemy <[email protected]>
- Loading branch information