Add EditorConfig and set git LF line endings

This commit is contained in:
jonpas 2021-04-11 22:47:54 +02:00
parent cce7b5d824
commit d8abf922b3
2 changed files with 16 additions and 0 deletions

15
.editorconfig Normal file
View file

@ -0,0 +1,15 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.ld]
indent_size = 2
[*.md]
trim_trailing_whitespace = false

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
* text=auto