[#53] Disable the dupl linter
dupl produces too many false positives to continue to be useful. This change disables it. Change-Id: I696160890b0a69aacb28977dfee268f14d3c6c20
This commit is contained in:
parent
24542ca8bc
commit
855fecc45e
@ -62,10 +62,6 @@ output:
|
|||||||
# all available settings of specific linters
|
# all available settings of specific linters
|
||||||
linters-settings:
|
linters-settings:
|
||||||
|
|
||||||
dupl:
|
|
||||||
# tokens count to trigger issue, 150 by default if not set here
|
|
||||||
threshold: 150
|
|
||||||
|
|
||||||
errcheck:
|
errcheck:
|
||||||
# report about not checking of errors in type assertions: `a := b.(MyStruct)`;
|
# report about not checking of errors in type assertions: `a := b.(MyStruct)`;
|
||||||
# default is false: such cases aren't reported by default.
|
# default is false: such cases aren't reported by default.
|
||||||
@ -183,7 +179,6 @@ linters-settings:
|
|||||||
linters:
|
linters:
|
||||||
disable-all: true
|
disable-all: true
|
||||||
enable:
|
enable:
|
||||||
- dupl # Tool for code clone detection
|
|
||||||
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
|
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
|
||||||
- goconst # Finds repeated strings that could be replaced by a constant
|
- goconst # Finds repeated strings that could be replaced by a constant
|
||||||
- gocritic # The most opinionated Go source code linter
|
- gocritic # The most opinionated Go source code linter
|
||||||
|
Loading…
Reference in New Issue
Block a user