From 41cfba28c57760361ac6270585fd43cbc2c076c7 Mon Sep 17 00:00:00 2001 From: Denis Isaev <denis@golangci.com> Date: Mon, 21 Jan 2019 10:48:47 +0300 Subject: [PATCH] dev: update goreleaser config and add golangci.com configuration --- .golangci.yml | 7 +++++++ README.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 10969f8b..7934cc7e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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" diff --git a/README.md b/README.md index b9c3fc75..d52ece51 100644 --- a/README.md +++ b/README.md @@ -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