aboutsummaryrefslogtreecommitdiff
path: root/golint.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-06-01 22:17:08 +0200
committerJakob Unterwurzacher2017-06-01 22:19:46 +0200
commitb3b10273b5bf5e1956278b5171a65653e688a08d (patch)
tree4dae0fbc4285e41dc82f19fd2495524906c70ad0 /golint.bash
parenta24faa3ba52c66dfc1707da5c8d001f2adff9ccc (diff)
golint: get rid of underscore warnings for good.
We got another warning for force_other: cli_args.go:26:45: don't use underscores in Go names; struct field force_owner should be forceOwner Use a broader grep.
Diffstat (limited to 'golint.bash')
-rwxr-xr-xgolint.bash3
1 files changed, 1 insertions, 2 deletions
diff --git a/golint.bash b/golint.bash
index 5040c12..be79ed1 100755
--- a/golint.bash
+++ b/golint.bash
@@ -4,8 +4,7 @@ OUTPUT=$(
golint ./... | \
grep -v "don't use an underscore in package name" | \
grep -v "don't use ALL_CAPS in Go names; use CamelCase" |
- grep -v "struct field allow_other should be allowOther" |
- grep -v "struct field serialize_reads should be serializeReads"
+ grep -v "don't use underscores in Go names"
)
# No output --> all good