forked from microsoft/qsharp-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
56 lines (46 loc) · 3.17 KB
/
.editorconfig
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
root = true
[*]
indent_style = space
insert_final_newline = true
[*.cs]
indent_size = 4
trim_trailing_whitespace = true
dotnet_style_qualification_for_event = true:suggestion
dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_diagnostic.IDE0002.severity = warning # Name can be simplified
# StyleCop: Special Rules
dotnet_diagnostic.SA0001.severity = none # XML comment analysis disabled
# StyleCop: Readability Rules
dotnet_diagnostic.SA1118.severity = none # Parameter should not span multiple lines
dotnet_diagnostic.SA1122.severity = none # Use string.Empty for empty strings
dotnet_diagnostic.SA1127.severity = none # Generic type constraints should be on their own line
dotnet_diagnostic.SA1128.severity = none # Put constructor initializers on their own line
dotnet_diagnostic.SA1135.severity = none # Using directives should be qualified
# StyleCop: Ordering Rules
dotnet_diagnostic.SA1201.severity = none # Elements should appear in the correct order
dotnet_diagnostic.SA1202.severity = none # Elements should be ordered by access
dotnet_diagnostic.SA1203.severity = none # Constants should appear before fields
dotnet_diagnostic.SA1204.severity = none # Static members should appear before non-static members
dotnet_diagnostic.SA1214.severity = none # Readonly fields should appear before non-readonly fields
# StyleCop: Maintainability Rules
dotnet_diagnostic.SA1401.severity = none # Fields should be private
dotnet_diagnostic.SA1402.severity = none # File may only contain a single type
dotnet_diagnostic.SA1405.severity = none # Debug.Assert should provide message text
dotnet_diagnostic.SA1413.severity = none # Use trailing comma in multi-line initializers
dotnet_diagnostic.SA1414.severity = none # Tuple types in signatures should have element names
# StyleCop: Layout Rules
dotnet_diagnostic.SA1512.severity = none # Single-line comments should not be followed by blank line
dotnet_diagnostic.SA1513.severity = none # Closing brace should be followed by blank line
dotnet_diagnostic.SA1515.severity = none # Single-line comment should be preceded by blank line
# StyleCop: Documentation Rules
dotnet_diagnostic.SA1611.severity = none # Element parameters should be documented
dotnet_diagnostic.SA1612.severity = none # Element parameter documentation should match element parameters
dotnet_diagnostic.SA1615.severity = none # Element return value should be documented
dotnet_diagnostic.SA1618.severity = none # Generic type parameters should be documented
dotnet_diagnostic.SA1623.severity = none # Property summary documentation should match accessors
dotnet_diagnostic.SA1629.severity = none # Documentation text should end with a period
dotnet_diagnostic.SA1633.severity = none # File should have header
dotnet_diagnostic.SA1642.severity = none # Constructor summary documentation should begin with standard text
dotnet_diagnostic.SA1649.severity = none # File name should match first type name