Skip to content

Commit 92030a8

Browse files
elmarcozippy2
authored andcommitted
Add .editorconfig
Consistent code style across editors. Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Michal Privoznik <[email protected]>
1 parent 10c5322 commit 92030a8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig is a file format and collection of text editor plugins
2+
# for maintaining consistent coding styles between different editors
3+
# and IDEs. Most popular editors support this either natively or via
4+
# plugin.
5+
#
6+
# Check https://editorconfig.org for details.
7+
8+
root = true
9+
10+
[*]
11+
end_of_line = lf
12+
insert_final_newline = true
13+
charset = utf-8
14+
15+
[*.c]
16+
indent_style = space
17+
indent_size = 4
18+
19+
[*.{rng,xml}]
20+
indent_style = space
21+
indent_size = 2

0 commit comments

Comments
 (0)