2021-07-22 23:07:18 +00:00
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- scopelint
|
|
|
|
- paralleltest
|
|
|
|
- noctx
|
2021-07-31 19:40:18 +00:00
|
|
|
- godox
|
2021-07-22 23:07:18 +00:00
|
|
|
- wsl
|
|
|
|
- lll
|
|
|
|
- forbidigo
|
2021-07-31 19:40:18 +00:00
|
|
|
- nlreturn
|
|
|
|
- gomnd
|
2021-07-22 23:07:18 +00:00
|
|
|
fast: true
|
|
|
|
|
|
|
|
run:
|
|
|
|
skip-dirs:
|
|
|
|
- build
|
|
|
|
- artifacts
|
2021-07-31 19:40:18 +00:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
tagliatelle:
|
|
|
|
case:
|
|
|
|
use-field-name: true
|
|
|
|
rules:
|
|
|
|
json: camel
|
|
|
|
yaml: kebab
|
|
|
|
xml: camel
|
|
|
|
bson: camel
|
|
|
|
avro: snake
|
|
|
|
mapstructure: kebab
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: _test\.go
|
|
|
|
linters:
|
|
|
|
- gocyclo
|
|
|
|
- errcheck
|
|
|
|
- dupl
|
|
|
|
- gosec
|
|
|
|
- gochecknoglobals
|
|
|
|
- testpackage
|
|
|
|
- path: cmd/git-sv/main.go
|
|
|
|
linters:
|
|
|
|
- gochecknoglobals
|
2021-07-31 19:58:28 +00:00
|
|
|
- funlen
|