-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files #12584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
iSazonov
left a comment
There was a problem hiding this comment.
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.
test/powershell/Modules/Microsoft.PowerShell.Management/Rename-Item.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/Microsoft.PowerShell.Management/Rename-Item.Tests.ps1
Outdated
Show resolved
Hide resolved
test/powershell/Modules/Microsoft.PowerShell.Management/Rename-Item.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/Microsoft.PowerShell.Security/CmsMessage2.Tests.ps1
Show resolved
Hide resolved
…-Item.Tests.ps1 Co-authored-by: Ilya <darpa@yandex.ru>
|
@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). |
|
🎉 Handy links: |
PR Summary
PSUseCorrectCasingrule.demos\DSC\dsc-demo.ps1, see PSUseCorrectCasing malfunctioning in DSC configuration PSScriptAnalyzer#1474PR Context
PSScriptAnalyzer v1.19.0 introduces Cmdlet parameter name casing.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.