2019-07-11 10:44:12 +00:00
|
|
|
---
|
|
|
|
run:
|
|
|
|
concurrency: 6
|
|
|
|
deadline: 5m
|
2020-01-13 11:00:08 +00:00
|
|
|
skip-dirs-use-default: true
|
2019-07-11 10:44:12 +00:00
|
|
|
skip-dirs:
|
|
|
|
- contrib
|
2020-01-13 19:06:42 +00:00
|
|
|
- dependencies
|
2019-07-11 10:44:12 +00:00
|
|
|
skip-files:
|
2020-01-13 19:13:00 +00:00
|
|
|
- swagger.go
|
2020-06-25 21:38:33 +00:00
|
|
|
modules-download-mode: readonly
|
2019-07-11 10:44:12 +00:00
|
|
|
linters:
|
2020-01-13 11:03:57 +00:00
|
|
|
enable-all: true
|
|
|
|
disable:
|
2020-06-25 21:38:33 +00:00
|
|
|
# All these break for one reason or another
|
2021-02-09 18:23:32 +00:00
|
|
|
- nolintlint
|
|
|
|
- gocognit
|
|
|
|
- testpackage
|
|
|
|
- goerr113
|
|
|
|
- exhaustivestruct
|
|
|
|
- errorlint
|
|
|
|
- wrapcheck
|
|
|
|
- paralleltest
|
|
|
|
- wsl
|
|
|
|
- godox
|
|
|
|
- tparallel
|
|
|
|
- gomnd
|
|
|
|
- nlreturn
|
|
|
|
- noctx
|
|
|
|
- nestif
|
|
|
|
- predeclared
|
|
|
|
- thelper
|
|
|
|
- ifshort
|
|
|
|
- staticcheck
|
|
|
|
- forbidigo
|
|
|
|
- exhaustive
|
|
|
|
- unparam
|
|
|
|
- gofumpt
|
|
|
|
- gci
|
|
|
|
- godot
|
|
|
|
- makezero
|
2020-01-13 11:03:57 +00:00
|
|
|
- dupl
|
|
|
|
- funlen
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- goconst
|
|
|
|
- gocyclo
|
|
|
|
- lll
|
2020-06-25 21:38:33 +00:00
|
|
|
- unconvert
|
|
|
|
- errcheck
|
|
|
|
- gocritic
|
|
|
|
- gosec
|
2020-01-13 11:03:57 +00:00
|
|
|
- maligned
|
2020-04-02 22:58:23 +00:00
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
check-blank: false
|
|
|
|
ignore: encoding/json:^Unmarshal,fmt:.*
|