-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
39 lines (34 loc) · 922 Bytes
/
.editorconfig
File metadata and controls
39 lines (34 loc) · 922 Bytes
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
root = true
# (file type independent) defaults
[*]
# widely supported by editors
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = true
# supported by a limited number of editors
max_line_length = 80
# make / automake
[{{M,m}akefile{.in}?,*.am}]
indent_style = tab
# markdown
[*.md{.in}?]
indent_size = 2
trim_trailing_whitespace = false
# shellscript
[*.{ba,da,c,k,tc?,z}?sh{.in}?]
indent_size = 4
indent_style = space
# shfmt
binary_next_line = true
function_next_line = false
keep_padding = false
shell_variant = auto
space_redirects = false
switch_case_indent = true
# yaml
[*.ya?ml{.in}?]
indent_size = 2