35 lines
565 B
YAML
35 lines
565 B
YAML
linters:
|
|
enable:
|
|
- tagliatelle
|
|
|
|
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
|