Skip to content

Update PSUseCorrectCasing to enforce correct case for an enum #1475

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

Open
xtqqczze opened this issue May 5, 2020 · 1 comment
Open

Update PSUseCorrectCasing to enforce correct case for an enum #1475

xtqqczze opened this issue May 5, 2020 · 1 comment

Comments

@xtqqczze
Copy link

xtqqczze commented May 5, 2020

Expected behavior

Get-ChildItem nosuchitem -ErrorAction SilentlyContinue

Actual behavior

Get-ChildItem nosuchitem -ErrorAction silentlycontinue
@bergmeister
Copy link
Collaborator

bergmeister commented May 5, 2020

At the moment the rule corrects:

  • Cmdlet name casing (when first introduced in 1.18.3)
  • Cmdlet parameter name casing starting with 1.19.0

Therefore this could be the next logical progression although maybe not quite as easy as it looks at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants