open-consul/.golangci.yml
Daniel Nephin 2e0f750f1a Add unconvert linter
To find unnecessary type convertions
2020-05-12 13:47:25 -04:00

19 lines
284 B
YAML

linters:
disable-all: true
enable:
- gofmt
- govet
- unconvert
issues:
# Disable the default exclude list so that all excludes are explicitly
# defined in this file.
exclude-use-default: false
linters-settings:
gofmt:
simplify: false
run:
timeout: 5m