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 <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-02-16 13:18:18 -06:00
parent 6565265bee
commit acbeb93f79
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# https://github.com/golangci/golangci-lint#config-file # https://github.com/golangci/golangci-lint#config-file
run: run:
deadline: 1m deadline: 1m
skip-dirs:
- generated
linters: linters:
disable-all: true disable-all: true