2019-05-17 17:23:20 +02:00
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
2020-05-08 10:59:45 +02:00
|
|
|
- wsl
|
2019-05-17 17:23:20 +02:00
|
|
|
- gocyclo
|
2020-05-08 10:59:45 +02:00
|
|
|
- gocognit
|
|
|
|
- funlen
|
|
|
|
- lll
|
|
|
|
- dogsled
|
|
|
|
- gomnd
|
|
|
|
- nestif
|
|
|
|
- testpackage
|
|
|
|
- godot
|
|
|
|
- goerr113
|
2020-08-01 13:10:34 +02:00
|
|
|
- gofumpt
|
2021-01-04 23:48:36 +01:00
|
|
|
- exhaustivestruct
|
2019-05-17 17:23:20 +02:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- text: "TLS InsecureSkipVerify may be true"
|
|
|
|
linters:
|
|
|
|
- gosec
|
|
|
|
|
|
|
|
- text: ifElseChain
|
|
|
|
linters:
|
|
|
|
- gocritic
|
|
|
|
|
2019-05-21 20:52:50 +02:00
|
|
|
- path: cli\\cmd\\.+\.go
|
2019-05-17 17:23:20 +02:00
|
|
|
linters:
|
|
|
|
- gochecknoinits
|
|
|
|
- gochecknoglobals
|
|
|
|
|
|
|
|
- path: cli/cmd/.+\.go
|
|
|
|
linters:
|
|
|
|
- gochecknoinits
|
|
|
|
- gochecknoglobals
|
|
|
|
|
2020-05-08 10:59:45 +02:00
|
|
|
- path: helper/useragents.go
|
|
|
|
linters:
|
|
|
|
- gochecknoglobals
|
|
|
|
|
2019-05-17 17:23:20 +02:00
|
|
|
- path: _test\.go
|
|
|
|
linters:
|
|
|
|
- scopelint
|