-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use the same analyzers for V7 projects #1287
Conversation
I did have a play around with this locally for #1272 but it didn't seem to make any difference - maybe I just did something wrong 😄 Will take a proper look at the PR later this afternoon 👍 |
Codecov Report
@@ Coverage Diff @@
## main #1287 +/- ##
=======================================
Coverage 83.25% 83.26%
=======================================
Files 263 263
Lines 6290 6291 +1
Branches 993 993
=======================================
+ Hits 5237 5238 +1
Misses 844 844
Partials 209 209
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments, but otherwise some nice tidying-up. Thanks!
src/Polly.Core.Tests/Hedging/Controller/HedgingExecutionContextTests.cs
Outdated
Show resolved
Hide resolved
<UseDefaultAnalyzers>true</UseDefaultAnalyzers> | ||
<NoWarn>$(NoWarn);S103;S104;CA2000;IDE0011;SA1600;SA1204;SA1602;S6608;IDE1006;CA2008;CA1806;CA2201;</NoWarn> | ||
<NoWarn>$(NoWarn);SA1414;CA1508;S3878;CA1030;S4144;S3717;SA1129;SA1407;S1402;SA1649;SA1402;S4056;CA1031</NoWarn> | ||
<NoWarn>$(NoWarn);S2184;</NoWarn> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Savage 😄
<NoWarn>$(NoWarn);IDE0011;SA1501;S103;IDE0055;SA1111;IDE0066;S3872;SA1127;SA1128;SA1402;SA1513;SA1414;S3215;S2955</NoWarn> | ||
<NoWarn>$(NoWarn);IDE0044;IDE1006;CA1062;S107;CA1068;S4039;SA1121;CA1000;CA1063;SA1113;CA1031;CA1051;CA1200</NoWarn> | ||
<NoWarn>$(NoWarn);SA1629;SA1612;CA2211;S2223;CA1032;CA1815;CA1816;S4457;SA1615;IDE0250;S109;SA1618;SA1407;CA1033</NoWarn> | ||
<NoWarn>$(NoWarn);SA1515;S4023;CA1010;IDE0063;S2681;S3442;S3880;CA1064;SA1110;SA1203;SA1649;SA1625;SA1623;SA1118</NoWarn> | ||
<NoWarn>$(NoWarn);S3253;S3971;S6605;CA1724;CA1716;SA1108;CA1710;S4049;S3246;SA1204;S3928;CA1508;CA1822;CA2201;SA1642</NoWarn> | ||
<NoWarn>$(NoWarn);SA1805;SA1129;SA1805;CA1805;CA1821</NoWarn> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can make an issue to track turning some of these back on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do post merge.
Details on the issue fix or feature implementation
I have noticed the duplicate .
editorconfig
file that could be cause of #1272.I got rid of it so all projects now use the default set of analyzers. The side effect is that the is now a LOT of issues in
Polly
project which I had to suppress (except a few low-risk, low effort fiixes).For
Polly.Specs
I was a lot more benevolent and let VS do some cleanup.Confirm the following