Skip to content
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

Add new powershell.useCorrectCasingsettings for new rule in PSSA 1.18: PSUseCorrectCasing #1687

Merged
merged 6 commits into from
Mar 20, 2019

Conversation

bergmeister
Copy link
Collaborator

@bergmeister bergmeister commented Jan 8, 2019

PR Summary

This PR exposes new settings to use the new PSSA settings from this PR.
The corresponding PR in PSES is here
This PR can only be merged once PSSA 1.18 has released and the dependent PSES has been merged.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@rjmholt rjmholt changed the title [Do not merge yet] Add new powershell.useCorrectCasingsettings for new rule in PSSA 1.18: PSUseCorrectCasing Add new powershell.useCorrectCasingsettings for new rule in PSSA 1.18: PSUseCorrectCasing Mar 5, 2019
package.json Outdated
"powershell.codeFormatting.useCorrectCasing": {
"type": "boolean",
"default": true,
"description": "Correct casing of cmdlets."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor English "nit" … "Correct" in this case sounds like it might be a verb instead of an adjective. I suggest "Use correct casing for cmdlets." - or something like that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fair point. Done

package.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

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

LGTM

@TylerLeonhardt TylerLeonhardt merged commit 4c826b3 into PowerShell:master Mar 20, 2019
bergmeister added a commit to bergmeister/vscode-powershell that referenced this pull request Mar 20, 2019
…: PSUseCorrectCasing (PowerShell#1687)

* Add powershell.codeformatting.pipelineIndentationStyle setting

* add UseCorrectCasing

* Revert "Add powershell.codeformatting.pipelineIndentationStyle setting"

This reverts commit a5487d7.

* fix comma

* Update package.json
This was referenced Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants