From 024aa7aa0c4bb3240b925363f1b4ac0545221fd5 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 25 Apr 2023 08:42:48 -0400 Subject: [PATCH] editorconfig: preserve final newline in YAML I'm not sure why this is defaulted to `false` for all file types, so this just enables it for YAML for now. Signed-off-by: Milas Bowman --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index bc1dfe40c8..1a235f9c90 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,5 +16,8 @@ indent_size = 2 indent_style = space indent_size = 4 +[*.{yaml}] +insert_final_newline = true + [Makefile] indent_style = tab