summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorYuri Finkelstein <yurif2003@yahoo.com>2017-12-21 08:18:20 -1000
committerWouter van Oortmerssen <aardappel@gmail.com>2017-12-21 10:18:20 -0800
commit5d9930aa0de203b2059cb3cfe3874fa0196fe975 (patch)
tree72bc681002532427b5ddc24f68390c3d6a731854 /.editorconfig
parent8518b3fb4e2726dbc7cf6d1b2f10597d1368a9d7 (diff)
downloadflatbuffers-5d9930aa0de203b2059cb3cfe3874fa0196fe975.tar.gz
flatbuffers-5d9930aa0de203b2059cb3cfe3874fa0196fe975.tar.bz2
flatbuffers-5d9930aa0de203b2059cb3cfe3874fa0196fe975.zip
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
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..c5a1b6c8
--- /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
+