Skip to content

Commit

Permalink
Update golangci-lint to v1.61.0 (#4461)
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Sep 10, 2024
2 parents 125f2e8 + b7405de commit 84c8956
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ linters:
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
- bidichk
- exportloopref
- bidichk
- errname
- forbidigo
- gocritic
Expand All @@ -42,7 +41,7 @@ linters:
- nolintlint
- tenv
- unconvert
- unused
- unused
- whitespace
# Run only fast linters from enabled linters set (first run won't be fast)
# Default: false
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lint: scripts/golangci-lint
.PHONY: lint

scripts/golangci-lint: Makefile
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./scripts v1.60.1
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./scripts v1.61.0

## jslint: enforce a consistent code style for Js code
jslint: scripts/node_modules
Expand Down

0 comments on commit 84c8956

Please sign in to comment.