Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has Anyone Customized StyleCop rules based on the IDesign Coding Standard?

Tags:

stylecop

Has Anyone Customized StyleCop rules based on the IDesign Coding Standard?

like image 345
Sean M Avatar asked Apr 30 '10 14:04

Sean M


1 Answers

you might want to try Code Style Enforcer. It manages rules based off the iDesign standard.

I think you can set a check in policy for any code analysis that's done at dev time. If you go to Team Explorer -> Project name -> Right click on Settings -> Source Control you’ll see a Check-in Policy tab where you can add a Code Analysis policy. There you can add a rule set that has been checked into TFS. I think you should be able to access the Code Style Enforcer rules if you've installed them per the instructions on the page:

Global Configurator

  1. In the start menu, select "Code Style Enforcer" and "Configurator".
  2. Select where the global rules are to be located, e.g. a shared folder under source control, since the rules will be linked to a solution from here when selecting "Use Global Rules" in Visual Studio.
  3. Configure the global rules that are most common for your solutions
like image 126
uuunk Avatar answered Jan 02 '23 11:01

uuunk