diff --git a/.golangci.yml b/.golangci.yml index a63b7d0..1a49ba0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,7 +18,6 @@ linters: - goprintffuncname - gosimple - govet - - maligned - nakedret - nestif - nolintlint @@ -38,8 +37,6 @@ linters: - exportloopref #for _,p := []int{1, 2, 3} { s.Bar(&p) /* If s stores the pointer, it will be bug.*/ } - sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed. linters-settings: - maligned: - suggest-new: true funlen: lines: 80 statements: 40 @@ -58,6 +55,7 @@ linters-settings: disabled-checks: - hugeParam - rangeValCopy + - ifElseChain exhaustive: default-signifies-exhaustive: true