Add .editorconfig and .gitattributes

This commit is contained in:
silverwind 2023-05-12 23:57:09 +02:00
parent 94031fc198
commit 09d1fce53b
No known key found for this signature in database
GPG key ID: 2E62B41C93869443
2 changed files with 17 additions and 0 deletions

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{go}]
indent_style = tab
[Makefile]
indent_style = tab

1
.gitattributes vendored Normal file
View file

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