Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 109 lines (98 sloc) 4.25 kb
0f8c45f Initial revision.
bradwilson authored
1 <StyleCopSettings Version="4.3">
2
3 <!--
4 This file was cloned directly from ndp\cdf\src
5 to apply ADP conventions to all product source.
6 -->
7 <GlobalSettings>
8 <StringProperty Name="MergeSettingsFiles">NoMerge</StringProperty>
9 </GlobalSettings>
10 <Analyzers>
11
12 <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.NamingRules">
13 <AnalyzerSettings>
14 <CollectionProperty Name="Hungarian">
15 <Value>as</Value>
16 <Value>db</Value>
17 <Value>dc</Value>
18 <Value>do</Value>
19 <Value>ef</Value>
20 <Value>id</Value>
21 <Value>if</Value>
22 <Value>in</Value>
23 <Value>is</Value>
24 <Value>my</Value>
25 <Value>no</Value>
26 <Value>on</Value>
27 <Value>sl</Value>
28 <Value>to</Value>
29 <Value>ui</Value>
30 <Value>vs</Value>
31 </CollectionProperty>
32 </AnalyzerSettings>
33 </Analyzer>
34
35 <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.DocumentationRules">
36 <AnalyzerSettings>
37 <BooleanProperty Name="IgnorePrivates">True</BooleanProperty>
38 <BooleanProperty Name="IgnoreInternals">True</BooleanProperty>
39 <StringProperty Name="Copyright">Copyright (c) Microsoft Corporation. All rights reserved.</StringProperty>
40 </AnalyzerSettings>
41
42 <Rules>
43 <Rule Name="FileMustHaveHeader">
44 <RuleSettings>
45 <BooleanProperty Name="Enabled">False</BooleanProperty>
46 </RuleSettings>
47 </Rule>
48
49 <!-- Per ADP guidelines, the file header does not need to contain the name of the file. -->
50 <Rule Name="FileHeaderMustContainFileName">
51 <RuleSettings>
52 <BooleanProperty Name="Enabled">False</BooleanProperty>
53 </RuleSettings>
54 </Rule>
55 <Rule Name="FileHeaderFileNameDocumentationMustMatchFileName">
56 <RuleSettings>
57 <BooleanProperty Name="Enabled">False</BooleanProperty>
58 </RuleSettings>
59 </Rule>
60
61 <!-- Per ADP guidelines, the file header does not need to contain a Company attribute. -->
62 <Rule Name="FileHeaderMustHaveValidCompanyText">
63 <RuleSettings>
64 <BooleanProperty Name="Enabled">False</BooleanProperty>
65 </RuleSettings>
66 </Rule>
67
68 <!-- Per ADP guidelines, constructor summary documentation does not have to match a specific format, since they are not directly consumed for external documentation. -->
69 <Rule Name="ConstructorSummaryDocumentationMustBeginWithStandardText">
70 <RuleSettings>
71 <BooleanProperty Name="Enabled">False</BooleanProperty>
72 </RuleSettings>
73 </Rule>
74
75 <!-- Per ADP guidelines, destructor summary documentation does not have to match a specific format, since they are not directly consumed for external documentation. -->
76 <Rule Name="DestructorSummaryDocumentationMustBeginWithStandardText">
77 <RuleSettings>
78 <BooleanProperty Name="Enabled">False</BooleanProperty>
79 </RuleSettings>
80 </Rule>
81
82 <!-- Per ADP guidelines, documentation headers can contain blank lines, since they are not directly consumed for external documentation. -->
83 <Rule Name="DocumentationHeadersMustNotContainBlankLines">
84 <RuleSettings>
85 <BooleanProperty Name="Enabled">False</BooleanProperty>
86 </RuleSettings>
87 </Rule>
88 </Rules>
89 </Analyzer>
90
91 <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.ReadabilityRules">
92 <Rules>
93 <!-- Per ADP guidelines, the use of regions is not allowed (copied from CSD guidelines doc) -->
94 <Rule Name="DoNotUseRegions">
95 <RuleSettings>
96 <BooleanProperty Name="Enabled">True</BooleanProperty>
97 </RuleSettings>
98 </Rule>
99 <!-- Per ADP guidelines, method parameter are allowed to span across multiple lines (rather than having to be assigned to a temporary variable). -->
100 <Rule Name="ParameterMustNotSpanMultipleLines">
101 <RuleSettings>
102 <BooleanProperty Name="Enabled">False</BooleanProperty>
103 </RuleSettings>
104 </Rule>
105 </Rules>
106 </Analyzer>
107
108 </Analyzers>
109 </StyleCopSettings>
Something went wrong with that request. Please try again.