Browse Source

Exclude generated types from linting.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 8 years ago
parent
commit
4bfa2e634c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/make/validate-lint

+ 1 - 1
hack/make/validate-lint

@@ -3,7 +3,7 @@
 source "${MAKEDIR}/.validate"
 source "${MAKEDIR}/.validate"
 
 
 IFS=$'\n'
 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
 unset IFS
 
 
 errors=()
 errors=()