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 }}
Repository navigation
PSUseConsistentWhitespace: Ignore whitespace between separator and comment - #2065
PR Summary
When checking for consistent whitespace between separators, using:
Whitespace between a separator and subsequent start of a comment is flagged as a violation. When formatting, it is removed.
So something such as:
Is fixed to:
This doesn't seem like desirable behaviour.
This PR ignores whitespace between separators and the start of a comment.
There were no tests around the
CheckSeparatorparameter, so I've added some.Fixes #1842
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.