From ec510fe656b21692aea7765d64273cf4646cb184 Mon Sep 17 00:00:00 2001 From: Hayley Swimelar Date: Fri, 13 Dec 2019 12:52:28 -0800 Subject: [PATCH] .golangci.yml: disable varcheck and deadcode varcheck and deadcode conflict with unused, creating a different output file (reporting the same errors) on different runs. With code-climate reporting, this can result in an equal number of false positives and false negatives when comparing successive runs, with no node changes. --- assets/.golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/.golangci.yml b/assets/.golangci.yml index a5715b7..b6d1770 100644 --- a/assets/.golangci.yml +++ b/assets/.golangci.yml @@ -237,7 +237,6 @@ linters: disable-all: true enable: - bodyclose - - deadcode - depguard - dogsled - dupl @@ -265,15 +264,16 @@ linters: - unconvert - unparam - unused - - varcheck - whitespace # don't enable: + # - deadcode # - gochecknoglobals # - gochecknoinits # - gocyclo # - lll # - maligned # - prealloc + # - varcheck issues: # List of regexps of issue texts to exclude, empty list by default.