Skip to content

Commit

Permalink
Updated FxCop/StyleCop rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver, Jonathan committed Aug 30, 2011
1 parent 0b5bc09 commit d999583
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Settings.FxCop
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<Rule Name="AbstractTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="AssembliesShouldHaveValidStrongNames" Enabled="True" />
<Rule Name="AvoidExcessiveParametersOnGenericTypes" Enabled="True" />
<Rule Name="AvoidNamespacesWithFewTypes" Enabled="True" />
<Rule Name="AvoidOutParameters" Enabled="True" />
<Rule Name="CollectionsShouldImplementGenericInterface" Enabled="True" />
<Rule Name="ConsiderPassingBaseTypesAsParameters" Enabled="True" />
Expand Down Expand Up @@ -101,7 +100,7 @@
<Rule Name="EventsShouldNotHaveBeforeOrAfterPrefix" Enabled="True" />
<Rule Name="FlagsEnumsShouldHavePluralNames" Enabled="True" />
<Rule Name="IdentifiersShouldBeSpelledCorrectly" Enabled="True" />
<Rule Name="IdentifiersShouldDifferByMoreThanCase" Enabled="True" />
<Rule Name="IdentifiersShouldDifferByMoreThanCase" Enabled="False" />
<Rule Name="IdentifiersShouldHaveCorrectPrefix" Enabled="True" />
<Rule Name="IdentifiersShouldHaveCorrectSuffix" Enabled="True" />
<Rule Name="IdentifiersShouldNotContainTypeNames" Enabled="True" />
Expand Down Expand Up @@ -134,7 +133,10 @@
<Rule Name="TestForEmptyStringsUsingStringLength" Enabled="True" />
<Rule Name="UseLiteralsWhereAppropriate" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="PInvokeDeclarationsShouldBePortable" Enabled="True" />
<Rule Name="ValueTypeFieldsShouldBePortable" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AttributeStringLiteralsShouldParseCorrectly" Enabled="True" />
Expand Down
5 changes: 5 additions & 0 deletions src/Settings.StyleCop
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ParametersMustBeOnSameLineOrSeparateLines">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ParameterMustFollowComma">
<RuleSettings>
Expand Down

0 comments on commit d999583

Please sign in to comment.