0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-24 21:20:40 +00:00
git-sv/.golangci.yml
2021-07-31 16:58:28 -03:00

46 lines
693 B
YAML

linters:
enable-all: true
disable:
- scopelint
- paralleltest
- noctx
- godox
- wsl
- lll
- forbidigo
- nlreturn
- gomnd
fast: true
run:
skip-dirs:
- build
- artifacts
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