Commit 59f49603 authored by Matthias Käppler's avatar Matthias Käppler Committed by Nick Thomas

Exclude dot-files from being linted

This was matching `.go` files in my local `.git` folder.

Let's just exclude all hidden files.
parent b5dab707
......@@ -22,7 +22,7 @@ export PATH := $(GOBIN):$(PATH)
export GOPROXY ?= https://proxy.golang.org
export GO111MODULE=on
LOCAL_GO_FILES = $(shell find . -type f -name '*.go' | grep -v -e /_ -e /testdata/)
LOCAL_GO_FILES = $(shell find . -type f -name '*.go' | grep -v -e /_ -e /testdata/ -e '^\./\.')
define message
@echo "### $(1)"
......
---
title: Exclude dot-files from "make fmt" target
merge_request: 641
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment