Skip to content

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

Closed
@TylerLeonhardt

Description

@TylerLeonhardt
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