From 5986a1bee5616a087aa22f1fe6baa2f0459e8dd5 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Fri, 21 Feb 2025 11:30:16 +0100 Subject: [PATCH] editorconfig: Exempt commit messages from line length When an .editorconfig sets a line length on [*], it also ends up affecting the temporary commit message file (.git/COMMIT_EDITMSG), overriding the standard git commit line length limits. Explicitly unset the line length for the .git folder. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 75412123a..2e5f36f73 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,6 +13,9 @@ ij_formatter_tags_enabled = false ij_smart_tabs = false ij_wrap_on_typing = false +[/.git/**] +max_line_length = unset + [*.dart] max_line_length = 80