I have ASP.NET core project and trying to enable StyleCop.
I added package
dotnet add package StyleCop.Analyzers
and it showed warnings when I build the solution. Also in the editor everything was underlined and had explanation why. So far so good.
The problem is that when I try to reformat code or perform code cleanup, it ignores StyleCop's rules. Everything stays the same.
To make things worse, if I try to correct it manually it will revert it when I execute code formatter. Also if something is fixed by StyleCop rules, then Rider will complain.
I enabled "Read settings from editorconfig, project settings and rule sets" and "Enable StyleCop support".
I am using Rider 2020.1