From 9b5bc438461a91177062c987ad0902472957adf4 Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Mon, 11 Nov 2019 23:48:36 +0100 Subject: [PATCH] Fix #1036: fix linter --- .golangci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 5ced78dbc1..e5612d5805 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -29,3 +29,29 @@ linters: - whitespace - gocognit - wsl +issues: + exclude-rules: + - path: pkg/client/clientset + linters: + - golint + - deadcode + - lll + - unparam + - varcheck + - unused + - path: pkg/client/informers + linters: + - golint + - deadcode + - lll + - unparam + - varcheck + - unused + - path: pkg/client/listers + linters: + - golint + - deadcode + - lll + - unparam + - varcheck + - unused