Replies: 5 comments 5 replies
-
If you're referring to rendering squiggly lines when the format is incorrect, you're right. Biome currently does not report diagnostics for formatting differences. Usually, people enable format on save, which takes care of it automatically. |
Beta Was this translation helpful? Give feedback.
-
This is probably gonna be a deal breaker for me. Is there any reason why you wouldn't want to support that? I currently use |
Beta Was this translation helpful? Give feedback.
-
Wow, did not expect this at all. Formatting is very important to be consistent in all code, otherwise it can cause troubles merging code & doing codereviews (too many changed lines just due to formatting, hard to find actual code changes). The only option to solve this would be a pre-commit hook, but that can cause mess if you sometime need to first commit an invalid code (eg. while doing some multi-step git operation). Doing it in CI would work, but some junior devs dont push to CI or just do not have granted access to it. Really, what about something like |
Beta Was this translation helpful? Give feedback.
-
We are staying with Biome, since it is just so much faster, but in the format linting, it is a significant downgrade from eslint :( |
Beta Was this translation helpful? Give feedback.
-
I really wanted to migrate, but this issue blocked me too. I'm not a fan of auto-formatting, I prefer doing a manual "fix all" pass. The fact that formatting issues (indentation, semicolons, etc.) aren't treated as real lint errors was a dealbreaker for me. Please consider reconsidering this behavior 🥺 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We planned to use BiomeJS in replacement of ESlint.
We are actually facing an issue. Biome does not lint formatting issues :
This simple config file works well for most of the rules we need.
But when I mess up a react code to look flat, I have no feedback of Biome to tell me that my code is not valid.
Since, yes, indentations problem is an error.
Do you have an idea of to show this kind of issue in the linter on VSCode?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions