From 962f3479239b2dd5bfd960bc3a35199a49371d8e Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 18 Oct 2016 09:22:12 -0200 Subject: [PATCH] added editorconfig Signed-off-by: Carlos Alexandro Becker --- .gitignore | 1 + contrib/editorconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 contrib/editorconfig diff --git a/.gitignore b/.gitignore index 0f082f5290..1e4d864013 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ .DS_Store # a .bashrc may be added to customize the build environment .bashrc +.editorconfig .gopath/ .go-pkg-cache/ autogen/ diff --git a/contrib/editorconfig b/contrib/editorconfig new file mode 100644 index 0000000000..97eda89a4b --- /dev/null +++ b/contrib/editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +indent_size = 2 +indent_style = space