-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
64 lines (52 loc) · 1.31 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
61
62
63
64
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
end_of_line = crlf
indent_style = space
#indent_size = 4
# (Please don't specify an indent_size here; that has too many unintended consequences.)
insert_final_newline = false
trim_trailing_whitespace = true
# Neolution.CodeAnalysis rules
dotnet_diagnostic.S1200.severity = none
dotnet_diagnostic.S1694.severity = none
dotnet_diagnostic.S3358.severity = none
dotnet_diagnostic.S3956.severity = none
dotnet_diagnostic.S4049.severity = none
# Solution Files
[*.sln]
indent_size = 4
indent_style = tab
# XML Project Files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,esproj}]
indent_size = 2
# Configuration Files
[*.{json,xml,yml,config,props,targets,nuspec,resx,ruleset,js}]
indent_size = 2
# .NET Config Files
[*.{config}]
indent_size = 4
charset = utf-8-bom
# Markdown Files
[*.md]
trim_trailing_whitespace = false
# Web Files
[*.{htm,html,ts,css,scss,less}]
indent_size = 4
insert_final_newline = true
# Razor Files
[*.cshtml]
indent_size = 4
charset = utf-8-bom
# Bash Files
[*.sh]
indent_size = 4
end_of_line = lf
# Dotnet Code Files
[*.{cs,csx,cake,vb}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom