Rule to warn against having a semicolon at the end of the line
Navigation Menu
{{ message }}
PowerShell / PSScriptAnalyzer Public
- Notifications You must be signed in to change notification settings
- Fork 406
Closed
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