File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,10 @@ linters:
4444run :
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"
Original file line number Diff line number Diff line change @@ -784,6 +784,13 @@ linters:
784784run:
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
You can’t perform that action at this time.
0 commit comments