Closed trim21 closed 2 years ago
That's weird it failed. Also, did you meant to close this?
Oh, looks like an extra character at the end of the line?
Would be nice if this errored similar to prettier and displayed this in the playground:
I find there is an \u200b
after e
, this json file is not valid so it's not strange that dprint can't handle it. Therefore I close it.
If you think it a meaningful issue, I'm happy you re-open it.
It is. It should say it can't understand this character. I think it's a bug in the json parser.
Describe the bug
dprint-plugin-json version: 0.13.2
Input Code
Expected Output
something meaningful.
Actual Output
https://dprint.dev/playground/#code/N4WAUABBBEDGD2BbADgSwDYFMBOB5ZALqvAHYDO0AXBKJFDJmQLLwAmArlgJIkE7zIqEAtnaZA0ATgoAX3CywQA/language/json