-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.editorconfig
38 lines (29 loc) · 959 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
36
37
38
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
[*.{html,config,csproj,targets,props,yml}]
indent_size = 2
[{package,appsettings*}.json]
indent_size = 2
[*.cs]
csharp_new_line_before_open_brace = none
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = true:warning
# IDE0044: Add readonly modifier
dotnet_style_readonly_field = true:warning
# IDE0005: Using directive is unnecessary.
dotnet_diagnostic.IDE0005.severity = warning
# IDE0090: 'new' expression can be simplified.
dotnet_diagnostic.IDE0090.severity = warning
# Performance Sensitive Analyzers
dotnet_diagnostic.HAA0501.severity = warning
dotnet_diagnostic.HAA0502.severity = warning
dotnet_diagnostic.HAA0503.severity = warning