-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
51 lines (39 loc) · 893 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
51
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
; Top-level editorconfig file for this project.
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
# See Google Shell Style Guide
# https://google.github.io/styleguide/shell.xml
[*.sh]
indent_size = 2 # shfmt: like -i 2
insert_final_newline = true
switch_case_indent = true # shfmt: like -ci
[*.py]
insert_final_newline = true
indent_size = 4
max_line_length = 120
[*.md]
trim_trailing_whitespace = false
indent_size = 4
[*.yml]
indent_size = 2
[Makefile]
indent_style = tab
[*.js]
indent_size = 4
insert_final_newline = true
[*.ts]
insert_final_newline = true
[*.scss]
insert_final_newline = true
[*.json]
indent_size = 2
[*.html]
insert_final_newline = true