summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 59a552e6ff5d5829e47ab8e2d042b5941e78f3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# EditorConfig
# https://editorconfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file, utf-8 charset, 4 space
# indentation, remove any whitespace characters preceding newline characters.
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
charset = utf-8
# for shfmt
switch_case_indent = true
binary_next_line = true

# Tab indentation (no size specified)
[Makefile]
indent_style = tab