Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-02-12 17:32:25 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-02-12 17:32:25 +0300
commite136420d7c07f517042522eb74ae131bfe3fc8c9 (patch)
tree91bc3201698f61749b0dd32f248d19548b38c487 /.editorconfig
parentd5de6a1b267caaac9f4b99fb3c5d3606728ad61a (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--.editorconfig1
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