diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-04 23:29:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-05 12:23:19 +0200 |
| commit | 48b44e1ce06df8ab8a8571866e2cc658012103a2 (patch) | |
| tree | b1d2b70d05326fa27d435b156457f4a74c0bcb2c /.golangci.yml | |
| parent | 2b2857bd2191458a131689502224abfe9cdd7a4a (diff) | |
.golangci.yml: reenable dupl checker
At some point it was enabled, but then somehow got disabled.
Re-enable and fix some regressions.
Diffstat (limited to '.golangci.yml')
| -rw-r--r-- | .golangci.yml | 8 |
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 |
