-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathXToolkit.ruleset
executable file
·155 lines (155 loc) · 7.5 KB
/
XToolkit.ruleset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for Softeq.XToolkit" Description="Code analysis rules for Softeq.XToolkit." ToolsVersion="15.0">
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA2007" Action="Warning" /> <!-- Decorate all async calls with a `.ConfigureAwait(false);` suffix -->
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="None" />
<!-- <Rule Id="SA0002" Action="Error" /> -->
<!-- <Rule Id="SA1000" Action="Error" /> -->
<!-- <Rule Id="SA1001" Action="Error" /> -->
<!-- <Rule Id="SA1002" Action="Error" /> -->
<Rule Id="SA1003" Action="None" /> <!-- @ Error -->
<!-- <Rule Id="SA1004" Action="Error" /> -->
<!-- <Rule Id="SA1005" Action="Error" /> -->
<!-- <Rule Id="SA1006" Action="Error" /> -->
<!-- <Rule Id="SA1007" Action="Error" /> -->
<!-- <Rule Id="SA1008" Action="Error" /> -->
<Rule Id="SA1009" Action="None" /> <!-- @ Error -->
<!-- <Rule Id="SA1010" Action="Error" /> -->
<Rule Id="SA1011" Action="None" />
<!-- <Rule Id="SA1012" Action="Error" />
<Rule Id="SA1013" Action="Error" />
<Rule Id="SA1014" Action="Error" />
<Rule Id="SA1015" Action="Error" />
<Rule Id="SA1016" Action="Error" />
<Rule Id="SA1017" Action="Error" />
<Rule Id="SA1018" Action="Error" />
<Rule Id="SA1019" Action="Error" />
<Rule Id="SA1020" Action="Error" />
<Rule Id="SA1021" Action="Error" />
<Rule Id="SA1022" Action="Error" />
<Rule Id="SA1023" Action="Error" />
<Rule Id="SA1024" Action="Error" />
<Rule Id="SA1025" Action="Error" />
<Rule Id="SA1026" Action="Error" />
<Rule Id="SA1027" Action="Error" /> -->
<Rule Id="SA1028" Action="Warning" /> <!-- @ Error -->
<!-- <Rule Id="SA1100" Action="Error" /> -->
<Rule Id="SA1101" Action="None" /> <!-- Prefix local calls with this -->
<!-- <Rule Id="SA1102" Action="Error" /> -->
<Rule Id="SA1103" Action="None" /> <!-- !!! -->
<!-- <Rule Id="SA1104" Action="Error" /> -->
<!-- <Rule Id="SA1105" Action="Error" /> -->
<!-- <Rule Id="SA1106" Action="Error" /> -->
<!-- <Rule Id="SA1107" Action="Error" /> -->
<Rule Id="SA1108" Action="None" /> <!-- !!! -->
<Rule Id="SA1109" Action="None" /> <!-- !!! -->
<!-- <Rule Id="SA1110" Action="Error" /> -->
<!-- <Rule Id="SA1111" Action="Error" /> -->
<!-- <Rule Id="SA1112" Action="Error" /> -->
<!-- <Rule Id="SA1113" Action="Error" /> -->
<!-- <Rule Id="SA1114" Action="Error" /> -->
<!-- <Rule Id="SA1115" Action="Error" /> -->
<Rule Id="SA1116" Action="Warning" /> <!-- @ Error -->
<!-- <Rule Id="SA1117" Action="Error" /> -->
<!-- <Rule Id="SA1118" Action="Error" /> -->
<!-- <Rule Id="SA1119" Action="Error" /> -->
<!-- <Rule Id="SA1120" Action="Error" /> -->
<!-- <Rule Id="SA1121" Action="Error" /> -->
<!-- <Rule Id="SA1122" Action="Error" /> -->
<!-- <Rule Id="SA1123" Action="Error" /> -->
<Rule Id="SA1124" Action="None" /> <!-- DoNotUseRegions -->
<!-- <Rule Id="SA1125" Action="Error" /> -->
<Rule Id="SA1126" Action="None" />
<Rule Id="SA1127" Action="None" /> <!-- @ Error -->
<Rule Id="SA1128" Action="None" /> <!-- Constructor initializers should be on their own line -->
<!-- <Rule Id="SA1129" Action="Error" /> -->
<!-- <Rule Id="SA1130" Action="Error" /> -->
<!-- <Rule Id="SA1131" Action="Error" /> -->
<!-- <Rule Id="SA1132" Action="Error" /> -->
<!-- <Rule Id="SA1133" Action="Error" /> -->
<!-- <Rule Id="SA1134" Action="Error" /> -->
<!-- <Rule Id="SA1135" Action="Error" /> -->
<!-- <Rule Id="SA1136" Action="Error" /> -->
<!-- <Rule Id="SA1137" Action="Error" /> -->
<!-- <Rule Id="SA1139" Action="Error" /> -->
<Rule Id="SA1200" Action="None" />
<Rule Id="SA1201" Action="Warning" /> <!-- @ Error - ordering -->
<Rule Id="SA1202" Action="None" />
<!-- <Rule Id="SA1203" Action="Error" /> -->
<Rule Id="SA1204" Action="Warning" /> <!-- @ Error - ordering -->
<!-- <Rule Id="SA1205" Action="Error" /> -->
<!-- <Rule Id="SA1206" Action="Error" /> -->
<!-- <Rule Id="SA1207" Action="Error" /> -->
<!-- <Rule Id="SA1208" Action="Error" /> -->
<!-- <Rule Id="SA1209" Action="Error" /> -->
<!-- <Rule Id="SA1210" Action="Error" /> -->
<!-- <Rule Id="SA1211" Action="Error" /> -->
<!-- <Rule Id="SA1212" Action="Error" /> -->
<!-- <Rule Id="SA1213" Action="Error" /> -->
<!-- <Rule Id="SA1214" Action="Error" /> -->
<!-- <Rule Id="SA1215" Action="Error" /> -->
<!-- <Rule Id="SA1216" Action="Error" /> -->
<!-- <Rule Id="SA1217" Action="Error" /> -->
<!-- <Rule Id="SA1300" Action="Error" /> -->
<!-- <Rule Id="SA1301" Action="Error" /> -->
<!-- <Rule Id="SA1302" Action="Error" /> -->
<!-- <Rule Id="SA1303" Action="Error" /> -->
<!-- <Rule Id="SA1304" Action="Error" /> -->
<Rule Id="SA1306" Action="None" />
<!-- <Rule Id="SA1307" Action="Error" /> -->
<!-- <Rule Id="SA1308" Action="Error" /> -->
<Rule Id="SA1309" Action="None" />
<!-- <Rule Id="SA1311" Action="Error" /> -->
<!-- <Rule Id="SA1312" Action="Error" /> -->
<!-- <Rule Id="SA1313" Action="Error" /> -->
<!-- <Rule Id="SA1314" Action="Error" /> -->
<!-- <Rule Id="SA1400" Action="Error" /> -->
<Rule Id="SA1401" Action="None" /> <!-- @ Warning -->
<Rule Id="SA1402" Action="None" />
<!-- <Rule Id="SA1403" Action="Error" /> -->
<Rule Id="SA1407" Action="Warning" /> <!-- @ Warning -->
<!-- <Rule Id="SA1408" Action="Error" /> --> <!-- @ Warning -->
<!-- <Rule Id="SA1411" Action="Error" /> -->
<Rule Id="SA1412" Action="None" /> <!-- @ Error -->
<Rule Id="SA1413" Action="None" />
<!-- <Rule Id="SA1500" Action="Error" /> -->
<!-- <Rule Id="SA1501" Action="Error" /> -->
<Rule Id="SA1502" Action="Warning" /> <!-- !!! -->
<!-- <Rule Id="SA1504" Action="Error" /> -->
<!-- <Rule Id="SA1505" Action="Error" /> -->
<!-- <Rule Id="SA1506" Action="Error" /> -->
<!-- <Rule Id="SA1507" Action="Error" /> -->
<!-- <Rule Id="SA1508" Action="Error" /> -->
<!-- <Rule Id="SA1509" Action="Error" /> -->
<!-- <Rule Id="SA1510" Action="Error" /> -->
<!-- <Rule Id="SA1511" Action="Error" /> -->
<Rule Id="SA1512" Action="None" />
<Rule Id="SA1516" Action="None" /> <!-- @ Warning -->
<!-- <Rule Id="SA1517" Action="Error" /> -->
<!-- <Rule Id="SA1519" Action="Error" /> -->
<!-- <Rule Id="SA1520" Action="Error" /> -->
<Rule Id="SA1600" Action="None" /> <!-- @ Warning -->
<Rule Id="SA1601" Action="None" />
<Rule Id="SA1602" Action="None" />
<!-- <Rule Id="SA1603" Action="Error" /> -->
<Rule Id="SA1609" Action="None" />
<!-- <Rule Id="SA1630" Action="Error" /> -->
<!-- <Rule Id="SA1641" Action="Error" /> -->
<Rule Id="SA1642" Action="Warning" />
<!-- <Rule Id="SA1643" Action="Error" /> -->
<!-- <Rule Id="SA1644" Action="Error" /> -->
<!-- <Rule Id="SA1645" Action="Error" /> -->
<!-- <Rule Id="SA1646" Action="Error" /> -->
<!-- <Rule Id="SA1647" Action="Error" /> -->
<!-- <Rule Id="SA1648" Action="Error" /> -->
<Rule Id="SA1649" Action="Warning" /> <!-- @ Error -->
<!-- <Rule Id="SA1650" Action="Error" /> -->
<!-- <Rule Id="SA1651" Action="Error" /> -->
<!-- <Rule Id="SX1101" Action="Error" /> -->
<Rule Id="SX1309" Action="Warning" /> <!-- @ Error -->
<!-- <Rule Id="SX1309S" Action="Error" /> -->
</Rules>
</RuleSet>