Skip to content

Commit

Permalink
ci: Upgrade linter (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpokhrel committed Apr 7, 2024
1 parent f1a0354 commit fa90ec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .golangci.yml
@@ -1,7 +1,5 @@
run:
timeout: 5m
deadline: 5m
skip-dirs-use-default: true
linters:
disable-all: true
enable:
Expand Down Expand Up @@ -35,8 +33,7 @@ linters-settings:
- name: package-comments
disabled: true
gomnd:
settings:
mnd:
ignored-numbers: 0,1,2,3
ignored-numbers: ['0', '1', '2', '3']
issues:
exclude-use-default: false
exclude-dirs-use-default: true
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -44,7 +44,7 @@ install:
lint:
@if ! command -v golangci-lint > /dev/null 2>&1; then \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b "$$(go env GOPATH)/bin" v1.55.2 ; \
sh -s -- -b "$$(go env GOPATH)/bin" v1.57.2 ; \
fi
golangci-lint run ./...

Expand Down

0 comments on commit fa90ec6

Please sign in to comment.