-
Notifications
You must be signed in to change notification settings - Fork 559
/
.editorconfig
38 lines (30 loc) · 1.14 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
# The EditorConfig project consists of a file format for defining coding styles
# and a collection of text editor plugins that enable editors to read the file format
# and adhere to defined styles.
# EditorConfig files are read top to bottom and the closest EditorConfig files are read last.
# Properties from matching EditorConfig sections are applied in the order they were read,
# so properties in closer files take precedence.
# Please only specify the formats you want to apply through out the project in this file.
# Otherwise, please create new config file in your directory where you want to apply these styles.
# More details about EditorConfig: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
# 4 space indentation
indent_style = space
indent_size = 4
# Unix-style newlines with a newline ending every file
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
# Formats for markdown files only
[*.md]
trim_trailing_whitespace = false
# Formats for HTML files only
[**.html]
insert_final_newline = false
[{*.yml, *.yaml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true