-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
39 lines (29 loc) · 879 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
# .editorconfig helps developers define and maintain consistent coding
# styles between different editors and IDEs
# for more information about the properties used in this file, please see
# the .editorconfig documentation: http://editorconfig.org/
# this is the top-most .editorconfig file; do not search parent directories
root = true
# applied to all files
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{html,php,txt}]
indent_style = tab
indent_size = 4
[*.sh]
indent_style = tab
indent_size = 8
[*.{html,txt}]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
# the indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{.travis.yml,package.json}]
indent_size = 2
indent_style = space