aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorDavid Barratt <dbarratt@wikimedia.org>2017-08-09 18:53:23 -0400
committerLegoktm <legoktm@member.fsf.org>2017-08-21 18:00:49 +0000
commite7e4e705c3dde7141f9ab24d88ec4f236ad6549e (patch)
treedca5d27d66e823658a213c68f200eae1ab5c9c08 /.editorconfig
parent87d585d97d0e6255a1160d38f506109699b2042f (diff)
downloadmediawikicore-e7e4e705c3dde7141f9ab24d88ec4f236ad6549e.tar.gz
mediawikicore-e7e4e705c3dde7141f9ab24d88ec4f236ad6549e.zip
Add a simple .editorconfig
.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
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..92318180cd24
--- /dev/null
+++ b/.editorconfig
@@ -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