From 91e1ce429adc91c9682106b19335722cd89192d7 Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Sat, 23 Jun 2018 09:14:17 +0000 Subject: [PATCH] Travis: aligncheck linter is replaced by maligned linter. --- .travis/script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/script b/.travis/script index 8e8e85c..ff14bda 100644 --- a/.travis/script +++ b/.travis/script @@ -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 \