Rule to warn against having a semicolon at the end of the line

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@TylerLeonhardt

Description

function foo {
    $a = 1 + $b; # semicolon not needed
}

Install-Module Polaris; $a = 1 + $b; # semicolon needed after install-module, not needed after addition

We should warn against using semicolons at the end of a line.

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