Skip to content

Commit

Permalink
Fix linter rename goerr113 to err113
Browse files Browse the repository at this point in the history
  • Loading branch information
JenswBE committed May 7, 2024
1 parent 37b1796 commit a42a723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
version: latest
args: >-
--timeout=5m
--disable errorlint,goerr113,nestif,noctx,wrapcheck
--disable errorlint,err113,nestif,noctx,wrapcheck
--exclude 'name will be used as .+ by other packages'
--exclude 'reassigning variable ErrorStackMarshaler in other package zerolog'
Expand Down
2 changes: 1 addition & 1 deletion lint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This script is intended to be sourced like "source lint.sh" or ". lint.sh".
golangci-lint run \
--config <(curl --silent https://raw.githubusercontent.com/JenswBE/setup/main/programming_configs/golang/.golangci.yml) \
--disable errorlint,goerr113,nestif,noctx,wrapcheck \
--disable errorlint,err113,nestif,noctx,wrapcheck \
--exclude 'name will be used as .+ by other packages' \
--exclude 'reassigning variable ErrorStackMarshaler in other package zerolog'

0 comments on commit a42a723

Please sign in to comment.