-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylecop.ruleset
More file actions
25 lines (24 loc) · 1.78 KB
/
stylecop.ruleset
File metadata and controls
25 lines (24 loc) · 1.78 KB
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
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Custom Ruleset" Description="Custom Ruleset" ToolsVersion="16.0">
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA1009" Action="None"/> <!-- Disable A closing parenthesis within a C# statement is not spaced correctly Rules-->
<Rule Id="SA1135" Action="None"/> <!-- Disable A using directive is not qualified. Rules-->
<Rule Id="SA1503" Action="None"/> <!-- Disable BracesMustNotBeOmitted -->
<Rule Id="SA1520" Action="None"/> <!-- Disable The opening and closing braces of a chained Rules-->
<Rule Id="SA1633" Action="None"/> <!-- Disable File should have header-->
<Rule Id="SA1201" Action="Error"/> <!-- Elements should appear in the correct order -->
<Rule Id="SA1202" Action="Error"/> <!-- Elements should be ordered by access -->
<Rule Id="SA1203" Action="Error"/> <!-- Constants should appear before fields -->
<Rule Id="SA1204" Action="Error"/> <!-- Static elements should appear before instance elements -->
<Rule Id="SA1206" Action="Error"/> <!-- Declaration Keywords Must Follow Order-->
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
<Rule Id="IDE0011" Action="None"/> <!-- Disable Add braces to 'if' statement -->
</Rules>
<Rules AnalyzerId="Godot" RuleNamespace="GdUnit4.Examples">
<Rule Id="CA2000" Action="None"/> <!-- Disable Dispose objects before losing scope -->
<Rule Id="CA2007" Action="None"/> <!-- Disable Do not directly await a Task -->
<Rule Id="CA1711" Action="None"/> <!-- Disable Identifiers should not have incorrect suffix -->
<Rule Id="SA1124" Action="None"/> <!-- Disable don't allow regions -->
</Rules>
</RuleSet>