开发者

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

开发者 https://www.devze.com 2023-03-04 03:47 出处:网络
I\'ve just started work at a shop t开发者_如何学编程hat uses Lance Hunt\'s coding standards for C# development (see here) -- has anyone customised StyleCop and FxCop to work with these?StyleCop itself

I've just started work at a shop t开发者_如何学编程hat uses Lance Hunt's coding standards for C# development (see here) -- has anyone customised StyleCop and FxCop to work with these?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消