Explorar el Código

Added .clang-format and .editorconfig

Paul-Louis Ageneau hace 6 años
padre
commit
611c53191c
Se han modificado 2 ficheros con 25 adiciones y 0 borrados
  1. 14 0
      .clang-format
  2. 11 0
      .editorconfig

+ 14 - 0
.clang-format

@@ -0,0 +1,14 @@
+---
+BasedOnStyle: LLVM
+IndentWidth: 4
+TabWidth: 4
+UseTab: ForIndentation
+---
+Language: Cpp
+Standard: Cpp11
+AccessModifierOffset: -4
+ColumnLimit: 100
+---
+Language: JavaScript
+ColumnLimit: 80
+...

+ 11 - 0
.editorconfig

@@ -0,0 +1,11 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = tab
+indent_size = 4
+