biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
14.95k stars 464 forks source link

📎 Implement `stylelint/no-irregular-whitespace` #3264

Closed chansuke closed 2 months ago

chansuke commented 3 months ago

Description

Description

Implement no-irregular-whitespace

[!IMPORTANT]

  • Please skip implementing options for now since we will evaluate users actually want them later.
  • Please ignore handling extended CSS language cases such as sass and less.
  • Please skip custom function since we haven't syntax model yet.

Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.

DerTimonius commented 3 months ago

Might I take a shot at this? 🙂

ematipico commented 3 months ago

@DerTimonius

A person is already implementing the same rule for JavaScript https://github.com/biomejs/biome/issues/2511#issuecomment-2202751073

We can definitely reuse the same logic across grammars

chansuke commented 3 months ago

@DerTimonius https://github.com/biomejs/biome/pull/3333 has been merged :) Can you please take a look?

DerTimonius commented 3 months ago

will do!

chansuke commented 3 months ago

🚀