Question: suppressing all documentation rules a-la-cart in .globalconfig
See original GitHub issueIs it possible to somehow suppress all documentation rules a-la-cart in .globalconfig / .editorconfig without explicitly naming each one of them?
So instead if this:
dotnet_diagnostic.SA0001.severity = none # XmlCommentAnalysisDisabled
dotnet_diagnostic.SA1600.severity = none # ElementsMustBeDocumented
dotnet_diagnostic.SA1601.severity = none # PartialElementsMustBeDocumented
dotnet_diagnostic.SA1602.severity = none # EnumerationItemsMustBeDocumented
... (~ 40 entries)
have rather something along the lines: (this documents the intent of the question and is not working solution)
dotnet_diagnostic.SA0001.severity = none # XmlCommentAnalysisDisabled
dotnet_diagnostic.SA16*.severity = none # https://documentation.help/StyleCop/Documentation%20Rules.html
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Globablly Suppressing Stylecop Rules Not Working
I'm facing a similar problem. In the latest Visual Studio (version 16.7.3), none of the supression methods through Visual Studio are doing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jdvor The category in the example won’t match any StyleCop diagnostics. To get the category, first locate and select an analyzer in Solution Explorer:
Then press <kbd>F4</kbd> to open the Properties window to see the category:
Keep in mind that this might not be supported in the future:
Trailing comments are not truly supported by the .editorconfig specification, so you’ll want to rewrite it like this: