summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-01-09 04:16:01 +0100
committerDylan William Hardison <dylan@hardison.net>2018-01-09 04:16:01 +0100
commit031c78db66bcd3d3b41d673494cf3679fd0e766f (patch)
treefc33521e6a54f399f225d3343425ef6bdf6a211d /.editorconfig
parent91dc6dc99fa7a699e0b8e822a5c294509c9e9eb7 (diff)
downloadbugzilla-031c78db66bcd3d3b41d673494cf3679fd0e766f.tar.gz
bugzilla-031c78db66bcd3d3b41d673494cf3679fd0e766f.tar.xz
no bug - Update editorconfig to use 2 space indentation for CSS and JavaScript (#353)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/.editorconfig b/.editorconfig
index 0a4d8c063..59bb73282 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,13 +1,13 @@
# top-most EditorConfig file
root = true
-# 4 space indentation for .pl,.PL,.css,.js and .pm files
-[*.{pl,PL,css,js,pm}]
+# 4 space indentation for Perl files
+[*.{pl,PL,pm,cgi}]
indent_style = space
indent_size = 4
-# 2 space indentation style for .tmpl files
-[.{tmpl,yml}]
+# 2 space indentation for HTML, CSS, JavaScript and YAML files
+[.{html,tmpl,css,js,yml}]
indent_style = space
indent_size = 2