Skip to content

Commit 91f9d0d

Browse files
authored
Merge pull request #8373 from mook-as/golang-ci-lint/dupl
golangci-lint: Add dupl
2 parents fdae0a9 + 56b6a88 commit 91f9d0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ linters:
5252
- bodyclose
5353
- copyloopvar
5454
- dogsled
55+
- dupl
5556
- errcheck
5657
- goconst
5758
- gofmt
@@ -116,3 +117,6 @@ issues:
116117
linters: [ stylecheck ]
117118
text: "ST1003:"
118119
source: ^\s*[A-Z0-9_]+\s+=
120+
- # Don't de-duplicate different commands.
121+
path: src/go/rdctl/cmd/extension(Install|Uninstall)\.go$
122+
linters: [ dupl ]

0 commit comments

Comments
 (0)