Add a simple .editorconfig
authorDavid Barratt <dbarratt@wikimedia.org>
Wed, 9 Aug 2017 22:53:23 +0000 (18:53 -0400)
committerLegoktm <legoktm@member.fsf.org>
Mon, 21 Aug 2017 18:00:49 +0000 (18:00 +0000)
.editorconfig <http://editorconfig.org/> is a standardized format
that many IDEs support (or have plugins for) to use a project's code
style by default.

Bug: T172959
Change-Id: I8e776665dca255ff5dead1a9874bcd73344e4d20

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..9231818
--- /dev/null
@@ -0,0 +1,11 @@
+root = true
+
+[*]
+indent_style = tab
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false