Updated Roslyn Analyzers (third party) (markdown)

James Groom 2023-03-16 10:47:51 +10:00
parent a96866338c
commit e204737949
1 changed files with 2 additions and 2 deletions

@ -24,7 +24,7 @@ As a reminder, the project files' include graph looks like:
`/Common.props` enables the .NET Analyzers and StyleCop, and imports BizHawk.Analyzer and some third-party Analyzers. `/Common.props` enables the .NET Analyzers and StyleCop, and imports BizHawk.Analyzer and some third-party Analyzers.
You can tell the assembly references are working if `;;` is flagged with "MA0037: Remove empty statement". You can tell the assembly references are working if `;;` is flagged with "MA0037: Remove empty statement".
You can tell the ruleset reference is working if the above is true but the output isn't flooded with other warnings like "MEN002: Line must be no longer than 160 characters". You can tell the ruleset reference is working if that was flagged but the output isn't flooded with other warnings, such as "MEN002: Line must be no longer than 160 characters".
Similarly, you can tell the StyleCop config reference is working if the output isn't flooded with other warnings like "SA1600: Elements should be documented". Similarly, you can tell the StyleCop config reference is working if the output isn't flooded with warnings such as "SA1600: Elements should be documented".
> Note: `/src/MainSlnCommon.props` *disables* Analyzers unless `-p:RunAnalyzersDuringBuild=true` is passed to `dotnet` / the build script. > Note: `/src/MainSlnCommon.props` *disables* Analyzers unless `-p:RunAnalyzersDuringBuild=true` is passed to `dotnet` / the build script.