2020-06-18 07:51:21 +03:00
|
|
|
run:
|
2022-05-24 07:23:02 +03:00
|
|
|
timeout: 10m
|
2022-04-19 19:35:01 +03:00
|
|
|
skip-dirs:
|
|
|
|
- vendor/portal
|
2022-05-27 20:10:11 +03:00
|
|
|
- vendor
|
|
|
|
skip-dirs-use-default: true
|
|
|
|
modules-download-mode: vendor
|
2020-06-18 07:51:21 +03:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
2020-11-14 03:07:17 +03:00
|
|
|
- linters:
|
|
|
|
- staticcheck
|
|
|
|
text: "SA1019: codec.BasicHandle is deprecated"
|
2022-04-19 19:35:01 +03:00
|
|
|
# This is set to false to disregard the default EXC0011 exclusion
|
|
|
|
# which shadows all the ST* checks. Refer https://github.com/golangci/golangci-lint/issues/2281
|
|
|
|
exclude-use-default: false
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
stylecheck:
|
2022-04-26 04:16:23 +03:00
|
|
|
# added additional checks for comments in Go.
|
2022-04-19 19:35:01 +03:00
|
|
|
# Refer https://staticcheck.io/docs/options#checks for details
|
2022-05-02 17:38:27 +03:00
|
|
|
checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022"]
|
|
|
|
dot-import-whitelist:
|
|
|
|
- github.com/onsi/ginkgo
|
|
|
|
- github.com/onsi/gomega
|
2022-04-19 19:35:01 +03:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- unused
|
|
|
|
- deadcode
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- staticcheck
|
|
|
|
- whitespace
|
2022-05-02 17:38:27 +03:00
|
|
|
- stylecheck
|