From bad5b17c1e0b9fcebd73e9fcbaceb184310c5dd1 Mon Sep 17 00:00:00 2001 From: bigeagle Date: Fri, 11 Dec 2015 16:08:49 +0800 Subject: [PATCH] Create .editorconfig --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4e4de44 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +[*.{html,md,js}] +charset = utf-8 +indent_style = tab +indent_size = 2 + +# Matches the exact files either package.json or .travis.yml +[{package.json,.travis.yml}] +indent_style = space +indent_size = 2 +