From abe9b579f25120898b714d4b73343918169d48ac Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 2 Oct 2018 00:24:25 -0400 Subject: 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. --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.editorconfig') 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}] -- cgit v1.2.3-24-g4f1b