From 6fe2ce6aeaabb9316675a4fff2222f5a8a627acf Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Fri, 24 Jan 2020 08:45:28 +0100 Subject: [PATCH] add it back --- .golangci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..dbfea73 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,25 @@ +run: + skip-dirs: + - pkg/client + +linters: + disable-all: true + enable: + - deadcode + - errcheck + - gas + - goconst + - goimports + - golint + - gosimple + - govet + - ineffassign + - misspell + - nakedret + - staticcheck + - structcheck + - typecheck + - unconvert + - unparam + - unused + - varcheck