From c9c1e5294646e2486623d2c7dbf38057ba7e280c Mon Sep 17 00:00:00 2001 From: An Phan Date: Wed, 15 Jan 2020 19:09:17 +0100 Subject: [PATCH 1/2] feat: Add some meta (.editorconfig and ignore dist/) --- .editorconfig | 10 ++++++++++ .gitignore | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..a1b04a2662 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +[*] +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 \ No newline at end of file diff --git a/.gitignore b/.gitignore index b512c09d47..f06235c460 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +dist From a9c0cd2c39ba324da7c0db868fc0eaec184e1b9c Mon Sep 17 00:00:00 2001 From: An Phan Date: Wed, 15 Jan 2020 19:11:06 +0100 Subject: [PATCH 2/2] EOL --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index a1b04a2662..0de500150a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,4 +7,4 @@ insert_final_newline = true trim_trailing_whitespace = true [*.md] -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false