2020-03-11 21:18:03 -04:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- govet
|
2020-04-16 13:35:28 -04:00
|
|
|
- unconvert
|
2020-05-14 17:02:52 -04:00
|
|
|
- staticcheck
|
2020-03-11 21:18:03 -04:00
|
|
|
|
|
|
|
issues:
|
|
|
|
# Disable the default exclude list so that all excludes are explicitly
|
|
|
|
# defined in this file.
|
|
|
|
exclude-use-default: false
|
|
|
|
|
2020-05-14 17:02:52 -04: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:"
|
|
|
|
|
|
|
|
# Temp ignore SA4006: this value of `x` is never used
|
|
|
|
- linters: [staticcheck]
|
|
|
|
text: "SA4006:"
|
|
|
|
|
|
|
|
# Temp ignore SA2002: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test
|
|
|
|
- linters: [staticcheck]
|
|
|
|
text: "SA2002:"
|
|
|
|
|
2020-03-11 21:18:03 -04:00
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
|
|
|
simplify: false
|
2020-03-24 16:14:12 -04:00
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 5m
|