Skip to content

Commit 21ff714

Browse files
Remove dupl
Did this linter ever find something useful? Yain, but lots of false positives in tests, u8s and crashed in nxos-gnmi-go.
1 parent a829552 commit 21ff714

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.golangci.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ issues:
2323
- path: _test\.go
2424
linters:
2525
- bodyclose
26-
- dupl
2726
# '0' disables the following options.
2827
max-issues-per-linter: 0
2928
max-same-issues: 0
3029

3130
linters-settings:
32-
dupl:
33-
# Tokens count to trigger issue, 150 by default.
34-
threshold: 100
3531
errcheck:
3632
# Report about assignment of errors to blank identifier.
3733
check-blank: true
@@ -135,7 +131,6 @@ linters:
135131
- bodyclose
136132
- containedctx
137133
- copyloopvar
138-
- dupl
139134
- dupword
140135
- durationcheck
141136
- errcheck

internal/golangcilint/golangci_lint.go

-5
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,11 @@ issues:
4141
- path: _test\.go
4242
linters:
4343
- bodyclose
44-
- dupl
4544
# '0' disables the following options.
4645
max-issues-per-linter: 0
4746
max-same-issues: 0
4847
4948
linters-settings:
50-
dupl:
51-
# Tokens count to trigger issue, 150 by default.
52-
threshold: 100
5349
errcheck:
5450
# Report about assignment of errors to blank identifier.
5551
check-blank: true
@@ -166,7 +162,6 @@ linters:
166162
- bodyclose
167163
- containedctx
168164
- copyloopvar
169-
- dupl
170165
- dupword
171166
- durationcheck
172167
- errcheck

0 commit comments

Comments
 (0)