add .editorconfig & .gitattributes

This commit is contained in:
Aminda Suomalainen ⚧ 2023-02-17 15:10:42 +02:00
parent 75ce8d4890
commit 2074ab8611
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 17 additions and 0 deletions

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = tab
[*.{markdown,md}]
trim_trailing_whitespace = false
[*.{cff,yaml,yml}]
indent_style = space
indent_size = 2

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf linguist-detectable