Skip to content

Enable CA20XX rules with suggestion severity - #13928

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
xtqqczze:CA20XX
Nov 5, 2020
Merged

Enable CA20XX rules with suggestion severity#13928
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
xtqqczze:CA20XX

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

Promote CA10XX rules from suggestion to warning where there are no existing rule violations.

  • CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
  • CA2011: Avoid infinite recursion
  • CA2012: Use ValueTasks correctly

* CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
* CA2011: Avoid infinite recursion
* CA2012: Use ValueTasks correctly
@xtqqczze

Copy link
Copy Markdown
Contributor Author

rebased

@xtqqczze
xtqqczze marked this pull request as ready for review October 30, 2020 01:14
@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Nov 5, 2020
@iSazonov
Ilya (iSazonov) merged commit 679a3a6 into PowerShell:master Nov 5, 2020
@iSazonov Ilya (iSazonov) added this to the 7.2.0-preview.1 milestone Nov 5, 2020
@xtqqczze
xtqqczze deleted the CA20XX branch November 5, 2020 16:46
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
* CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
* CA2011: Avoid infinite recursion
* CA2012: Use ValueTasks correctly
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