Browse Source

Bump golangci-lint 1.55.2 (#3232)

Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
pull/3214/head
Maksim Nabokikh 2 years ago committed by GitHub
parent
commit
82b090ff43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      .golangci.yml
  2. 2
      Makefile

11
.golangci.yml

@ -5,12 +5,11 @@ run:
linters-settings:
depguard:
list-type: blacklist
include-go-root: true
packages:
- io/ioutil
packages-with-error-message:
- io/ioutil: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead."
rules:
deprecated:
deny:
- pkg: "io/ioutil"
desc: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead."
gci:
local-prefixes: github.com/dexidp/dex
goimports:

2
Makefile

@ -16,7 +16,7 @@ export GOBIN=$(PWD)/bin
LD_FLAGS="-w -X main.version=$(VERSION)"
# Dependency versions
GOLANGCI_VERSION = 1.52.0
GOLANGCI_VERSION = 1.55.2
GOTESTSUM_VERSION ?= 1.9.0
PROTOC_VERSION = 21.12

Loading…
Cancel
Save