From f5c1b78f162bb0c3a73db9b3ee9e9484a655e8da Mon Sep 17 00:00:00 2001 From: anjia0532 Date: Sun, 9 Dec 2018 14:38:03 +0800 Subject: [PATCH] added editorconfig to maintain consistent coding styles. more infos https://editorconfig.org/ --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..c607b546c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[{package.json,.travis.yml}] +indent_size = 2 \ No newline at end of file