Skip to content
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

Enable analyzer build warnings as errors to be based on a wildcard #546

Closed
ErikEJ opened this issue Mar 27, 2024 · 5 comments · Fixed by #547
Closed

Enable analyzer build warnings as errors to be based on a wildcard #546

ErikEJ opened this issue Mar 27, 2024 · 5 comments · Fixed by #547
Labels
enhancement New feature or request .NET Pull requests that update .net code

Comments

@ErikEJ
Copy link
Collaborator

ErikEJ commented Mar 27, 2024

for example: +!SqlServer.Rules.*
or +!SqlServer.Rules.SRN*

@cjakobsen
Copy link

Could even expand this to generally change severity to something else like information or suggestion

@ErikEJ
Copy link
Collaborator Author

ErikEJ commented Mar 27, 2024

@cjakobsen Suggestion for the format? (I have not heard of suggestion as a level)

@cjakobsen
Copy link

Format could be something like +!SqlServer.Rules.*=suggestion.

Reference: Configuration options for code analysis - Severity

@ErikEJ
Copy link
Collaborator Author

ErikEJ commented Mar 27, 2024

@ErikEJ ErikEJ added enhancement New feature or request .NET Pull requests that update .net code labels Mar 27, 2024
@ErikEJ
Copy link
Collaborator Author

ErikEJ commented Mar 27, 2024

@cjakobsen PR here: #547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants