Skip to content

Commit

Permalink
chore(lint): reduce exclude rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Oct 17, 2024
1 parent d81a975 commit fc2680f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,10 @@ issues:
exclude-rules:
- path: _test\.go
linters:
- dupl
- err113
- containedctx
- path: main\.go
text: File is not `goimports`-ed
linters:
- goimports
- path: main\.go
source: "go *"
text: Non-inherited new context, use function like `context.WithXXX` instead
linters:
- contextcheck
- path: pkg/provider/.*\.go
linters:
- dupl
- text: "mnd: Magic number: 0644*"
linters:
- mnd
- linters:
- lll
source: "^//go:generate "
- linters:
- lll
source: "^\\t+(defaultDNSIPv6AddrPort|defaultDoTIPv6AddrPort|netip.AddrFrom16)\\(.+\\),$"
Expand Down

0 comments on commit fc2680f

Please sign in to comment.