From 5d9930aa0de203b2059cb3cfe3874fa0196fe975 Mon Sep 17 00:00:00 2001 From: Yuri Finkelstein Date: Thu, 21 Dec 2017 08:18:20 -1000 Subject: [PATCH] added config files for popular formatting tools (#4554) * added config files for popular formatting tools * edited and moved formatting files to root per review suggestion --- .clang-format | 7 +++++++ .editorconfig | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 .clang-format create mode 100644 .editorconfig diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..e27ba59f703 --- /dev/null +++ b/.clang-format @@ -0,0 +1,7 @@ +--- +Language: Cpp +BasedOnStyle: Google +DerivePointerAlignment: false +PointerAlignment: Right +... + diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..c5a1b6c86d4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +root = true +[*.{cpp,cc,h}] +end_of_line = LF +indent_style = space +indent_size = 2 +insert_final_newline = true +