Skip to content

Commit

Permalink
updating our linter and fixing the current linter issues (#2907)
Browse files Browse the repository at this point in the history
Signed-off-by: Yolan Romailler <[email protected]>
  • Loading branch information
AnomalRoil authored Jul 7, 2024
1 parent 2761bea commit 2a190ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
version: v1.57.1 # we have a list of linters in our .golangci.yml config file
version: v1.59.1 # we have a list of linters in our .golangci.yml config file
only-new-issues: true
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run:
go: "1.22"

linters-settings:
errcheck:
exclude-functions:
- fmt.Fprint
- fmt.Fprintf
- fmt.Fprintln
gocyclo:
min-complexity: 22
cyclop:
Expand Down

0 comments on commit 2a190ed

Please sign in to comment.