-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.editorconfig
More file actions
23 lines (17 loc) · 636 Bytes
/
.editorconfig
File metadata and controls
23 lines (17 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[*.cs]
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = none
# CA2000: Dispose objects before losing scope
dotnet_diagnostic.CA2000.severity = suggestion
# var preferences
csharp_style_var_elsewhere = true:warning
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
[*.{cs,vb}]
tab_width=4
indent_size=4
# Code-block preferences - reflecting codacy defaults
csharp_prefer_braces = true:warning
# IDE0011: Add braces - reflecting codacy defaults
dotnet_diagnostic.IDE0011.severity = warning
dotnet_diagnostic.IDE0060.severity = error