From 00d1890dd0487a079a14fff3ac57b22a0655c70d Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Tue, 17 Sep 2019 15:21:31 +0200 Subject: [PATCH 1/2] lint: skip files generated for mobile --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 0ab310bd..e00edaa1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,6 +6,10 @@ run: # worker. concurrency: 1 + # Skip autogenerated files for mobile. + skip-files: + - "mobile\\/.*generated\\.go" + build-tags: - autopilotrpc - chainrpc From 504a910def01c3db57a24269b882e931bfee7ebf Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 18 Sep 2019 09:07:53 +0200 Subject: [PATCH 2/2] make: run linter on verbose --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9b00c71..19b48ff1 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ include make/testing_flags.mk DEV_TAGS := $(if ${tags},$(DEV_TAGS) ${tags},$(DEV_TAGS)) -LINT = $(LINT_BIN) run +LINT = $(LINT_BIN) run -v GREEN := "\\033[0;32m" NC := "\\033[0m"