From a8292de95851bd79cba2006dd032e28142f06c25 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 23 Oct 2018 11:17:20 +0100 Subject: 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. --- .gometalinter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit mrf-deployment