-
-
Notifications
You must be signed in to change notification settings - Fork 21
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 postprocessing of formatter output before insertion #25
Comments
wyuenho
changed the title
Support preprocessing of formatter output before insertion
Support postprocessing of formatter output before insertion
May 26, 2020
I'm probably not going to pursue this feature request soon, but I've just landed #27, partly with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some formatters like
eslint --fix-dry-run --format json
contains the formatted output in a JSON entry. Currentlyreformatter-replace-buffer-contents-from-file
only takes theout-file
and inserts directly into the original file buffer. It would be nice if we could define a postprocessor to process formatter output before insertion.Similar approaches may be used for #20 as well.The text was updated successfully, but these errors were encountered: