Closed aokigit closed 1 year ago
Hi, thanks for the report, @aokigit! I tried to reproduce the issue in our test suite, and am not able to. Is there any chance you could put together a small reproduction repo or a stackblitz or something, so that I can investigate what's going on?
I ran into the same issue and restarting vscode worked for me
I ran into the same issue and restarting vscode worked for me
Confirmed. Restarting vscode fixes the issue.
Thanks everyone. I'll leave this open a bit longer to help anyone else who comes here searching for the issue, but it sounds like it's not something on our end, and has to do more with VSCode.
I came back to my codebase today, upgraded to 4.0.1 and the error doesn't appear anymore. Everything works as it should now. 👍
Your Environment
Describe the bug
When saving a file, the following error pops up:
SyntaxError: Unexpected identifier 'de'
To Reproduce
Save a JSX file.
Code sample
Configuration File (.prettierrc.json)
Error log