add editor config

This commit is contained in:
Sebastian Wendel 2022-10-31 18:01:00 +01:00
parent c9e1d7d41e
commit 220569f263
No known key found for this signature in database
GPG key ID: 1422B7DF78144640

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[{Makefile,*.mk}]
indent_style = tab
indent_size = 4
[*.{md,nix,json,yml,yaml}]
indent_style = tab
indent_size = 2