Skip to content

Commit

Permalink
No need to set Go version in golangci-lint anymore (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
didrocks committed Sep 5, 2023
2 parents 17905dd + 40d603c commit a28f5e0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,11 @@ nolintlint:
require-specific: true

linters-settings:
# Forbid the usage of deprecated ioutil and debug prints
# Forbid the usage of deprecated ioutil and debug prints
forbidigo:
forbid:
- ioutil\.
- ^print.*$
# Never have naked return ever
nakedret:
max-func-lines: 1
staticcheck:
# Should be better for it to be autodetected
# https://github.com/golangci/golangci-lint/issues/2234
go: "1.20"

0 comments on commit a28f5e0

Please sign in to comment.