Skip to content

Commit

Permalink
fix: have golangci-lint report its version
Browse files Browse the repository at this point in the history
  • Loading branch information
dgschwindturo committed Sep 5, 2023
1 parent 123aadf commit a5dbb1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hooks/golang/golangci-lint-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# There's a ton of available linters: https://golangci-lint.run/usage/linters
# We're using a large subset in addition to the defaults
lint_all() {
## Lets first report what version of golangi-lint is being run since it will
## not otherwise provide that information.
golangci-lint --version

golangci-lint run \
--allow-parallel-runners \
--fix \
Expand Down

0 comments on commit a5dbb1a

Please sign in to comment.