aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-10-23 11:17:20 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-10-23 11:17:20 +0100
commita8292de95851bd79cba2006dd032e28142f06c25 (patch)
treea41fb4480f5cf6e318ef5518d1ef5dfb84240eab
parent24fa2ad83622a4249ab0f402b12eb7cba2f5aee1 (diff)
gometalinter: ignore ALL_CAPS names in sys/openbsd/init.go
As we do for other OSes as they use OS constant names which are usually ALL_CAPS.
-rw-r--r--.gometalinter.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gometalinter.json b/.gometalinter.json
index 4df65fa8b..e135043b7 100644
--- a/.gometalinter.json
+++ b/.gometalinter.json
@@ -37,7 +37,7 @@
"lll"
],
"exclude": [
- "(sys/(akaros|freebsd|fuchsia|linux|netbsd|test|windows)/init.*|sys/targets/common.go).* don't use ALL_CAPS in Go names",
+ "(sys/.*/init.*|sys/targets/common.go).* don't use ALL_CAPS in Go names",
"exported .* should have comment",
"comment on .* should be of the form",
"declaration of \"err\" shadows",