diff --git a/.golangci.yml b/.golangci.yml index 6d3910c7f5d1..9e3eece714de 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,6 +18,7 @@ run: # from this option's value (see skip-dirs-use-default). skip-dirs: - third_party + - local # default is true. Enables skipping of directories: # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ diff --git a/Makefile.Common b/Makefile.Common index 63ef45500820..d0bf2d778004 100644 --- a/Makefile.Common +++ b/Makefile.Common @@ -24,6 +24,7 @@ ALL_PKG_DIRS := $(shell $(GOCMD) list -f '{{ .Dir }}' ./... | sort) ALL_SRC := $(shell find $(ALL_PKG_DIRS) -name '*.go' \ -not -path '*/third_party/*' \ + -not -path '*/local/*' \ -type f | sort) # All source code and documents. Used in spell check.