forked from y-crdt/ydotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
36 lines (26 loc) · 1.14 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
[*.cs]
# Charset
charset = utf-8
# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4
# New line preferences
end_of_line = lf
insert_final_newline = true
# StyleCop rules (https://dotnetanalyzers.github.io/StyleCopAnalyzers/)
# Special rules
dotnet_diagnostic.SA0001.severity = none # XML comment analysis disabled
# Spacing rules
dotnet_diagnostic.SA1003.severity = suggestion # Symbols should be spaced correctly
dotnet_diagnostic.SA1008.severity = suggestion # Opening parenthesis should be spaced correctly
dotnet_diagnostic.SA1009.severity = suggestion # Closing parenthesis should be spaced correctly
# Readability rules
dotnet_diagnostic.SA1101.severity = suggestion # Prefix local calls with this
# Ordering rules
dotnet_diagnostic.SA1200.severity = suggestion # Using directives should be placed correctly
# Maintainability rules
dotnet_diagnostic.SA1407.severity = suggestion # Arithmetic expressions should declare precedence
dotnet_diagnostic.SA1413.severity = suggestion # Use trailing comma in multi-line initializers
# Documentation rules
dotnet_diagnostic.SA1633.severity = suggestion # File should have header