summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-10-02 06:24:25 +0200
committerGitHub <noreply@github.com>2018-10-02 06:24:25 +0200
commitabe9b579f25120898b714d4b73343918169d48ac (patch)
treead5c1129e37a58e5f14c1e56d0376092f827268b /.editorconfig
parent3f104aa43d746c602b179564c96fce0d4d682886 (diff)
downloadbugzilla-abe9b579f25120898b714d4b73343918169d48ac.tar.gz
bugzilla-abe9b579f25120898b714d4b73343918169d48ac.tar.xz
no bug - adopt mojolicious code formatting guidelines (#784)
@kyoshino likes 2-char indent for all the frontend. Mojolicious seems to use 2-space too. Let's just adopt their perltidyrc. Included in this is a script (in scripts/) that will modify files according to these rules.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig
index 2d527a250..ddd559494 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -5,10 +5,10 @@ root = true
end_of_line = lf
insert_final_newline = true
-# 4 space indentation for Perl files
-[*.{pl,PL,pm,cgi}]
+# 2 space indentation for Perl files
+[*.{pl,PL,pm,cgi,t}]
indent_style = space
-indent_size = 4
+indent_size = 2
# 2 space indentation for HTML, CSS, JavaScript and YAML files
[.{html,tmpl,css,js,yml}]