1
0
Fork 0
git-sv/.golangci.yml

45 lines
692 B
YAML
Raw Normal View History

linters:
enable-all: true
disable:
- scopelint
- paralleltest
- noctx
2021-07-31 16:40:18 -03:00
- godox
- wsl
- lll
- forbidigo
2021-07-31 16:40:18 -03:00
- nlreturn
- gomnd
fast: true
run:
skip-dirs:
- build
- artifacts
2021-07-31 16:40:18 -03: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
- funlen