Skip to content

Commit 41cfba2

Browse files
committed
dev: update goreleaser config and add golangci.com configuration
1 parent 99f4934 commit 41cfba2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.golangci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,10 @@ linters:
4444
run:
4545
skip-dirs:
4646
- test/testdata_etc
47+
48+
# golangci.com configuration
49+
# https://github.com/golangci/golangci/wiki/Configuration
50+
service:
51+
golangci-lint-version: 1.13.x # use fixed version to not introduce new linters unexpectedly
52+
prepare:
53+
- echo "here I can run custom commands, but no preparation needed"

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,13 @@ linters:
784784
run:
785785
skip-dirs:
786786
- test/testdata_etc
787+
788+
# golangci.com configuration
789+
# https://github.com/golangci/golangci/wiki/Configuration
790+
service:
791+
golangci-lint-version: 1.13.x # use fixed version to not introduce new linters unexpectedly
792+
prepare:
793+
- echo "here I can run custom commands, but no preparation needed"
787794
```
788795
789796
## False Positives

0 commit comments

Comments
 (0)