mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 20:12:02 +00:00
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:
committed by
Wouter van Oortmerssen
parent
8518b3fb4e
commit
5d9930aa0d
7
.clang-format
Normal file
7
.clang-format
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
BasedOnStyle: Google
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
PointerAlignment: Right
|
||||||
|
...
|
||||||
|
|
||||||
7
.editorconfig
Normal file
7
.editorconfig
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
root = true
|
||||||
|
[*.{cpp,cc,h}]
|
||||||
|
end_of_line = LF
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
Reference in New Issue
Block a user