Reduce code style rule severity from warning to suggestion by nohwnd · Pull Request #15522 · microsoft/vstest (original) (raw)
Downgrade purely cosmetic IDE rules from warning to suggestion so they no longer break the build via TreatWarningsAsErrors. Rules that catch real bugs (IDE0043, IDE0059, IDE0060, IDE0076, IDE0077, IDE0064, etc.) remain as warnings.
Rules changed to suggestion:
- IDE0005 (unnecessary using)
- IDE0019/IDE0020/IDE0078/IDE0083 (pattern matching style)
- IDE0053 (expression body for lambdas)
- IDE0055 (formatting)
- IDE0063 (simple using statement)
- IDE0065 (using directive placement)
- IDE0073 (file header)
- IDE0074 (compound assignment)
- IDE0090 (simplify new expression)
Fixes microsoft#15460
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com