dev: update goreleaser config and add golangci.com configuration

This commit is contained in:
Denis Isaev 2019-01-21 10:48:47 +03:00 committed by Isaev Denis
parent 99f4934030
commit 41cfba28c5
2 changed files with 14 additions and 0 deletions

View File

@ -44,3 +44,10 @@ linters:
run:
skip-dirs:
- test/testdata_etc
# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.13.x # use fixed version to not introduce new linters unexpectedly
prepare:
- echo "here I can run custom commands, but no preparation needed"

View File

@ -784,6 +784,13 @@ linters:
run:
skip-dirs:
- test/testdata_etc
# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.13.x # use fixed version to not introduce new linters unexpectedly
prepare:
- echo "here I can run custom commands, but no preparation needed"
```
## False Positives