This patch adds a .editorconfig to the root directory. The .editorconfig file integrates into most text editors and IDE's to enforce basic styling. I chose the configurations from the project's current styling. I am not sure if it is intentional, but the CMake related files use spaces instead of tabs, so I reflected that in the .editorconfig file. For more information about editorconfig and which text editors support it, you can visit https://editorconfig.org
--- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b36cd67 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# To use this config on your editor, follow the instructions at: +# https://editorconfig.org + +root = true + +[*] +insert_final_newline = true +trim_trailing_whitespace = true + +[src/,tests/] +charset = utf-8 +indent_style = tab + +[CMakeLists.txt,*.cmake] +indent_style = space +indent_size = 4 \ No newline at end of file -- 2.25.1