0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-25 07:30:38 +00:00
git-sv/.golangci.yml

36 lines
565 B
YAML
Raw Normal View History

linters:
2021-07-31 20:35:15 +00:00
enable:
- tagliatelle
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