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
This commit is contained in:
Yuri Finkelstein 2017-12-21 08:18:20 -10:00 committed by Wouter van Oortmerssen
parent 8518b3fb4e
commit 5d9930aa0d
2 changed files with 14 additions and 0 deletions

7
.clang-format Normal file
View File

@ -0,0 +1,7 @@
---
Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Right
...

7
.editorconfig Normal file
View File

@ -0,0 +1,7 @@
root = true
[*.{cpp,cc,h}]
end_of_line = LF
indent_style = space
indent_size = 2
insert_final_newline = true