Open anthony-murphy opened 1 month ago
The playground link hits the issue, but it is a bit artificial. I've hit this for real due to missing an opening bracket on a condition, so the subsequent closing bracket closes the function scope, but leaves code dangling in the class scope. it would be better if biome did nothing like prettier does, rather than further corrupting the file.
Environment information
Configuration
Playground link
https://biomejs.dev/playground/?indentStyle=space&indentWidth=4&code=ZQB4AHAAbwByAHQAIABjAGwAYQBzAHMAIABmAG8AbwB7AAoAAyADIGMAbwBuAHMAdAAgAG8AbABkACAAPQAgADEAOwAKAAMgAyBjAG8AbgBzAHQAIAByAGUAbQBvAHQAZQAgAD0AIAAyADsACgB9AA%3D%3D&jsx=false
Code of Conduct