Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature idea: AvoidLongLines #1243

Closed
rjmholt opened this issue May 24, 2019 · 1 comment
Closed

Feature idea: AvoidLongLines #1243

rjmholt opened this issue May 24, 2019 · 1 comment

Comments

@rjmholt
Copy link
Contributor

rjmholt commented May 24, 2019

Summary of the new feature

@Jaykul said it best (in PowerShell/vscode-powershell#517):

a rule that gave a warning on lines longer than 120char, but an information on all commands with more than one parameter

Proposed technical implementation details (optional)

Issue a warning for CommandParameterAsts with an extent beyond line offset 120 (or information if it's the only parameter).

What is the latest version of PSScriptAnalyzer at the point of writing

1.18

@rjmholt
Copy link
Contributor Author

rjmholt commented Oct 12, 2019

Closed in #1329

@rjmholt rjmholt closed this as completed Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants