[v4,1/3] add .editorconfig file
diff mbox series

Message ID 20191023071138.26395-2-adrian.freihofer@siemens.com
State Accepted
Headers show
Series
  • block force_ro, rename binaires
Related show

Commit Message

Adrian Freihofer Oct. 23, 2019, 7:11 a.m. UTC
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 .editorconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .editorconfig

Patch
diff mbox series

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..729d734
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@ 
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+
+[CMakeLists.txt]
+indent_size = 2
+indent_style = space
+
+[*.{c,h}]
+indent_brace_style = K&R
+insert_final_newline = true
+indent_style = tab
+tab_width = 8