Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

config: force unix style line endings

Abdullah Attae138aef6a945
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..94f480de9
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf
\ No newline at end of file
diff --git a/.prettierrc.js b/.prettierrc.js
index 0a676027c..52f8a3db8 100644
--- a/.prettierrc.js
+++ b/.prettierrc.js
@@ -5,5 +5,6 @@ module.exports = {
printWidth: 80,
useTabs: false,
tabWidth: 2,
- bracketSpacing: true
+ bracketSpacing: true,
+ endOfLine: "lf"
};