mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
.golangci.yml: disable varcheck and deadcode
varcheck and deadcode conflict with unused, creating a different output file (reporting the same errors) on different runs. With code-climate reporting, this can result in an equal number of false positives and false negatives when comparing successive runs, with no node changes.
This commit is contained in:
parent
fe8978aa4f
commit
ec510fe656
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,6 @@ linters:
|
|||
disable-all: true
|
||||
enable:
|
||||
- bodyclose
|
||||
- deadcode
|
||||
- depguard
|
||||
- dogsled
|
||||
- dupl
|
||||
|
|
@ -265,15 +264,16 @@ linters:
|
|||
- unconvert
|
||||
- unparam
|
||||
- unused
|
||||
- varcheck
|
||||
- whitespace
|
||||
# don't enable:
|
||||
# - deadcode
|
||||
# - gochecknoglobals
|
||||
# - gochecknoinits
|
||||
# - gocyclo
|
||||
# - lll
|
||||
# - maligned
|
||||
# - prealloc
|
||||
# - varcheck
|
||||
|
||||
issues:
|
||||
# List of regexps of issue texts to exclude, empty list by default.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue