Can I create custom rules in StyleCop without coding anything?
Can anybody confirm or deny that I can modify default styles provided by StyleCop by just modifying some开发者_如何学Go configuration file?
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.
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.
精彩评论