From 3e14c8e6e9e11494968a5cf9016d5d6af8f325e6 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Tue, 15 Mar 2022 11:22:24 -0700 Subject: [PATCH 1/2] Make it easier to contribute: Add c++ configuration for .editorconfig. Using the observed style with 2 indentation spaces. Signed-off-by: Henner Zeller --- .editorconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 918e754c03..1c32f7d661 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,4 +8,11 @@ charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -ij_java_else_on_new_line = true \ No newline at end of file +ij_java_else_on_new_line = true + +[*.{h,cpp}] +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 From 75ca62db0c65e2ebd47b1c252b525c273725490d Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Tue, 15 Mar 2022 11:25:36 -0700 Subject: [PATCH 2/2] Add hzeller to contributors.txt Signed-off-by: Henner Zeller --- contributors.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.txt b/contributors.txt index 17139e8846..3ed11c57ca 100644 --- a/contributors.txt +++ b/contributors.txt @@ -327,3 +327,4 @@ YYYY/MM/DD, github id, Full name, email 2021/12/25, Tinker1024, Tinker1024, tinker@huawei.com 2021/12/31, Biswa96, Biswapriyo Nath, nathbappai@gmail.com 2022/03/07, chenquan, chenquan, chenquan.dev@gmail.com +2022/03/15, hzeller, Henner Zeller, h.zeller@acm.org