aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-06 07:55:42 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-07 10:41:01 +0200
commit21b79583f15c7626926fc9f4fb528147a59ea3c5 (patch)
treec5b222bf854cda3a4cfbb420b7be3166fef74299 /.golangci.yml
parent70854cd639d40c037ac8bee3e35da1da6a1cea87 (diff)
.golangci.yml: enable receiver name check for pkg/ast
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 3a3f2e214..baddf8c2c 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -105,7 +105,7 @@ issues:
- lll
- path: (sys/.*/init.*|sys/targets/common.go)
text: "don't use ALL_CAPS in Go names|should not use ALL_CAPS in Go names"
- - path: (prog/.*|pkg/ast/.*)
+ - path: (prog/.*)
text: "methods on the same type should have the same receiver name"
# TODO: this is bad, need to fix and remove the suppression.
- path: (pkg/report/(net|open)bsd.*)