aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronica Radu <veronicaradu@google.com>2019-09-17 12:24:38 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-09-17 13:02:55 +0200
commit13dcda9b39492dcd91150df7d867bbe2a44cc5e6 (patch)
tree5ce6b61d27295797d5614abb0b57f2ad4afe8082
parent51ca0454d75437183e240f7e23165fe5458908e5 (diff)
updated golangci.yml to exclude new errors
-rw-r--r--.golangci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 69fca755c..5cf621209 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -58,6 +58,10 @@ issues:
- "exported .* should have comment"
- "comment on .* should be of the form"
- "declaration of \"err\" shadows"
+ - "should not use ALL_CAPS in Go names"
+ - "at least one file in a package should have a package comment"
+ - "methods on the same type should have the same receiver name"
+ - "assigning the result of this type assertion to a variable"
exclude-rules:
- path: (pkg/csource/generated.go|pkg/report/linux.go|pkg/build/linux_generated.go)
linters: