-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.editorconfig
45 lines (34 loc) · 820 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
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[/bins/sub/*]
indent_style = tab
[/configs/git/*]
indent_size = 4
[{Dockerfile,Dockerfile.*,*.dockerfile}]
indent_style = space
indent_size = 2
[.gitmodules]
indent_style = tab
[*.lua]
indent_style = tab
# Below options used by [LuaLS](https://github.com/LuaLS/lua-language-server)
# https://github.com/CppCXY/EmmyLuaCodeStyle/blob/master/lua.template.editorconfig
align_array_table = false
[*.{js,jsx,ts}]
; this option just works with prettier, not implemented with editorconfig
max_line_length = 100
indent_style = tab
[*.{go,mod}]
indent_style = tab
[bin]
indent_style = tab
[*.{diff,md}]
trim_trailing_whitespace = false
[{Makefile,*.mk}]
indent_style = tab