We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At the moment if we have an invalid file like this we are still overwriting the buffer with the prettier error output.
// @format const foo x= (a, b) => {};
becomes
stdin: SyntaxError: Unexpected identifier (2:10) 1 | // @format > 2 | const foo x= (a, b) => {}; | ^ 3 |
Expected behaviour:
Not overwrite buffer and display an error message
The text was updated successfully, but these errors were encountered:
mitermayer
Successfully merging a pull request may close this issue.
At the moment if we have an invalid file like this we are still overwriting the buffer with the prettier error output.
becomes
Expected behaviour:
Not overwrite buffer and display an error message
The text was updated successfully, but these errors were encountered: