You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom rule to find instances of spaces inside parentheses.
For some reason, the rule only works inside comments, not in the rest of the code. I have no idea why.
Here's my custom rule:
parenthesis_spacing:
name: "Parenthesis Spacing"
message: "Don't put a space inside a parenthesis."
regex: "\(\s|\s\)"
The text was updated successfully, but these errors were encountered:
I created a custom rule to find instances of spaces inside parentheses.
For some reason, the rule only works inside comments, not in the rest of the code. I have no idea why.
Here's my custom rule:
The text was updated successfully, but these errors were encountered: