From 8dc8918aa64592707e901952b882daac961c3600 Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Wed, 27 May 2015 21:51:52 +0200 Subject: [PATCH] 2 spaces indent --- .editorconfig | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/.editorconfig b/.editorconfig index d5c7965..5adabd3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,27 +1,34 @@ -# http://editorconfig.org +# .editorconfig +# +# Copyright (c) 2015 Charlike Mike Reagent, contributors. +# Released under the MIT license. +# + root = true [*] indent_style = space -end_of_line = lf charset = utf-8 -indent_size = 4 -trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = false +trim_trailing_whitespace = false + +[*.{js,php}] +indent_size = 2 insert_final_newline = true +trim_trailing_whitespace = true -[*.json] -indent_style = space +[*.{php,html}] indent_size = 4 -[*.yml] -indent_style = space -indent_size = 4 +[*.{json,cson,yml,yaml,html,md,jade,css,stylus}] +indent_size = 2 -[*.md] -indent_style = space -indent_size = 4 -trim_trailing_whitespace = false +[Makefile] +indent_size = 2 +indent_style = tab -[test/fixtures/*] -trim_trailing_whitespace = false -insert_final_newline = false +[.*rc] +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true