lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Currens <>
Subject Re: [Lucene.Net] style cop, fx cop rules
Date Mon, 01 Aug 2011 17:27:59 GMT
I don't think there's any harm in putting StyleCop in the project at this
stage, but of course, no harm not putting it in either.  It would be handy
for people who already have VS2008/2010, as we could keep Lucene with the
same style format across the project as a whole.

IMO, I think the Naming, Maintainability, and layour rules are the most
important.  I use R#, so many of the default ones there are the ones I'm
partial to.  For example, I like my private fields to start with
underscores. I like my private properties, method names, public fields to be
in pascal case.  I like local variables and method parameters to use camel
case.  I dislike hungarian notation.  I like only one class per file, and
one namespace per file, those being in the maintainability rules.

I would like to hear other people's opinions on this, or maybe one of us
should just make a rule set and have everyone else look over it.


On Wed, Jul 27, 2011 at 7:11 PM, Michael Herndon <> wrote:

> Does anyone have any preferred rules that they want ignored or want
> required
> for the project for either Fx Cop or Style Cop?
> It might be prudent to wait on putting style cop int the project, it
> currently doesn't have a command line client and if installed it would
> generate warnings on each time someone builds on their local.
> - Michael.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message