Spotting and Preventing Formatting Errors in Your Code
Too Long; Didn't Read
This is part two in a three-part series on setting up a uniform formatting standard in your code editor. In this post I'll show how to use Roslyn Analyzers with C# to enforce some standards of code quality and code style on your code, throwing errors at compile time if any rules are not being respected and not allowing the code to be pushed to protected branches of the repository.