Feature Request: Add equivalent of ESLint no-multi-spaces rule
#9226
nabeel-quintet
started this conversation in
Rule suggestion
Replies: 1 comment
-
|
We intentionally haven't implemented this rule because the behavior is completely covered by the formatter. In general, we don't implement lint rules that just do code formatting, because we have the formatter to do that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Add equivalent of ESLint
no-multi-spacesruleReferences
Description
While migrating from ESLint to Biome, I noticed there is no equivalent rule for ESLint’s
no-multi-spaces.In ESLint, this rule:
Currently, Biome does not appear to provide a dedicated lint rule that enforces this behavior.
Expected Behavior
Biome should provide a lint rule equivalent to ESLint’s
no-multi-spaceswith the following characteristics:Example Diagnostic
Example
ESLint (no-multi-spaces)Reports lint errors for the extra spaces between tokens.
Biome
No lint error is reported.
Spacing is only corrected when running the formatter.
Beta Was this translation helpful? Give feedback.
All reactions