Skip to content

Feature idea: AvoidLongLines #1243

Closed
Closed
@rjmholt

Description

@rjmholt

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions