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

Rule category documentation #3772

Open
gao-artur opened this issue Jan 9, 2024 · 0 comments
Open

Rule category documentation #3772

gao-artur opened this issue Jan 9, 2024 · 0 comments

Comments

@gao-artur
Copy link

I wanted to disable all the rules in the SA16xx range. According to documentation, they are in the Documentation Rules category. No of the following configurations worked

dotnet_analyzer_diagnostic.category-Documentation Rules.severity = none
dotnet_analyzer_diagnostic.category-DocumentationRules.severity = none
dotnet_analyzer_diagnostic.category-Documentation.severity = none

Then I checked the source code and found the correct category name was StyleCop.CSharp.DocumentationRules. This config worked

dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity = none

I expect the documentation to show the category name that can be used for category-based configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant