Skip to content

Commit

Permalink
golangci: Enable unparam linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Oct 12, 2023
1 parent 450ea60 commit f24ef72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ linters:
- noctx # HTTP requests are passed a Context
- nolintlint # bad "nolint" directives
- predeclared # no identifiers in Go's list of predeclared identifiers, see <https://go.dev/ref/spec#Predeclared_identifiers>
- unparam # no unused function parameters or return values

linters-settings:
# see: <https://golangci-lint.run/usage/linters/#dupword>, <https://github.com/Abirdcfly/dupword>
Expand Down

0 comments on commit f24ef72

Please sign in to comment.