From f149fbb4b9d7deadbd8df750c1497835421c1c22 Mon Sep 17 00:00:00 2001 From: Chris Harrison <36608309+chris3ware@users.noreply.github.com> Date: Tue, 4 Mar 2025 15:29:21 +0000 Subject: [PATCH] chore: Add diff to .editorconfig Signed-off-by: Chris Harrison <36608309+chris3ware@users.noreply.github.com> --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 098e8f2..137e978 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,6 +12,10 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +# Do not trim trailing whitespace on diff files as it can be used for alignment +[*.diff] +trim_trailing_whitespace = false + # Do not trim trailing whitespace on Markdown files as double space can be used # for a newline [*.md]