-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[new-rule-request] : Enum operator spacing #2536
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
Comments
Wish me luck i'm trying to do it. PR soon |
This could also be build as an extension rule on top of |
@bradzacher if i understand correctly i just add |
we unfortunately don't have any tutorials or docs on writing rules - it's on the todo list. The best documentation is examples.. kind of. Some direct examples:
an extension rule is a rule that either:
Which path to take depends on the rule itself and how it's written. Sometimes you need access to internal rule logic so you're stuck forking it. Other times you can just add selectors you need. |
Thanks i'll read this and make changes! |
Given this enum, it would be a good rule to enforce spacing between
=
.correct
I searched the repo and didn't found a rule for that.
The text was updated successfully, but these errors were encountered: