Question

Can anybody confirm or deny that I can modify default styles provided by StyleCop by just modifying some configuration file?

Was it helpful?

Solution

You can disable rules but if you want to check a custom style, you will have to code your own rules. You may read the API help file of StyleCop.

OTHER TIPS

Creation of new rules requires some C# code. See here and here for some articles on custom rule creation.

You can enable/disable the existing rules with a configuration file. Stylecop comes with the StyleCopSettingsEditor.exe which can be used to edit/generate a xml config file to configure which rules will be run. See this question on how to disable specific rules.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top