2020-03-12 01:18:03 +00:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- govet
|
2020-04-16 17:35:28 +00:00
|
|
|
- unconvert
|
2020-05-14 21:02:52 +00:00
|
|
|
- staticcheck
|
2020-06-05 22:08:30 +00:00
|
|
|
- ineffassign
|
2020-03-12 01:18:03 +00:00
|
|
|
|
|
|
|
issues:
|
|
|
|
# Disable the default exclude list so that all excludes are explicitly
|
|
|
|
# defined in this file.
|
|
|
|
exclude-use-default: false
|
|
|
|
|
2020-05-14 21:02:52 +00:00
|
|
|
exclude-rules:
|
|
|
|
# Temp Ignore SA9004: only the first constant in this group has an explicit type
|
|
|
|
# https://staticcheck.io/docs/checks#SA9004
|
|
|
|
- linters: [staticcheck]
|
|
|
|
text: "SA9004:"
|
|
|
|
|
2020-03-12 01:18:03 +00:00
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
2020-06-16 17:19:31 +00:00
|
|
|
simplify: true
|
2020-03-24 20:14:12 +00:00
|
|
|
|
|
|
|
run:
|
2020-06-03 20:50:35 +00:00
|
|
|
timeout: 10m
|