Travis: aligncheck linter is replaced by maligned linter.

pull/77/head
JeremyRand 6 years ago
parent cf97a1a6a3
commit 91e1ce429a
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -14,7 +14,7 @@ fi
gometalinter.v2 --install
# aligncheck is disabled because of these comments:
# maligned is disabled because of these comments:
# * https://www.reddit.com/r/golang/comments/3lahav/aligncheck_helps_to_find_inefficiently_packed/cv4u4lg/
# * https://www.reddit.com/r/golang/comments/3lahav/aligncheck_helps_to_find_inefficiently_packed/cv5wnom/
# test is disabled because we already do tests earlier in the script.
@ -23,7 +23,6 @@ gometalinter.v2 --install
echo ""
echo "gometalinter critical (should be no warnings):"
gometalinter.v2 --enable-all \
--disable=aligncheck \
--disable=deadcode \
--disable=dupl \
--disable=errcheck \
@ -33,6 +32,7 @@ gometalinter.v2 --enable-all \
--disable=golint \
--disable=ineffassign \
--disable=lll \
--disable=maligned \
--disable=nakedret \
--disable=staticcheck \
--disable=test \
@ -48,7 +48,7 @@ STATICRESULT1=$?
echo ""
echo "gometalinter non-critical (warnings expected):"
gometalinter.v2 --enable-all \
--disable=aligncheck \
--disable=maligned \
--disable=test \
--concurrency=3 \
--deadline=10m \

Loading…
Cancel
Save