-
Notifications
You must be signed in to change notification settings - Fork 35
/
.editorconfig
57 lines (41 loc) · 1.92 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
# EditorConfig is awesome:
http://EditorConfig.org
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# VSTHRD001: Avoid legacy thread switching APIs (deferred: https://github.com/dotnet/interactive-window/issues/179)
dotnet_diagnostic.VSTHRD001.severity = none
# VSTHRD002: Avoid problematic synchronous waits (deferred: https://github.com/dotnet/interactive-window/issues/180)
dotnet_diagnostic.VSTHRD002.severity = none
# VSTHRD003: Avoid awaiting foreign Tasks (deferred: https://github.com/dotnet/interactive-window/issues/181)
dotnet_diagnostic.VSTHRD003.severity = none
# VSTHRD103: Call async methods when in an async method (deferred: https://github.com/dotnet/interactive-window/issues/182)
dotnet_diagnostic.VSTHRD103.severity = none
# VSTHRD110: Observe result of async calls (deferred: https://github.com/dotnet/interactive-window/issues/183)
dotnet_diagnostic.VSTHRD110.severity = none
# VSTHRD114: Avoid returning a null Task (deferred: https://github.com/dotnet/interactive-window/issues/184)
dotnet_diagnostic.VSTHRD114.severity = none
# VSTHRD200: Use "Async" suffix for async methods (deferred: https://github.com/dotnet/interactive-window/issues/185)
dotnet_diagnostic.VSTHRD200.severity = none
[*.{sh}]
end_of_line = lf
indent_size = 2
[*.{ps1}]
indent_size = 2
# Code files
[*.cs,*.csx,*.vb,*.vbx]
indent_size = 4
# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
[*.{cs}]
file_header_template = Licensed to the.NET Foundation under one or more agreements.\nThe.NET Foundation licenses this file to you under the MIT license.\nSee the License.txt file in the project root for more information.