summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorDipankar Das <cooldipanks14@gmail.com>2017-07-11 23:13:57 +0200
committerDylan William Hardison <dylan@hardison.net>2017-07-11 23:13:57 +0200
commitdabfa4c750925af1cd50c7e2afb4a467d147a6ea (patch)
treed61ae373b0a5280d5edad1a714ccc3886811cfee /.editorconfig
parent096e19e6c6ed1b79059f098e1f7436404a97e6f9 (diff)
downloadbugzilla-dabfa4c750925af1cd50c7e2afb4a467d147a6ea.tar.gz
bugzilla-dabfa4c750925af1cd50c7e2afb4a467d147a6ea.tar.xz
Bug-1369521 - 'bmo should include an .editorconfig file that specifies our tab/indent policy'
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..d31ae2799
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+# top-most EditorConfig file
+root = true
+
+# 4 space indentation for .pl,.PL,.css,.js and .pm files
+[*.{pl,PL,css,js,pm}]
+indent_style = space
+indent_size = 4
+
+# 2 space indentation style for .tmpl files
+[.tmpl]
+indent_style = space
+indent_size = 2
+