-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed as not planned
Labels
Description
Rule details
Disallow irregular whitespaces.
What type of rule is this?
Warns about a potential problem
Example code
.firstClass .secondClass {}
/** ↑
* Irregular whitespace. Selector would fail to match '.firstClass' */Prior Art
Participation
- I am willing to submit a pull request to implement this rule.
Additional comments
Various whitespace characters can be inputted by programmers by mistake for example from copying or keyboard shortcuts. Pressing Alt + Space on macOS adds in a non breaking space character for example.