aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 8c4834bcf..3b311bff1 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -40,6 +40,7 @@ linters:
- godot
- gocognit
- funlen
+ - dupl
disable:
- bodyclose
- depguard
@@ -108,3 +109,10 @@ issues:
- lll
- path: (sys/.*/init.*|sys/targets/common.go)
text: "don't use ALL_CAPS in Go names"
+ # TODO: this is bad, need to fix and remove the suppression.
+ - path: (pkg/report/(net|open)bsd.*)
+ linters:
+ - dupl
+ - path: (dashboard/app/.*_test\.go)
+ linters:
+ - dupl