Add EditorConfig

It documents indentation style for source files.

See https://editorconfig.org/ for more.
This commit is contained in:
Alexander Krotov 2020-09-15 22:23:44 +03:00
parent 310b8bffd8
commit cd48e56af4
5 changed files with 60 additions and 37 deletions

23
.editorconfig Normal file
View file

@ -0,0 +1,23 @@
# EditorConfig (https://editorconfig.org/)
root = true
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
[*.java]
indent_style = space
indent_size = 2
[*.c]
indent_style = tab
[*.gradle]
indent_style = space
indent_size = 4
[*.sh]
indent_style = space
indent_size = 4