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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
The space-in-parens rule can enforce consistent spacing around (), {}, and [] brackets. However, I can't figure out if there's a way to do this for generic parameters (<> brackets). For example, the following lines of code are all valid:
space-in-parens seems to be a rule from tslint-eslint-rules. TSLint core only has space-within-parens which only checks space between ( and ).
Anyways, I agree that it would make sense to also check {}, [] and <>. That should either be added to whitespace, implemented as a new rule (space-in-brackets?) or added to space-within-parens (which would then need to be renamed?).
The
space-in-parens
rule can enforce consistent spacing around()
,{}
, and[]
brackets. However, I can't figure out if there's a way to do this for generic parameters (<>
brackets). For example, the following lines of code are all valid:I'd like to be able to add a rule to enforce consistent use of spacing around these characters.
The text was updated successfully, but these errors were encountered: