-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.editorconfig
50 lines (42 loc) · 900 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
46
47
48
49
50
;.editorconfig
[**.js,**.jsx,**.ts,**.tsx]
bin=node
indent_style = space
indent_size = 2
jslint_happy = 1
keep_array_indentation = 1
keep_function_indentation = 1
space_before_conditional = 1
break_chained_methods = 0
chain_extra_indentation = 1
indent_style = space
preserve_newlines = 1
max_preserve_newlines = 2
charset = utf8
[**.json]
indent_style = space
indent_size = 2
[**.css,**.scss,**.less]
indent_style = space
indent_size = 2
[**.html, **.erb, **.hbs]
; Using special comments
; And such comments or apply only in global configuration
; So it's best to avoid them
;vim:max_char=78:brace_style=expand
indent_style = space
indent_size = 2
[**.py]
indent_style = space
indent_size = 4
[**.php]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[**.md]
trim_trailing_whitespace = false
; Golang
[*.go]
indent_style = tab
indent_size = 4