Skip to content

Commit

Permalink
Travis: aligncheck linter is replaced by maligned linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Jun 23, 2018
1 parent cf97a1a commit 91e1ce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/script
Expand Up @@ -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.
Expand All @@ -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 \
Expand All @@ -33,6 +32,7 @@ gometalinter.v2 --enable-all \
--disable=golint \
--disable=ineffassign \
--disable=lll \
--disable=maligned \
--disable=nakedret \
--disable=staticcheck \
--disable=test \
Expand All @@ -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 \
Expand Down

0 comments on commit 91e1ce4

Please sign in to comment.