-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
📝 Empty line with no indentation between strings in comment: .graphql files #3924
📝 Empty line with no indentation between strings in comment: .graphql files #3924
Comments
Any chance you can use the playground? |
Here is a playground. Doesn't show any Biome output since it encounters this error:
|
Awesome, thank you. It seems there's a parsing error |
I think I've found out the cause. In this line
It's trying to remove the indentation from the comment by the minimum indent level of the entire block comment. But at the same time, in this line
The formatter explicitly ignores empty lines, so min_indent does not factor in empty lines in its calculation. I will push a fix for this sometime tomorrow. |
Environment information
Configuration
Playground link
https://github.com/danielkaxis/biome-graphql-issue
Code of Conduct
The text was updated successfully, but these errors were encountered: