Skip to content

Build your personal knowledge base with Trilium Notes

Normalize line endings

Sauli Antof846bfa02916
diff --git a/.editorconfig b/.editorconfig
index 235b5e6615..1bfcd30057 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,4 +6,4 @@ tab_width = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
-insert_final_newline = true
\ No newline at end of file
+insert_final_newline = true
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..176a458f94
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/.gitignore b/.gitignore
index 40b878db5b..c2658d7d1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-node_modules/
\ No newline at end of file
+node_modules/