From ef7897a2b4542231c93ae37af917fd93c57d470f Mon Sep 17 00:00:00 2001 From: Mike van Riel Date: Fri, 14 Apr 2023 12:54:22 +0200 Subject: [PATCH] Ensure line-endings are always LF (#149) When loading the project, I saw a warning that some files had mixed line-endings. EditorConfig files as recognized by most IDEs. By adding one that prescribes the line ending to be LF for all C# files, this should help contributors in keeping that part clean. --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..53d9e77e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# For more information: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*.cs] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = space +indent_size = 4