32 lines
792 B
YAML
32 lines
792 B
YAML
version: '2'
|
|
linters:
|
|
default: all
|
|
disable:
|
|
- wsl
|
|
- wrapcheck
|
|
- varnamelen
|
|
- revive # should probably be enabled
|
|
- nlreturn
|
|
- mnd # should probably be enabled
|
|
- lll # should probably be enabled
|
|
- ireturn # should probably be enabled
|
|
- interfacebloat
|
|
- iface
|
|
- goconst # should probably be enabled
|
|
- gocognit # should probably be enabled
|
|
- gochecknoglobals # should probably be enabled
|
|
- funlen
|
|
- maintidx
|
|
- exhaustruct
|
|
- dupword # should probably be enabled
|
|
- dupl # should probably be enabled
|
|
- depguard
|
|
- cyclop
|
|
- contextcheck
|
|
- bodyclose # i don't care in the tests, the implementation itself doesn't do http requests
|
|
- wsl_v5
|
|
- noinlineerr
|
|
settings:
|
|
nestif:
|
|
min-complexity: 6
|