-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
35 lines (24 loc) · 943 Bytes
/
.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
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
#### Define style ####
# All files
[*]
indent_style = space
# C# Project files
[*.csproj]
indent_size = 2
#### Suppress warnings ####
# C# files
[*.cs]
# CA1034: Nested types should not be visible
dotnet_diagnostic.CA1034.severity = none
# CA1063: Implement IDisposable Correctly
dotnet_diagnostic.CA1063.severity = none
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = none # Don't need translated exceptions
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = none # I want to use underscore in constants
# CA1812: Avoid uninstantiated internal classes
dotnet_diagnostic.CA1812.severity = none # Doing extensive use of Dependency Injection
# CA1816: Dispose methods should call SuppressFinalize
dotnet_diagnostic.CA1816.severity = none