1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-18 11:12:10 +02:00
imgproxy/.golangci.yml

47 lines
763 B
YAML
Raw Normal View History

2019-09-10 18:45:34 +06:00
run:
skip-dirs:
- .tmp
- vendor
2019-09-10 18:45:34 +06:00
linters:
disable-all: true
enable:
- deadcode
# - errcheck
- gocritic
# - goconst
- goimports
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- stylecheck
- typecheck
- unused
- varcheck
linters-settings:
govet:
# report about shadowed variables
check-shadowing: true
issues:
exclude-rules:
# - path: _test\.go
# linters:
# - goconst
# False positives on CGO generated code
- linters: [staticcheck]
text: "SA4000:"
2021-04-26 17:52:50 +06:00
path: vips/*
2019-09-10 18:45:34 +06:00
# False positives on CGO generated code
- linters: [gocritic]
text: "dupSubExpr"
2021-04-26 17:52:50 +06:00
path: vips/*
2019-09-10 18:45:34 +06:00
- linters: [stylecheck]
text: "ST1005:"