From 177b92dc7cb681ac95d2fab617ccd35303a81cfa Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Sun, 19 Mar 2017 13:30:37 +0100 Subject: [PATCH] More granular editorconfig, fixes trailing whitespace for mail --- editorconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/editorconfig b/editorconfig index 218ed167..48a57f15 100644 --- a/editorconfig +++ b/editorconfig @@ -4,10 +4,12 @@ root = true [*] charset = utf-8 end_of_line = lf +insert_final_newline = true indent_style = space indent_size = 2 + +[*.{php,css,scss,sass,js,json,jsx,tmpl,html,haml,twig,yml,svg}] trim_trailing_whitespace = true -insert_final_newline = true -[*.{md,rst,txt,csv}] +[*.{md,markdown,rst,txt,csv,snip,mail}] trim_trailing_whitespace = false