From 82c7921d6973379ed585efb00cba489cd97741fb Mon Sep 17 00:00:00 2001 From: yoyo837 Date: Fri, 9 Mar 2018 11:46:17 +0800 Subject: [PATCH] chore: add editorconfig and .vscode --- .editorconfig | 12 ++++++++++++ .gitignore | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..903c3ea8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +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 + diff --git a/.gitignore b/.gitignore index 394522f4..e7b7455b 100755 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules/** \ No newline at end of file +.vscode +node_modules \ No newline at end of file