FaronBracy / RogueSharp

A .NET Standard class library providing map generation, path-finding, and field-of-view utilities frequently used in roguelikes or 2D tile based games. Inspired by libtcod
https://roguesharp.wordpress.com/
MIT License
574 stars 58 forks source link

Setup static code analysis via Roslyn diagnostic analyzers #9

Closed FaronBracy closed 5 years ago

FaronBracy commented 5 years ago

Previously FxCop was built into Visual Studio and RogueSharp had a ruleset that it used to do static code analysis.

Static analysis is now delivered via nuget packages: https://github.com/dotnet/roslyn-analyzers#recommended-version-of-analyzer-packages

Get this setup for RogueSharp with a sensible set of rules.

FaronBracy commented 5 years ago

Addressed in https://github.com/FaronBracy/RogueSharp/pull/21