瀏覽代碼

Added .clang-format and .editorconfig

Paul-Louis Ageneau 6 年之前
父節點
當前提交
611c53191c
共有 2 個文件被更改,包括 25 次插入0 次删除
  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
+