diff --git a/.golangci.toml b/.golangci.toml index 81912c45..125fd8ae 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -29,6 +29,7 @@ "dupl", "prealloc", "scopelint", + "bodyclose", # https://github.com/timakin/bodyclose/pull/14 ] [issues] diff --git a/.travis.yml b/.travis.yml index 9430d547..2ac696e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ before_install: - go get -u github.com/letsencrypt/pebble/... # Install linters and misspell - - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.16.0 + - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.17.1 - golangci-lint --version # Hugo - documentation