Skip to content

Commit

Permalink
Turn lints back on
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jan 13, 2025
1 parent 2d470b4 commit 55f503a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ linters-settings:
# Put local imports after 3rd-party packages.
local-prefixes: github.com/sapcc/go-pmtud
gomoddirectives:
toolchain-forbidden: true
go-version-pattern: '1\.\d+(\.0)?$'
replace-allow-list:
# for go-pmtud
- github.com/mdlayher/arp
toolchain-forbidden: true
gosec:
excludes:
# gosec wants us to set a short ReadHeaderTimeout to avoid Slowloris attacks, but doing so would expose us to Keep-Alive race conditions (see https://iximiuz.com/en/posts/reverse-proxy-http-keep-alive-and-502s/)
Expand Down
3 changes: 1 addition & 2 deletions Makefile.maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ golang:
setGoModVersion: true

golangciLint:
# needed to allow replacements in go.mod
createConfig: false
createConfig: true
errcheckExcludes:
- (netlink).RouteGet

Expand Down

0 comments on commit 55f503a

Please sign in to comment.