Good day,
In StyleCop there was a way to create custom rule. Is it still possible?
StyleCop Analyzers does not provide any infrastructure to aid in developing custom rules. However, it doesn't really need to because the compiler already does that. Custom rules have the form of additional independent analyzer packages. You can install any number of Roslyn-based analyzer packages into your project to get the complete analysis you want.
This Getting Started with Roslyn Analyzers seems relevant for folks like me stumbling upon this question.
Most helpful comment
This Getting Started with Roslyn Analyzers seems relevant for folks like me stumbling upon this question.