From c32ea10fcab1a0ba5fd45157b6bd0bdc8bcc8111 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Mon, 11 May 2020 20:31:59 +0100 Subject: [PATCH] Standardise newline and trailing whitespace conventions This change aims to reduce incidental changes in pull requests caused by configuration and UI differences in text editors. The chosen conventions are - unix line endings - trim trailing whitespace - terminate files with a newline editorconfig is an informal convention that indicates preferred line and file terminations to text editors and other tools. Several editors have builtin support, and many more have plugins available. More info at https://editorconfig.org/ --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8fcd83f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +# https://editorconfig.org/ + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_newspace = true