.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 <mgozdekof@gmail.com>
This commit is contained in:
Mateusz Gozdek 2021-10-22 10:26:56 +02:00 committed by Julien Pivotto
parent b7bdf6fab2
commit ce65883588
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
run:
deadline: 5m
skip-files:
# Skip autogenerated files.
- ^.*\.(pb|y)\.go$
linters:
enable: