diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..e27ba59f7 --- /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 000000000..c5a1b6c86 --- /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 +