diff --git a/.editorconfig b/.editorconfig index 988cb95f5e42e..206960dd7dd15 100644 --- a/.editorconfig +++ b/.editorconfig @@ -86,6 +86,10 @@ indent_size = 8 [COMMIT_EDITMSG] max_line_length = 75 +# Patches +[{*.patch,*.diff}] +trim_trailing_whitespace = false + # Kconfig [Kconfig*] indent_style = tab