aboutsummaryrefslogtreecommitdiff
path: root/golint.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-17 23:40:03 +0100
committerJakob Unterwurzacher2016-11-17 23:40:03 +0100
commit6f475da116edb7a86a809a25b6b47c70805ba219 (patch)
tree1d119ae3dfda5843993db611547e0a067f5ff746 /golint.bash
parent36b4e325ca59723462639fc6f2705eaa9b14ca68 (diff)
Fix golint warnings, add helper script
Diffstat (limited to 'golint.bash')
-rwxr-xr-xgolint.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/golint.bash b/golint.bash
new file mode 100755
index 0000000..4ab0e8c
--- /dev/null
+++ b/golint.bash
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+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"