Skip to content

Commit

Permalink
Update linter version
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJoiner committed Apr 22, 2024
1 parent 512a43c commit 6df83f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ linters-settings:
min-complexity: 15
goimports:
local-prefixes: github.com/DIMO-Network/mnemonic
govet:
check-shadowing: true
misspell:
locale: US
ignore-words:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VERSION := $(shell git describe --tags || echo "v0.0.0")
VER_CUT := $(shell echo $(VERSION) | cut -c2-)

# Dependency versions
GOLANGCI_VERSION = v1.56.2
GOLANGCI_VERSION = v1.57.2

build:
@CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(ARCH) \
Expand All @@ -39,6 +39,7 @@ test:
@go test ./...

lint:
@golangci-lint version
@golangci-lint run

format:
Expand Down
2 changes: 1 addition & 1 deletion cmd/clickhouse-container/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func run(ctx context.Context) error {
defer chcontainer.Terminate(ctx)

if *migrate {
db, err := clickhouseinfra.GetClickhouseAsDB(ctx, chcontainer.ClickHouseContainer) //nolint: govet // false positive
db, err := clickhouseinfra.GetClickhouseAsDB(ctx, chcontainer.ClickHouseContainer)
if err != nil {
return fmt.Errorf("failed to get clickhouse db: %w", err)
}
Expand Down

0 comments on commit 6df83f0

Please sign in to comment.