]> git.lizzy.rs Git - rust.git/commitdiff
Add EditorConfig
authorPascal Hertleif <killercup@gmail.com>
Fri, 15 Jul 2016 11:08:21 +0000 (13:08 +0200)
committerPascal Hertleif <killercup@gmail.com>
Fri, 15 Jul 2016 11:08:21 +0000 (13:08 +0200)
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..3a8d3f7
--- /dev/null
@@ -0,0 +1,16 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false