-
-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy path.editorconfig
More file actions
35 lines (29 loc) · 751 Bytes
/
.editorconfig
File metadata and controls
35 lines (29 loc) · 751 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
# With more recent updates Visual Studio 2017 supports EditorConfig files out of the box
# Visual Studio Code needs an extension: https://github.com/editorconfig/editorconfig-vscode
# For emacs, vim, np++ and other editors, see here: https://github.com/editorconfig
###############################
# Core EditorConfig Options #
###############################
root = true
# All files
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = 9999
# YAML indentation
[*.{yml,yaml}]
indent_size = 2
# XML indentation
[*.xml]
indent_size = 2
indent_style = tab
# JSON indentation
[*.json]
indent_size = 2
indent_style = tab
[README.md]
indent_size = 2