-
Notifications
You must be signed in to change notification settings - Fork 523
/
.editorconfig
38 lines (29 loc) · 636 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
# EditorConfig is awesome: https://EditorConfig.org
# https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
root = true
[*]
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
[*.{js,json,ts,tsx,yml,yaml}]
indent_style = space
indent_size = 2
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
[*.{md,markdown,txt}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 4
[*.md]
max_line_length = 120
[*.{html,xml}]
indent_size = 4
indent_style = space
[*.{sh,bash}]
indent_size = 2
indent_style = space