-
Notifications
You must be signed in to change notification settings - Fork 37
/
.editorconfig
56 lines (45 loc) · 1.23 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
# editorconfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
# Generated code
[*{_AssemblyInfo.cs,.notsupported.cs,.Generated.cs}]
generated_code = true
# C# files
[*.cs]
charset = utf-8
file_header_template = -------------------------------------------------------------------------------------------------\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License (MIT). See LICENSE in the repo root for license information.\n-------------------------------------------------------------------------------------------------
# Xml project files
[*.{csproj,dcproj}]
charset = utf-8
indent_size = 2
# Xml files
[*.{xml,resx}]
charset = utf-8
indent_size = 2
# Xml config files
[*.{props,targets,config,nuspec}]
charset = utf-8
indent_size = 2
# JSON files
[*.json]
charset = utf-8
indent_size = 2
# YAML files
[*.{yml,yaml}]
charset = utf-8
indent_size = 2
# Shell scripts
[*.sh]
charset = utf-8
end_of_line = lf
[*.{cmd,bat}]
charset = utf-8
end_of_line = crlf