Add editorconfig

This commit is contained in:
Ivan R. 2024-12-09 13:08:53 +05:00
parent 0632c7752b
commit 5affe5b40e
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
9 changed files with 38 additions and 20 deletions

18
.editorconfig Normal file
View file

@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[{*.rb,*.js,*.ts,*.ex,*.ml}]
indent_style = space
indent_size = 2
[{*.rs,*.zig,*.py,*.c,*.cpp,*.h,*.kt,*.sql}]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab