Not a ton of great free code quality scanning tools. Resharper CLI is decent. https://www.jetbrains.com/help/resharper/ReSharper_Command_Line_Tools.html#install-and-use-resharper-command-line-tools-as-net-core-tools