From ce658835880a4baf3ee5327bf58a2b641aa3e56a Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 22 Oct 2021 10:26:56 +0200 Subject: [PATCH] .golangci.yml: don't lint autogenerated files So when we enable linters for formatting, they do not complain about those files. Refs #9557 Signed-off-by: Mateusz Gozdek --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index f9d72c01e..bc5d5c8d1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,8 @@ run: deadline: 5m + skip-files: + # Skip autogenerated files. + - ^.*\.(pb|y)\.go$ linters: enable: