From 16941d7aad0336ca4587ed9596f8493bd9561521 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 16 Sep 2019 20:46:01 -0700 Subject: [PATCH] build: nerf linter --- .golangci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index e00edaa1..ca3e6881 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -45,6 +45,16 @@ linters: # trigger funlen problems that we may not want to solve at that time. - funlen + # Disable for now as we haven't yet tuned the sensitivity to our codebase + # yet. Enabling by default for example, would also force new contributors to + # potentially extensively refactor code, when they want to smaller change to + # land. + - gocyclo + + # Instances of table driven tests that don't pre-allocate shouldn't trigger + # the linter. + - prealloc + issues: # Only show newly introduced problems. new-from-rev: 01f696afce2f9c0d4ed854edefa3846891d01d8a