From e7836fbc4530e7241508122302c4009a85faaab8 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Wed, 3 Feb 2021 23:43:22 +0900 Subject: [PATCH] Add disable rule --- .golangci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 6550bf5..6bdcb8f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,6 +15,8 @@ linters: - dogsled - dupl - exhaustive + - exhaustivestruct + - errorlint - funlen - gci - gochecknoglobals @@ -28,6 +30,16 @@ linters: - gofumpt - gomnd - gosec + - ifshort + - lll + - makezero + - nakedret + - nestif + - nlreturn + - paralleltest + - testpackage + - thelper + - wrapcheck - interfacer - lll - nakedret