Documentation for Settings.StyleCop file?

Aug 22, 2012 at 12:42 PM

Hi, 

I'm trying to get an understanding of all the options available from the Settings.StyleCop file.

I've read the documentation on <SourceFileList> but I've also seen this interesting snippet on a blog:

https://julianscorner.com/wiki/programming/stylecop_settings

<Parsers>
    <Parser ParserId="StyleCop.CSharp.CsParser">
      <ParserSettings>
        <CollectionProperty Name="GeneratedFileFilters">
          <Value>\.g\.cs$</Value>
          <Value>\.generated\.cs$</Value>
          <Value>\.g\.i\.cs$</Value>
        </CollectionProperty>
      </ParserSettings>
    </Parser>
  </Parsers>

This looks like it gives you the ability to control what files get considered as 'generated' and can therefore be excluded from rule checking but I've not found any more documentation on this feature anywhere.

I'd be grateful for any light anyone can shed on this issue or if there's any more documentation available for the options in Settings.Stylecop that I've missed.

 

thanks,

BrendanRichards