Skip to content

Commit 219a8a2

Browse files
committed
TD-3686 Supresses stylecop copyright header rules
1 parent 96c41ab commit 219a8a2

File tree

1 file changed

+100
-102
lines changed

1 file changed

+100
-102
lines changed

StyleCop.ruleset

Lines changed: 100 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="10.0">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="17.0">
33
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized">
44
<Name Resource="MinimumRecommendedRules_Name" />
55
<Description Resource="MinimumRecommendedRules_Description" />
@@ -69,105 +69,103 @@
6969
<Rule Id="CA2242" Action="Warning" />
7070
</Rules>
7171
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
72-
<Rule Id="SA1600" Action="Error" /> <!-- Elements should be documented -->
73-
<Rule Id="SA1633" Action="Error" /> <!-- File should have header -->
74-
<Rule Id="SA0001" Action="Error" /> <!-- XML comments -->
75-
<Rule Id="SA1101" Action="Error" /> <!-- Prefix local calls with this -->
76-
<Rule Id="SA1407" Action="Error" /> <!-- Arithmetic expressions should declare precedence -->
77-
<Rule Id="SA1116" Action="Error" /> <!-- Split parameters should start on line after declaration -->
78-
<Rule Id="SA1309" Action="Error" /> <!-- Field names should not begin with underscore -->
79-
<Rule Id="SA1402" Action="Error" /> <!-- File may only contain a single type -->
80-
<Rule Id="SA1204" Action="Error" /> <!-- Static elements should appear before instance elements -->
81-
<Rule Id="SA1604" Action="Error" /> <!-- Element documentation should have summary -->
82-
<Rule Id="SA1516" Action="Error" /> <!-- Elements should be separated by blank line -->
83-
<Rule Id="SA1649" Action="Error" /> <!-- File name should match first type name -->
84-
<Rule Id="SA1128" Action="Error" /> <!-- Put constructor initializers on their own line -->
85-
<Rule Id="SA1122" Action="Error" /> <!-- Use string.Empty for empty strings -->
86-
<Rule Id="SA1413" Action="Error" /> <!-- Use trailing comma in multi-line initializers -->
87-
<Rule Id="SA1117" Action="Error" /> <!-- Parameters should be on same line or separate lines -->
88-
<Rule Id="SA1602" Action="Error" /> <!-- Enumeration items should be documented -->
89-
<Rule Id="SA1108" Action="Error" /> <!-- Block statements should not contain embedded comments -->
90-
<Rule Id="SA1601" Action="Error" /> <!-- Partial elements should be documented -->
91-
<Rule Id="SA1401" Action="Error" /> <!-- Fields should be private -->
92-
<Rule Id="SA1404" Action="Error" /> <!-- Code analysis suppression should have justification -->
93-
<Rule Id="SA1515" Action="Error" /> <!-- Single-line comment should be preceded by blank line -->
94-
<Rule Id="SA1512" Action="Error" /> <!-- Single-line comments should not be followed by blank line -->
95-
<Rule Id="SA1118" Action="Error" /> <!-- Parameter should not span multiple lines -->
96-
<Rule Id="SA1127" Action="Error" /> <!-- Generic type constraints should be on their own line -->
97-
<Rule Id="SA1132" Action="Error" /> <!-- Do not combine fields -->
98-
<Rule Id="SA1501" Action="Error" /> <!-- Statement should not be on a single line -->
99-
<Rule Id="SA1502" Action="Error" /> <!-- Element should not be on a single line -->
100-
<Rule Id="SA1203" Action="Error" /> <!-- Constants should appear before fields -->
101-
<Rule Id="SA1214" Action="Error" /> <!-- Readonly fields should appear before non-readonly fields -->
102-
<Rule Id="SA1133" Action="Error" /> <!-- Do not combine attributes -->
103-
<Rule Id="SA1202" Action="Error" /> <!-- Elements should be ordered by access -->
104-
<Rule Id="SA1201" Action="Error" /> <!-- Elements should appear in the correct order -->
105-
<Rule Id="SA1004" Action="Error" /> <!-- Documentation line should begin with a space. -->
106-
<Rule Id="SA1005" Action="Error" /> <!-- Single line comment should begin with a space. -->
107-
<Rule Id="SA1200" Action="Error" /> <!-- Using directive should appear within a namespace declaration. -->
108-
<Rule Id="SA1028" Action="Error" /> <!-- Code should not contain trailing whitespace. -->
109-
<Rule Id="SA1636" Action="Error" /> <!-- The file header copyright text should match the copyright text from the settings. -->
110-
<Rule Id="SA1208" Action="Error" /> <!-- System using directives must be placed before other using directives. -->
111-
<Rule Id="SA1629" Action="Error" /> <!-- Documentation text should end with a period. -->
112-
<Rule Id="SA1013" Action="Error" /> <!-- Closing brace should be preceded by a space. -->
113-
<Rule Id="SA1000" Action="Error" /> <!-- Keywords must be spaced correctly. -->
114-
<Rule Id="SA1513" Action="Error" /> <!-- Closing brace should be followed by blank line. -->
115-
<Rule Id="SA1500" Action="Error" /> <!-- Braces for multi-line statements should not share line. -->
116-
<Rule Id="SA1507" Action="Error" /> <!-- Code should not contain multiple blank lines in a row. -->
117-
<Rule Id="SA1300" Action="Error" /> <!-- Element should begin with an uppercase letter. -->
118-
<Rule Id="SA1612" Action="Error" /> <!-- The parameter does not exist. -->
119-
<Rule Id="SA1300" Action="Error" /> <!-- Element should begin with an uppercase letter. -->
120-
<Rule Id="SA1508" Action="Error" /> <!-- A closing brace should not be preceded by a blank line. -->
121-
<Rule Id="SA1008" Action="Error" /> <!-- Opening parenthesis should not be preceded by a space. -->
122-
<Rule Id="SA1508" Action="Error" /> <!-- A closing brace should not be preceded by a blank line. -->
123-
<Rule Id="SA1008" Action="Error" /> <!-- Opening parenthesis should not be preceded by a space. -->
124-
<Rule Id="SA1505" Action="Error" /> <!-- An opening brace should not be followed by a blank line. -->
125-
<Rule Id="SA1114" Action="Error" /> <!-- Parameter list should follow declaration. -->
126-
<Rule Id="SA1642" Action="Error" /> <!-- Constructor summary documentation should begin with standard text. -->
127-
<Rule Id="SA1611" Action="Error" /> <!-- The documentation for parameter is missing. -->
128-
<Rule Id="SA1306" Action="Error" /> <!-- Field should begin with lower-case letter. -->
129-
<Rule Id="SA1618" Action="Error" /> <!-- The documentation for type parameter is missing. -->
130-
<Rule Id="SA1638" Action="Error" /> <!-- File header file name documentation should match file name. -->
131-
<Rule Id="SA1124" Action="Error" /> <!-- Do not use regions. -->
132-
<Rule Id="SA1210" Action="Error" /> <!-- Using directives should be ordered alphabetically by the namespaces. -->
133-
<Rule Id="SA1209" Action="Error" /> <!-- Using alias directives should be placed after all using namespace directives. -->
134-
<Rule Id="SA1001" Action="Error" /> <!-- Commas should be followed by whitespace. -->
135-
<Rule Id="SA1024" Action="Error" /> <!-- Colon should be preceded by a space. -->
136-
<Rule Id="SA1003" Action="Error" /> <!-- Operator should be preceded by whitespace. -->
137-
<Rule Id="SA1638" Action="Error" /> <!-- File header file name documentation should match file name. -->
138-
<Rule Id="SA1111" Action="Error" /> <!-- Closing parenthesis should be on line of last parameter. -->
139-
<Rule Id="SA1009" Action="Error" /> <!-- Closing parenthesis should not be preceded by a space. -->
140-
<Rule Id="SA1518" Action="Error" /> <!-- Code should not contain blank lines at the end of the file. -->
141-
<Rule Id="SA1517" Action="Error" /> <!-- Code should not contain blank lines at start of file. -->
142-
<Rule Id="SA1634" Action="Error" /> <!-- The file header should contain a copyright tag. -->
143-
<Rule Id="SA1623" Action="Error" /> <!-- The property's documentation summary text should begin with: 'Gets or sets a value indicating whether'. -->
144-
<Rule Id="SA1014" Action="Error" /> <!-- Opening generic brackets should not be preceded by a space. -->
145-
<Rule Id="SA1615" Action="Error" /> <!-- Element return value should be documented. -->
146-
<Rule Id="SA1119" Action="Error" /> <!-- Statement should not use unnecessary parenthesis. -->
147-
<Rule Id="SA1615" Action="Error" /> <!-- Element return value should be documented. -->
148-
<Rule Id="SA1506" Action="Error" /> <!-- Element documentation headers should not be followed by blank line. -->
149-
<Rule Id="SA1012" Action="Error" /> <!-- Opening brace should be preceded by a space. -->
150-
<Rule Id="SA1002" Action="Error" /> <!-- Semicolons should be followed by a space. -->
151-
<Rule Id="SA1025" Action="Error" /> <!-- Code should not contain multiple whitespace characters in a row. -->
152-
<Rule Id="SA1606" Action="Error" /> <!-- Element documentation should have summary text. -->
153-
<Rule Id="SA1614" Action="Error" /> <!-- Element parameter documentation should have text. -->
154-
<Rule Id="SA1616" Action="Error" /> <!-- Element return value documentation should have text. -->
155-
<Rule Id="SA1503" Action="Error" /> <!-- Braces should not be omitted. -->
156-
<Rule Id="SA1312" Action="Error" /> <!-- Variable should begin with lower-case letter. -->
157-
<Rule Id="SA1625" Action="Error" /> <!-- Element documentation should not be copied and pasted. -->
158-
<Rule Id="SA1400" Action="Error" /> <!-- Element should declare an access modifier. -->
159-
<Rule Id="SA1137" Action="Error" /> <!-- Elements should have the same indentation. -->
160-
<Rule Id="SA1313" Action="Error" /> <!-- Parameter should begin with lower-case letter. -->
161-
<Rule Id="SA1514" Action="Error" /> <!-- Element documentation header should be preceded by blank line. -->
162-
<Rule Id="SA1313" Action="Error" /> <!-- Parameter should begin with lower-case letter. -->
163-
<Rule Id="SA1121" Action="Error" /> <!-- Use built-in type alias. -->
164-
<Rule Id="SA1310" Action="Error" /> <!-- Field should not contain an underscore. -->
165-
<Rule Id="SA1107" Action="Error" /> <!-- Code should not contain multiple statements on one line. -->
166-
<Rule Id="SA1106" Action="Error" /> <!-- Code should not contain empty statements. -->
167-
<Rule Id="SA1510" Action="Error" /> <!-- Statement should not be preceded by a blank line. -->
168-
<Rule Id="SA1136" Action="Error" /> <!-- Enum values should be on separate lines. -->
169-
<Rule Id="SA1307" Action="Error" /> <!-- Field should begin with upper-case letter. -->
170-
<Rule Id="SA1131" Action="Error" /> <!-- Constant values should appear on the right-hand side of comparisons. -->
171-
<Rule Id="SA1314" Action="Error" /> <!-- Type parameter names should begin with T. -->
72+
<Rule Id="SA0001" Action="Error" />
73+
<Rule Id="SA1000" Action="Error" />
74+
<Rule Id="SA1001" Action="Error" />
75+
<Rule Id="SA1002" Action="Error" />
76+
<Rule Id="SA1003" Action="Error" />
77+
<Rule Id="SA1004" Action="Error" />
78+
<Rule Id="SA1005" Action="Error" />
79+
<Rule Id="SA1008" Action="Error" />
80+
<Rule Id="SA1009" Action="Error" />
81+
<Rule Id="SA1012" Action="Error" />
82+
<Rule Id="SA1013" Action="Error" />
83+
<Rule Id="SA1014" Action="Error" />
84+
<Rule Id="SA1024" Action="Error" />
85+
<Rule Id="SA1025" Action="Error" />
86+
<Rule Id="SA1028" Action="Error" />
87+
<Rule Id="SA1101" Action="Error" />
88+
<Rule Id="SA1106" Action="Error" />
89+
<Rule Id="SA1107" Action="Error" />
90+
<Rule Id="SA1108" Action="Error" />
91+
<Rule Id="SA1111" Action="Error" />
92+
<Rule Id="SA1114" Action="Error" />
93+
<Rule Id="SA1116" Action="Error" />
94+
<Rule Id="SA1117" Action="Error" />
95+
<Rule Id="SA1118" Action="Error" />
96+
<Rule Id="SA1119" Action="Error" />
97+
<Rule Id="SA1121" Action="Error" />
98+
<Rule Id="SA1122" Action="Error" />
99+
<Rule Id="SA1124" Action="Error" />
100+
<Rule Id="SA1127" Action="Error" />
101+
<Rule Id="SA1128" Action="Error" />
102+
<Rule Id="SA1131" Action="Error" />
103+
<Rule Id="SA1132" Action="Error" />
104+
<Rule Id="SA1133" Action="Error" />
105+
<Rule Id="SA1136" Action="Error" />
106+
<Rule Id="SA1137" Action="Error" />
107+
<Rule Id="SA1200" Action="Error" />
108+
<Rule Id="SA1201" Action="Error" />
109+
<Rule Id="SA1202" Action="Error" />
110+
<Rule Id="SA1203" Action="Error" />
111+
<Rule Id="SA1204" Action="Error" />
112+
<Rule Id="SA1208" Action="Error" />
113+
<Rule Id="SA1209" Action="Error" />
114+
<Rule Id="SA1210" Action="Error" />
115+
<Rule Id="SA1214" Action="Error" />
116+
<Rule Id="SA1300" Action="Error" />
117+
<Rule Id="SA1306" Action="Error" />
118+
<Rule Id="SA1307" Action="Error" />
119+
<Rule Id="SA1309" Action="Error" />
120+
<Rule Id="SA1310" Action="Error" />
121+
<Rule Id="SA1312" Action="Error" />
122+
<Rule Id="SA1313" Action="Error" />
123+
<Rule Id="SA1314" Action="Error" />
124+
<Rule Id="SA1400" Action="Error" />
125+
<Rule Id="SA1401" Action="Error" />
126+
<Rule Id="SA1402" Action="Error" />
127+
<Rule Id="SA1404" Action="Error" />
128+
<Rule Id="SA1407" Action="Error" />
129+
<Rule Id="SA1413" Action="Error" />
130+
<Rule Id="SA1500" Action="Error" />
131+
<Rule Id="SA1501" Action="Error" />
132+
<Rule Id="SA1502" Action="Error" />
133+
<Rule Id="SA1503" Action="Error" />
134+
<Rule Id="SA1505" Action="Error" />
135+
<Rule Id="SA1506" Action="Error" />
136+
<Rule Id="SA1507" Action="Error" />
137+
<Rule Id="SA1508" Action="Error" />
138+
<Rule Id="SA1510" Action="Error" />
139+
<Rule Id="SA1512" Action="Error" />
140+
<Rule Id="SA1513" Action="Error" />
141+
<Rule Id="SA1514" Action="Error" />
142+
<Rule Id="SA1515" Action="Error" />
143+
<Rule Id="SA1516" Action="Error" />
144+
<Rule Id="SA1517" Action="Error" />
145+
<Rule Id="SA1518" Action="Error" />
146+
<Rule Id="SA1600" Action="Error" />
147+
<Rule Id="SA1601" Action="Error" />
148+
<Rule Id="SA1602" Action="Error" />
149+
<Rule Id="SA1604" Action="Error" />
150+
<Rule Id="SA1606" Action="Error" />
151+
<Rule Id="SA1611" Action="Error" />
152+
<Rule Id="SA1612" Action="Error" />
153+
<Rule Id="SA1614" Action="Error" />
154+
<Rule Id="SA1615" Action="Error" />
155+
<Rule Id="SA1616" Action="Error" />
156+
<Rule Id="SA1618" Action="Error" />
157+
<Rule Id="SA1623" Action="Error" />
158+
<Rule Id="SA1625" Action="Error" />
159+
<Rule Id="SA1629" Action="Error" />
160+
<Rule Id="SA1633" Action="None" />
161+
<Rule Id="SA1634" Action="None" />
162+
<Rule Id="SA1635" Action="None" />
163+
<Rule Id="SA1636" Action="None" />
164+
<Rule Id="SA1637" Action="None" />
165+
<Rule Id="SA1638" Action="None" />
166+
<Rule Id="SA1640" Action="None" />
167+
<Rule Id="SA1641" Action="None" />
168+
<Rule Id="SA1642" Action="Error" />
169+
<Rule Id="SA1649" Action="Error" />
172170
</Rules>
173171
</RuleSet>

0 commit comments

Comments
 (0)