Browse Source

.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>
pull/9649/head
Mateusz Gozdek 3 years ago committed by Julien Pivotto
parent
commit
ce65883588
  1. 3
      .golangci.yml

3
.golangci.yml

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

Loading…
Cancel
Save