Browse Source
cleanup: fix order of linters in the golangci-lint config (#6910 )
This is a cosmetic change that restores lexicographic order to the selected
linters in the CI config. No change to which linters we run, only putting them
back in order so it's easier to spot the one you care about.
pull/6911/head
M. J. Fromberger
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
.golangci.yml
@ -1,14 +1,17 @@
linters:
linters:
enable:
enable:
- asciicheck
- bodyclose
- bodyclose
- deadcode
- deadcode
- depguard
- depguard
- dogsled
- dogsled
- dupl
- dupl
- errcheck
- errcheck
- exportloopref
# - funlen
# - funlen
# - gochecknoglobals
# - gochecknoglobals
# - gochecknoinits
# - gochecknoinits
# - gocognit
- goconst
- goconst
- gocritic
- gocritic
# - gocyclo
# - gocyclo
@ -22,11 +25,11 @@ linters:
- ineffassign
- ineffassign
# - interfacer
# - interfacer
- lll
- lll
- misspell
# - maligned
# - maligned
- misspell
- nakedret
- nakedret
- nolintlint
- prealloc
- prealloc
- exportloopref
- staticcheck
- staticcheck
- structcheck
- structcheck
- stylecheck
- stylecheck
@ -37,9 +40,6 @@ linters:
- varcheck
- varcheck
# - whitespace
# - whitespace
# - wsl
# - wsl
# - gocognit
- nolintlint
- asciicheck
issues:
issues:
exclude-rules:
exclude-rules: