You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/vendor/github.com/jeandeaual/go-locale/.golangci.yml

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
- golint
- 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)