-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.editorconfig
More file actions
42 lines (33 loc) · 739 Bytes
/
.editorconfig
File metadata and controls
42 lines (33 loc) · 739 Bytes
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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
charset = utf-8
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# Code files
[*.{cs,csx}]
indent_size = 4
insert_final_newline = true
# visual studio seems to have issues with utf-8
charset = utf-8-bom
# XML project files
[*.{csproj,ilproj,proj}]
indent_size = 2
# XML config files
[*.{props,targets,config,nuspec}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# Powershell files
[*.ps1]
indent_size = 2
# Shell script files
[*.sh]
end_of_line = lf
indent_size = 2
# YAML looks best with 2 spaces
[*.{yml,yaml}]
indent_size = 2