Skip to content

Commit

Permalink
chore: Update .golangci.yml
Browse files Browse the repository at this point in the history
Made with ❤️️ by updatecli
  • Loading branch information
apmmachine committed Jan 3, 2024
1 parent 2e30b70 commit 233b979
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ linters-settings:

gosimple:
# Select the Go version to target. The default is '1.13'.
go: "1.21.5"
go: "1.20.11"

nakedret:
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
Expand All @@ -132,19 +132,19 @@ linters-settings:

staticcheck:
# Select the Go version to target. The default is '1.13'.
go: "1.21.5"
go: "1.20.11"
checks: ["all"]

stylecheck:
# Select the Go version to target. The default is '1.13'.
go: "1.21.5"
go: "1.20.11"
# Disabled:
# ST1005: error strings should not be capitalized
checks: ["all", "-ST1005"]

unused:
# Select the Go version to target. The default is '1.13'.
go: "1.21.5"
go: "1.20.11"

gosec:
excludes:
Expand Down

0 comments on commit 233b979

Please sign in to comment.