From 2c9a7082919fa5715a8c4e5377502f8b6f74c843 Mon Sep 17 00:00:00 2001 From: jcc Date: Wed, 2 Aug 2017 17:39:22 +0800 Subject: [PATCH] Update .editorconfig --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.editorconfig b/.editorconfig index e69de29bb..0f06511ea 100644 --- a/.editorconfig +++ b/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{vue,js,scss}] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false