From 5875812ebf963989047e1fcb12e8723431e7de5c Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Wed, 31 Jul 2019 00:35:29 +0900 Subject: [PATCH] Create .editorconfig I think it'd be a good idea to add an `.editorconfig` to the projects root for contributors to easily see the code-formatting style as is common with most Open Source projects. --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..dd2a0096f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true + +[*.go] +indent_size = 8 +indent_style = tab + +[*.js] +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false