2021-07-22 18:07:18 -05:00
|
|
|
linters:
|
2021-07-31 17:35:15 -03:00
|
|
|
enable:
|
|
|
|
- tagliatelle
|
2021-07-22 18:07:18 -05:00
|
|
|
|
|
|
|
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
|
2021-07-31 16:58:28 -03:00
|
|
|
- funlen
|