-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.editorconfig
36 lines (25 loc) · 1.19 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
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
# 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]
# CA1054: Uri parameters should not be strings
dotnet_diagnostic.CA1054.severity = none # Asp.Net Core uses strings natively, and is easier to manipulate strings
# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = none # I choose if use upper or lower case
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = none # I like underscores into constants name
# CA1812: Avoid uninstantiated internal classes
dotnet_diagnostic.CA1812.severity = none # Doing extensive use of Dependency Injection
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = none # Not needed with .Net Core. More info https://devblogs.microsoft.com/dotnet/configureawait-faq/
# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = none