From 341407b4824a9f1c88de0c046ce5f7dffde469a7 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 4 Jul 2019 19:20:26 +0200 Subject: [PATCH] chore: update golangci-lint. (#914) --- .golangci.toml | 1 + .travis.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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