From e82a9e5e8a1bffcbd44baa384b48a048db5d413f Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 10 Feb 2020 17:13:49 +0900 Subject: [PATCH] Updated linter settings --- .drone.yml | 2 +- .golangci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6c284283..dcdf7a06 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: - make tools - make assets - make server - - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0 + - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.3 - golangci-lint run - make db - go test -v -coverprofile=coverage.txt . diff --git a/.golangci.yml b/.golangci.yml index 06e7ef57..7772d272 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,6 +12,7 @@ linters: - gochecknoinits - gocyclo - gocognit + - gomnd - gosec - stylecheck - funlen