From fa0f35a66c5996c4aae8ee080bbee185077a68d0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 17 Oct 2021 01:00:38 +0200 Subject: [PATCH] editorconfig: Extend for yaml files editorconfig: Add a sane default for YAML files. --- .editorconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.editorconfig b/.editorconfig index 22e60c0..eee57dd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,3 +12,11 @@ trim_trailing_whitespace = true indent_style = space indent_size = 4 max_line_length = 119 + +[*.{yml,yaml}] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = space +indent_size = 2