Added PSAvoidTrailingWhitespace to the list of rules considered by the formatter (an entry for the rule is still required in the Rules part of settings).
Fixes #1992
Fixed an issue where lines starting with and containing a single character, that have trailing white-space, are truncated when formatted/fixed. See comment in #1992 for explanation.
PR Summary
Added
PSAvoidTrailingWhitespace
to the list of rules considered by the formatter (an entry for the rule is still required in theRules
part ofsettings
).Fixes #1992
Fixed an issue where lines starting with and containing a single character, that have trailing white-space, are truncated when formatted/fixed. See comment in #1992 for explanation.
Fixes #1757
PR Checklist
.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
to the beginning of the title and remove the prefix when the PR is ready.