From fcf5866fc35aba070d9aaee3a02879320b15ad3c Mon Sep 17 00:00:00 2001 From: Eliza Velasquez Date: Thu, 21 Sep 2023 15:10:26 -0700 Subject: [PATCH] Add .editorconfig file This informs a broad variety of text editors of some of the formatting conventions of the filament project. It may be possible to replicate some of the more specific formatting conventions like brace placement in a future commit. --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..3e033d0c89 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[*.{c,cpp,h,inc,kt,java,js,md}] +indent_style = space +indent_size = 4 +max_line_length = 100