From 2bfd6a370845ba440f513e288506712ecd413356 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 16 Oct 2023 13:23:09 +0300 Subject: [PATCH 1/2] add .gitattributes --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..04bb3c2a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Explicitly disable EOL normalization +* -text diff +third_party/** linguist-vendored From 0fe5721b5ba08aa2f1d3aa4d1684c4bd4b79196e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 16 Oct 2023 13:32:27 +0300 Subject: [PATCH 2/2] add .editorconfig based on .clang-format --- .editorconfig | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..65ee036b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 +max_line_length = 100