Skip to content

Commit 23aa38d

Browse files
committed
fix: do not apply editorconfig to git commit msg
The `max_line_length` property was set to 100 for all filetypes, which led to git commit messages being wrapped at 100 characters instead of the usual 75. This introduces an exception for the special file used by git to write commit messages. Signed-off-by: Prajwal S N <[email protected]>
1 parent 62dea27 commit 23aa38d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ indent_size = 2
1515

1616
[*.{yml,yaml}]
1717
indent_size = 2
18+
19+
[COMMIT_EDITMSG]
20+
max_line_length = unset

0 commit comments

Comments
 (0)