From: Kohei Yoshino Date: Tue, 9 Jan 2018 03:16:01 +0000 (-0500) Subject: no bug - Update editorconfig to use 2 space indentation for CSS and JavaScript (... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031c78db66bcd3d3b41d673494cf3679fd0e766f;p=thirdparty%2Fbugzilla.git no bug - Update editorconfig to use 2 space indentation for CSS and JavaScript (#353) --- 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