@@ -3,6 +3,7 @@ root = true
3
3
# All files
4
4
[* ]
5
5
indent_style = space
6
+ max_line_length = 120
6
7
7
8
# Xml files
8
9
[* .xml ]
@@ -21,56 +22,46 @@ tab_width = 4
21
22
end_of_line = crlf
22
23
insert_final_newline = true
23
24
24
- # ### Custom StyleCop Rules ####
25
- # https://rules.sonarsource.com/csharp/RSPEC-6608/
26
- dotnet_diagnostic.S6608.severity = None
27
-
28
- # https://rules.sonarsource.com/csharp/RSPEC-112/
29
- dotnet_diagnostic.S112.severity = None
30
-
31
- # https://rules.sonarsource.com/csharp/RSPEC-3925/
32
- dotnet_diagnostic.S3925.severity = None
33
-
34
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA0001.md
35
- dotnet_diagnostic.SA0001.severity = None
36
-
37
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1101.md
38
- dotnet_diagnostic.SA1101.severity = None
39
-
40
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1200.md
41
- dotnet_diagnostic.SA1200.severity = None
42
-
43
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1309.md
44
- dotnet_diagnostic.SA1309.severity = None
45
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SX1309.md
46
- dotnet_diagnostic.SX1309.severity = Warning
47
-
48
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1600.md
49
- dotnet_diagnostic.SA1600.severity = None
50
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1601.md
51
- dotnet_diagnostic.SA1601.severity = None
52
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1623.md
53
- dotnet_diagnostic.SA1623.severity = None
54
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md
55
- dotnet_diagnostic.SA1633.severity = None
56
-
57
- # ### Controller Specific Rules ####
58
- [MumbleApi/Controller/** .cs ]
59
-
60
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1611.md
61
- dotnet_diagnostic.SA1611.severity = None
62
-
63
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1615.md
64
- dotnet_diagnostic.SA1615.severity = None
65
-
66
- # ### Model Specific Rules ####
67
- [MumbleApi/Models/** .cs ]
68
-
69
- # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1629.md
70
- dotnet_diagnostic.SA1629.severity = None
25
+ # ### Custom Analyzer Rules ####
26
+ dotnet_diagnostic.SA0001.severity = none
27
+ dotnet_diagnostic.SA1010.severity = none
28
+ dotnet_diagnostic.SA1600.severity = none
29
+ dotnet_diagnostic.CS1591.severity = none
30
+ dotnet_diagnostic.SA1008.severity = suggestion
31
+ dotnet_diagnostic.SA1009.severity = suggestion
32
+ dotnet_diagnostic.SA1101.severity = none
33
+ dotnet_diagnostic.SA1106.severity = suggestion
34
+ dotnet_diagnostic.SA1118.severity = none
35
+ dotnet_diagnostic.SX1101.severity = suggestion
36
+ dotnet_diagnostic.SA1309.severity = none
37
+ dotnet_diagnostic.SX1309.severity = warning
38
+ dotnet_diagnostic.SA1313.severity = suggestion
39
+ dotnet_diagnostic.SA1501.severity = suggestion
40
+ dotnet_diagnostic.SA1503.severity = suggestion
41
+ dotnet_diagnostic.SA1611.severity = none
42
+ dotnet_diagnostic.SA1615.severity = none
43
+ dotnet_diagnostic.SA1623.severity = none
44
+ dotnet_diagnostic.SA1629.severity = none
45
+ dotnet_diagnostic.SA1633.severity = none
46
+ dotnet_diagnostic.SA1642.severity = none
47
+ dotnet_diagnostic.SA1643.severity = none
48
+ dotnet_diagnostic.SA1649.severity = none
49
+ dotnet_diagnostic.SA1651.severity = none
50
+ dotnet_diagnostic.RCS1029.severity = none
51
+ dotnet_diagnostic.RCS1090.severity = none
52
+
53
+ # ### Custom Coding Conventions ####
54
+ resharper_csharp_space_in_singleline_accessorholder = true
55
+ resharper_csharp_space_between_accessors_in_singleline_property = true
56
+ resharper_csharp_space_in_singleline_method = true
57
+ resharper_csharp_space_in_singleline_anonymous_method = true
58
+ resharper_csharp_space_within_single_line_array_initializer_braces = true
59
+ resharper_csharp_trailing_comma_in_multiline_lists = true
60
+ resharper_csharp_place_type_attribute_on_same_line = false
61
+ resharper_csharp_place_attribute_on_same_line = false
71
62
72
63
# ### .NET Coding Conventions ####
73
- [* .cs ]
64
+ [* .{cs,vb} ]
74
65
75
66
# Organize usings
76
67
dotnet_separate_import_directive_groups = true
@@ -123,6 +114,7 @@ dotnet_code_quality_unused_parameters = all:suggestion
123
114
dotnet_remove_unnecessary_suppression_exclusions = none
124
115
125
116
# ### C# Coding Conventions ####
117
+ [* .cs ]
126
118
127
119
# var preferences
128
120
csharp_style_var_elsewhere = false :silent
@@ -219,6 +211,7 @@ csharp_preserve_single_line_blocks = true
219
211
csharp_preserve_single_line_statements = true
220
212
221
213
# ### Naming styles ####
214
+ [* .{cs,vb} ]
222
215
223
216
# Naming rules
224
217
0 commit comments