-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
57 lines (48 loc) · 993 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
52
53
54
55
56
57
# This is the highest level config
root = true
# Default settings
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
# Git commit messages
[COMMIT_EDITMSG]
max_line_length = 72
# Git merge messages
[MERGE_MSG]
max_line_length = 72
# Git tag messages
[TAG_EDITMSG]
max_line_length = 72
# Markdown files
[*.md]
max_line_length = unset
# Shell scripts
[*.sh]
indent_style = space
indent_size = 4
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false
function_next_line = false
# Should be kept same as *.sh above
[scripts/*]
indent_style = space
indent_size = 4
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false
function_next_line = false
# github workflow files
[.github/workflows/*.yml]
max_line_length = unset
# hardware info files
[hwinfo/*]
max_line_length = unset