add editorconfig

This commit is contained in:
Søren Rasmussen 2024-08-29 12:36:33 +02:00
parent d1e66a60bd
commit 517af957cf
Signed by: snr
SSH key fingerprint: SHA256:wwGTdUDKh+zxCdbhOjJ5jt5/zF36kbg44gQPN6D9t1w

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
root = true
[*]
indent_style = tab
indent_size = 4
end-of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{conf,hcl,json,md,xml,yml}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[*.sql]
indent_style = space