forked from TelegramBots/Telegram.Bot.Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
60 lines (44 loc) · 1.42 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# http://EditorConfig.org
# This file is the top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
#end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
# Solution Files
[*.sln]
indent_style = tab
# XML Project Files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# Configuration Files
[*.{json,xml,yml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
indent_size = 2
[*.cs]
# RCS1090: Call 'ConfigureAwait(false)'.
dotnet_diagnostic.RCS1090.severity = none
# CA1848: Use the LoggerMessage delegates
dotnet_diagnostic.CA1848.severity = silent
# CA1307: Specify StringComparison for clarity
dotnet_diagnostic.CA1307.severity = silent
# CA1849: Call async methods when in an async method
dotnet_diagnostic.CA1849.severity = silent
# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = silent
# CA1311: Specify a culture or use an invariant version
dotnet_diagnostic.CA1311.severity = silent
# CA1310: Specify StringComparison for correctness
dotnet_diagnostic.CA1310.severity = silent
# IDE0062: Make local function 'static'
dotnet_diagnostic.IDE0062.severity = silent
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = silent
# CA1031: Do not catch general exception types
dotnet_diagnostic.CA1031.severity = silent
[*.md]
trim_trailing_whitespace = false
indent_size = 2