Skip to content

Add PSAvoidTrailingWhitespace rule - #820

Merged
Kapil Borle (kapilmb) merged 4 commits into
PowerShell:developmentfrom
dlwyatt:AvoidTrailingWhitespace
Nov 8, 2017
Merged

Add PSAvoidTrailingWhitespace rule#820
Kapil Borle (kapilmb) merged 4 commits into
PowerShell:developmentfrom
dlwyatt:AvoidTrailingWhitespace

Conversation

@dlwyatt

Copy link
Copy Markdown
Contributor

Per discussion in PowerShell/PowerShellEditorServices#552 , this PR is to add a rule that flags (and removes, with Invoke-Formatter) trailing whitespace from lines in a script.

@kapilmb Kapil Borle (kapilmb) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dave Wyatt (@dlwyatt) Everything looks good. If you can please add documentation for the rule in the RuleDocumentation/ directory, I can merge this. Thanks!

@dlwyatt

Copy link
Copy Markdown
Contributor Author

Kapil Borle (@kapilmb) Done

@dlwyatt

Copy link
Copy Markdown
Contributor Author

Kapil Borle (@kapilmb) : Do you need anything else on this one? :)

@kapilmb

Copy link
Copy Markdown

Hey Dave Wyatt (@dlwyatt), sorry haven't been able to give any time here. The PR looks complete to me. Will merge it. Thanks!

@kapilmb
Kapil Borle (kapilmb) merged commit e7e01b9 into PowerShell:development Nov 8, 2017
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.

2 participants