Add the Nuget package for Stylecopanalyzers to your project. Then it is configured as already mentioned using .editorconfig.
How to add custom ruleset for stylecop in Visual Studio 2019?
Prabs
1
Reputation point
Hi,
How to add custom ruleset(SA#) for stylecop in Visual Studio 2019?
I installed stylecop in Visual studio.
I have some specific number of stylecop rules(SA#) and I need to add these as custom rules.
Please help me on this?
Regards,
Prabs