Skip to content

Commit

Permalink
Use default config for nakedret linter
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Sep 30, 2024
1 parent 4f984d2 commit 2b0ce89
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ linters-settings:
# Select the Go version to target. The default is '1.13'.
go: "1.21.13"

nakedret:
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
max-func-lines: 0

nolintlint:
# Enable to ensure that nolint directives are all used. Default is true.
allow-unused: false
Expand Down

0 comments on commit 2b0ce89

Please sign in to comment.