Exclude generated types from linting.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
6f7b69b63f
commit
4bfa2e634c
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
source "${MAKEDIR}/.validate"
|
||||
|
||||
IFS=$'\n'
|
||||
files=( $(validate_diff --diff-filter=ACMR --name-only -- '*.go' | grep -v '^vendor/' || true) )
|
||||
files=( $(validate_diff --diff-filter=ACMR --name-only -- '*.go' | grep -v '^vendor/' | grep -v '^api/types/' || true) )
|
||||
unset IFS
|
||||
|
||||
errors=()
|
||||
|
|
Loading…
Reference in a new issue