From 2b2857bd2191458a131689502224abfe9cdd7a4a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 4 Jun 2020 23:07:55 +0200 Subject: .golangci.yml: enable funlen checker Checks for too long functions (based on lines and statements). --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml index 553b6ff78..8c4834bcf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -39,6 +39,7 @@ linters: - goprintffuncname - godot - gocognit + - funlen disable: - bodyclose - depguard @@ -85,6 +86,10 @@ linters-settings: gocognit: # TODO: consider reducing this value. min-complexity: 70 + funlen: + # TODO: consider reducing these value. + lines: 200 + statements: 80 issues: exclude-use-default: false -- cgit mrf-deployment