diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-06 14:21:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-07 10:41:01 +0200 |
| commit | 2c2b926cb74478a86014f40564517f7d424dc899 (patch) | |
| tree | 7fbac38838913818333f8a9219b3866b6073f446 /.golangci.yml | |
| parent | 948dd3af445f31e056db6116c09f095933baed5f (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.yml | 4 |
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" |
