chore: editorconfig and gitattributes

Carlos Alexandro Becker created

Change summary

.editorconfig  | 14 ++++++++++++++
.gitattributes |  2 ++
2 files changed, 16 insertions(+)

Detailed changes

.editorconfig 🔗

@@ -0,0 +1,14 @@
+root = true
+
+[*]
+charset=utf-8
+end_of_line=lf
+indent_size=4
+indent_style=tab
+insert_final_newline=true
+trim_trailing_whitespace=true
+
+[*.txtar]
+indent_size=2
+indent_style=space
+

.gitattributes 🔗

@@ -0,0 +1,2 @@
+# To prevent CRLF breakages on Windows for fragile files, like testdata.
+* -text