Skip to content

Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files - #12584

Merged
Ilya (iSazonov) merged 5 commits into
PowerShell:masterfrom
xtqqczze:ps-formatting
May 7, 2020
Merged

Ilya (iSazonov) merged 5 commits into
PowerShell:masterfrom
xtqqczze:ps-formatting

Conversation

@xtqqczze

@xtqqczze xtqqczze commented May 5, 2020 •

Copy link
Copy Markdown
Contributor

PR Summary

PR Context

PSScriptAnalyzer v1.19.0 introduces Cmdlet parameter name casing.

PR Checklist

@iSazonov Ilya (iSazonov) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compare operators should be in low case.

Comment thread build.psm1 Resolved
@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label May 6, 2020
@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.3 milestone May 6, 2020
xtqqczze and others added 2 commits May 6, 2020 11:45
@iSazonov

Ilya (iSazonov) commented May 6, 2020 •

Copy link
Copy Markdown
Collaborator

xtqqczze In future please make one change per commit - this greatly speeds up a code review.

Also it would be nice to have static tests for this to exclude regressions in formatting (not in the PR).

@iSazonov
Ilya (iSazonov) merged commit f438220 into PowerShell:master May 7, 2020
@iSazonov Ilya (iSazonov) changed the title Use correct casing for cmdlet name and cmdlet parameter name Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files May 7, 2020
@xtqqczze
xtqqczze deleted the ps-formatting branch May 14, 2020 16:17
@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.3 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants