From f0f702c6043ed06f848e0315c511c2b65c7447ed Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Tue, 8 Oct 2019 15:07:01 +0200 Subject: [PATCH] Add sane editorconfig settings (#3051) - UNIX line endings - utf8 - newline at end of file - trim trailing whitespace --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.editorconfig b/.editorconfig index d1e59e514..f849e1fa2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,15 @@ root = true indent_style = tab indent_size = 4 tab_width = 4 +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +# Don't change test output files +[*.out] +insert_final_newline = unset +trim_trailing_whitespace = unset [*.sql] indent_style = space