Skip to content

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Sep 23, 2025

These are super annoying and add basically zero value.

Microsoft Reviewers: Open in CodeFlow

These are super annoying and add basically zero value.
@Copilot Copilot AI review requested due to automatic review settings September 23, 2025 21:26
@stephentoub stephentoub requested review from a team as code owners September 23, 2025 21:26
@github-actions github-actions bot added the area-ai-eval Microsoft.Extensions.AI.Evaluation and related label Sep 23, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request aims to disable a set of code analysis rules that the author considers "super annoying and add basically zero value." The changes involve removing pragma warning directives and adjusting analyzer configurations to make these rules less intrusive by changing their severity from warning to suggestion.

  • Removal of pragma warning directives throughout the codebase for multiple analyzer rules
  • Update to .editorconfig to change severity levels for various code analysis rules from warning to suggestion
  • Modifications to project files to remove specific rule suppressions

Reviewed Changes

Copilot reviewed 165 out of 165 changed files in this pull request and generated 2 comments.

File Description
Multiple C# source files Removed pragma warning disable/restore directives for various analyzer rules
src/Libraries/.editorconfig Changed severity levels for multiple analyzer rules from warning to suggestion
Multiple .csproj files Removed specific NoWarn entries for various analyzer rules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@stephentoub stephentoub requested review from a team as code owners September 24, 2025 01:58
@stephentoub stephentoub added area-infrastructure and removed area-ai-eval Microsoft.Extensions.AI.Evaluation and related labels Sep 24, 2025
@stephentoub stephentoub enabled auto-merge (squash) September 24, 2025 22:16
@stephentoub stephentoub merged commit b56aec4 into dotnet:main Sep 25, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants