-
Notifications
You must be signed in to change notification settings - Fork 11
/
Bencodex.ruleset
40 lines (39 loc) · 1.74 KB
/
Bencodex.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
<?xml version="1.0" encoding="utf-8"?>
<RuleSet
Name="Rules for Bencodex"
Description="Code analysis rules for Bencodex.csproj."
ToolsVersion="10.0">
<Rules
AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis"
RuleNamespace="Microsoft.Rules.Managed">
<!-- Using directive should appear outside a namespace declaration-->
<Rule Id="SA1200" Action="None" />
<!-- TODO: Write copyright -->
<Rule Id="SA1633" Action="None" />
<Rule Id="SA1652" Action="None" />
<!-- Allow field name to begin with an underscore. -->
<Rule Id="SA1309" Action="None" />
<!-- Allow an expression not to declare parenthese. -->
<Rule Id="SA1407" Action="None" />
<!-- Allow a rich text in a XML doc comment's <summary>. -->
<Rule Id="SA1462" Action="None" />
<Rule Id="SA1642" Action="None" />
<!-- Every property's docs doesn't have to start with "Gets", because
it's ridiculous. -->
<Rule Id="SA1623" Action="None" />
<!--Allow to call an instance member of the local class or a base class is
not prefixed with 'this.'. -->
<Rule Id="SA1101" Action="None" />
<!-- Allow block statements contain embedded comments. -->
<Rule Id="SA1108" Action="None" />
<!-- Allow to use unnamed tuple types. -->
<Rule Id="SA1414" Action="None" />
<!--Allow closing parenthesis to be placed in new line. -->
<Rule Id="SA1009" Action="None" />
<Rule Id="SA1111" Action="None" />
<!-- TODO: Documentation -->
<Rule Id="SA1600" Action="None" />
<Rule Id="SA1601" Action="None" />
<Rule Id="SA0001" Action="None" />
</Rules>
</RuleSet>