Skip to content

Commit d05e136

Browse files
committed
Add .editorconfig, from mkinitcpio
Direct copy from mkinitcpio. Note that the in-tree code-base consistently uses 2 space and redoing that will be done at misc later point. Signed-off-by: Emil Velikov <[email protected]>
1 parent 12733c8 commit d05e136

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# EditorConfig
2+
# https://editorconfig.org
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Unix-style newlines with a newline ending every file, utf-8 charset, 4 space
8+
# indentation, remove any whitespace characters preceding newline characters.
9+
[*]
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
indent_style = space
14+
indent_size = 4
15+
charset = utf-8
16+
# for shfmt
17+
switch_case_indent = true
18+
binary_next_line = true
19+
20+
# Tab indentation (no size specified)
21+
[Makefile]
22+
indent_style = tab

0 commit comments

Comments
 (0)