-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
52 lines (40 loc) · 915 Bytes
/
.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
# 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,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
# Powershell files
[*.ps1]
indent_size = 2
# Shell script files
[*.sh]
end_of_line = lf
indent_size = 2
[*.nix]
end_of_line = lf
indent_size = 2
[build.config]
end_of_line = lf
# YAML looks best with 2 spaces
[*.{yml,yaml}]
indent_size = 2
[{.envrc}]
end_of_line = lf