summaryrefslogtreecommitdiffstats
path: root/tools/StyleCop/Settings.StyleCop
diff options
context:
space:
mode:
Diffstat (limited to 'tools/StyleCop/Settings.StyleCop')
-rw-r--r--tools/StyleCop/Settings.StyleCop11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/StyleCop/Settings.StyleCop b/tools/StyleCop/Settings.StyleCop
index 8be9507..058ee21 100644
--- a/tools/StyleCop/Settings.StyleCop
+++ b/tools/StyleCop/Settings.StyleCop
@@ -1,4 +1,15 @@
<StyleCopSettings Version="4.3">
+ <Parsers>
+ <Parser ParserId="Microsoft.StyleCop.CSharp.CsParser">
+ <ParserSettings>
+ <CollectionProperty Name="GeneratedFileFilters">
+ <Value>\.g\.cs$</Value>
+ <Value>\.generated\.cs$</Value>
+ <Value>\.g\.i\.cs$</Value>
+ </CollectionProperty>
+ </ParserSettings>
+ </Parser>
+ </Parsers>
<Analyzers>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.NamingRules">
<AnalyzerSettings>