0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-06-02 17:39:39 +02:00
git-sv/.golangci.yml

46 lines
693 B
YAML
Raw Normal View History

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