From e136420d7c07f517042522eb74ae131bfe3fc8c9 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Fri, 12 Feb 2021 15:32:25 +0100 Subject: editorconfig: Set line length for Go code The editorconfig is currently lacking a line length configuration for Go code. This is probably by design given that we do not have an explicit limit on line length in our style guide. But it's still helpful to have a reasonable limit set, even if we're not going to enforce it. Let's configure a line limit of 100 characters. This is not a new requirement but should rather be seen as a recommendation and help for users who use editorconfig. --- .editorconfig | 1 + 1 file changed, 1 insertion(+) (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig index ddfa03bda..9a7c5bb71 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,6 +16,7 @@ indent_size = unset indent_style = tab indent_size = 8 tab_width = 8 +max_line_length = 100 [**.md] max_line_length = 80 -- cgit v1.2.3