Skip to content

Conversation

@bergmeister
Copy link
Contributor

@bergmeister bergmeister commented Jul 12, 2018

Despite modern editors having the ability to eliminate redundant whitespace when saving the file automatically, people are still upset by PSSA pointing out whitespace for whitespace-only lines by the rule PSAvoidTrailingWhitespace. Until the rule is customisable for that with a potential change of the default behaviour, it is probably better to not have this rule enabled by default. This rule got enabled by default in version1.8.0 of the vscode extension along with other rules.
References:
PowerShell/PSScriptAnalyzer#1033
PowerShell/PSScriptAnalyzer#1036
PowerShell/vscode-powershell#1429
PowerShell/vscode-powershell#1432

@bergmeister bergmeister requested a review from rjmholt as a code owner July 12, 2018 21:25
Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants