Jeremy McGee
Jeremy McGee

Reputation: 25210

Has anyone created custom StyleCop and FxCop rules for the Lance Hunt C# coding standards?

I've just started work at a shop that uses Lance Hunt's coding standards for C# development (see here) -- has anyone customised StyleCop and FxCop to work with these?

Upvotes: 3

Views: 520

Answers (1)

Oleg Shuruev
Oleg Shuruev

Reputation: 1349

StyleCop itself already contains a lot from this standard, except some controversial issues like tabs-vs-space indentation or this-vs-prefixed namings.

For this exceptional things StyleCop+ can be used in additional to StyleCop. And it seems that this "pair" could probably implement the standard you mentioned well enough.

Answering your question more specifically - I've created StyleCop+ which has some rules that might help implementing this standard, like forcing tab indentation or forcing prefixed field names.

Upvotes: 2

Related Questions