2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-10 13:10:26 +00:00
cointop/vendor/github.com/jeandeaual/go-locale/.golangci.yml
2021-11-22 19:39:11 +11:00

41 lines
738 B
YAML

run:
timeout: 5m
linters:
disable-all: true
enable:
# Default
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
# Manually enabled
- dupl
- gocyclo
- gofmt
- revive
- goprintffuncname
- lll
- misspell
- nakedret
- prealloc
- unconvert
- whitespace
linter-settings:
gocyclo:
# Minimal code complexity to report, 30 by default
min-complexity: 15
govet:
# Report about shadowed variables
check-shadowing: true
issues:
exclude-use-default: false
exclude:
# govet: Common false positives
- (possible misuse of unsafe.Pointer|should have signature)