Skip to content

Commit

Permalink
chore: update linting config to enable ireturn
Browse files Browse the repository at this point in the history
  • Loading branch information
SiasMey committed Nov 28, 2024
1 parent c6103e3 commit 85cba5b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ linters:
- goconst # we want this
- gocritic # we want this
- intrange # later version of go
- ireturn # we want this
# - ireturn # we want this
- lll # we want this
- maintidx # we want this
- mnd # we want this todo: also see gomnd
Expand Down Expand Up @@ -108,4 +108,12 @@ issues:
- stylecheck
text: "ST1005:"

- linters:
- ireturn
path: internal/provider/resources

- linters:
- ireturn
path: internal/provider/util/retry.go

max-same-issues: 0

0 comments on commit 85cba5b

Please sign in to comment.