Skip to content

Enable CA1861 and IDE0300 warnings #56814

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

Closed

Conversation

martincostello
Copy link
Member

Enable CA1861 and IDE0300 warnings

Enable warnings for CA1861 and IDE0300 in EditorConfig.

Description

Enable warnings for CA1861 and IDE0300 in EditorConfig, see #56525 (comment).

I didn't enable IDE0028 due to #56395 (comment).

Draft for now to see what fails and whether fixes for what does fail are net positive.

/cc @BrennanConroy

Enable warnings for CA1861 and IDE0300 in EditorConfig.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jul 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 16, 2024
Exclude new rules from tools.
Disable for the shared code.
@martincostello
Copy link
Member Author

I should just run the build locally and fix a few of them...

@martincostello
Copy link
Member Author

I'm going to close this. Just looking at the Http solution there's 70+ warnings, so I think this would be too big to try and do in one sweep across the entire repo.

@martincostello martincostello deleted the enable-ca1861-ide0300 branch July 16, 2024 15:29
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview7 milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant