aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-06 14:21:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-07 10:41:01 +0200
commit2c2b926cb74478a86014f40564517f7d424dc899 (patch)
tree7fbac38838913818333f8a9219b3866b6073f446 /.golangci.yml
parent948dd3af445f31e056db6116c09f095933baed5f (diff)
.golangci.yml: reduce function line count from 200 to 140
140 lines should be enough for everyone.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 7bee35ebf..e645b3910 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -88,7 +88,7 @@ linters-settings:
min-complexity: 70
funlen:
# TODO: consider reducing these value.
- lines: 200
+ lines: 140
statements: 80
issues:
@@ -112,3 +112,5 @@ issues:
- path: (prog/.*_test\.go)
linters:
- goconst
+ - path: (.*_test\.go)
+ text: "Function '.*' is too long"