diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-02-12 17:32:25 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-02-12 17:32:25 +0300 |
commit | e136420d7c07f517042522eb74ae131bfe3fc8c9 (patch) | |
tree | 91bc3201698f61749b0dd32f248d19548b38c487 /.editorconfig | |
parent | d5de6a1b267caaac9f4b99fb3c5d3606728ad61a (diff) |
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.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |