-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Should GlobalSupressions suppress CA1806 instead? #26213
Labels
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
package/tools
Related to AWS CDK Tools or CLI
Comments
petro2050
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 3, 2023
Hi How did you Also, what makes you believe GlobalSupressions.cs is suppressing RECS0026? Can you share more details or screenshots about that? Thanks. |
pahud
added
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
effort/medium
Medium work item – several days of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 5, 2023
github-actions
bot
removed
the
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
label
Jul 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
When I cdk init a new app, GlobalSupressions.cs is suppressing RECS0026. However, it seems this has no visible effect. When a new object is created without a variable referencing it, I'm getting CA1806. This is for a .NET 6 app running in VS Code.
Expected Behavior
GlobalSupressions should successfully suppress unassigned object warnings.
Current Behavior
GlobalSupressions seems ineffective.
Reproduction Steps
see the description
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.85.0
Framework Version
No response
Node.js Version
18.12.1
OS
macOS
Language
.NET
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: