From 67fdb275188f7e72416ba20eee42e55190bd78a2 Mon Sep 17 00:00:00 2001 From: Stephen Edgar Date: Mon, 22 Apr 2013 17:10:59 +1000 Subject: [PATCH] Use* global rules with exceptions as needed --- .editorconfig | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9055021c9f..ad9d6beae3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,26 +2,13 @@ root = true +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + [Makefile] indent_style = tab -indent_size = 8 - -[*.css] -indent_style = space -indent_size = 2 - -[*.less] -indent_style = space -indent_size = 2 - -[*.html] -indent_style = space -indent_size = 2 - -[*.js] -indent_style = space -indent_size = 2 - -[*.json] -indent_style = space -indent_size = 2