Skip to content

Commit

Permalink
prevent replace directive with gomoddirectives
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock committed Oct 23, 2023
1 parent 57c3979 commit ad30351
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ linters:
- gofumpt
- goheader
- goimports
# manage use of replace, retract and exclude directives (see https://github.com/ossf/scorecard/pull/3440 for discussion)
# https://golangci-lint.run/usage/linters/#gomoddirectives
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
Expand Down

0 comments on commit ad30351

Please sign in to comment.