forked from GitTools/GitReleaseManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
45 lines (35 loc) · 962 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
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://EditorConfig.org
root = true
# Keep this file simple, only basic formatting should be
# defined here.
# Code styles should be defined in src/.editorconfig
[*]
charset = utf-8 # Just for consistency
# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4
# New line preferences
end_of_line = crlf
insert_final_newline = false
trim_trailing_whitespace = true
[*.sh]
end_of_line = lf
[*.sln]
# Visual studio defaults
insert_final_newline = true
indent_style = tab
[*.md]
trim_trailing_whitespace = false
insert_final_newline = true # Conflicts with markdownlint when false
indent_size = 2 # Incorrect indentation happens when this is not 2
[*.{yml,yaml}]
indent_size = 2 # Incorrect indentation happens when this is not 2
[*.ps1]
charset = utf-8-bom
indent_style = space
indent_size = 2
[*.js]
indent_style = tab
indent_size = 2