From acbeb93f79f03b394098cc89706ce1862777d224 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Tue, 16 Feb 2021 13:18:18 -0600 Subject: [PATCH] Don't lint generated code. This wasn't needed before because the other code wasn't in the main module and golangci-lint won't cross a module boundary. Signed-off-by: Matt Moyer --- .golangci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yaml b/.golangci.yaml index 036d9695..543431cd 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,8 @@ # https://github.com/golangci/golangci-lint#config-file run: deadline: 1m + skip-dirs: + - generated linters: disable-all: true