Skip to content

Commit 7116233

Browse files
committed
Increase thresholds for remaining linters and enable
1 parent 49e3bb7 commit 7116233

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ golint -set_exit_status ./pkg/...
112112
header_text "running gometalinter.v2"
113113

114114
gometalinter.v2 --disable-all \
115+
--deadline 5m \
115116
--enable=misspell \
116117
--enable=structcheck \
117118
--enable=golint \
@@ -127,10 +128,13 @@ gometalinter.v2 --disable-all \
127128
--enable=interfacer \
128129
--enable=misspell \
129130
--enable=gocyclo \
131+
--line-length=170 \
132+
--enable=lll \
133+
--dupl-threshold=250 \
134+
--enable=dupl \
130135
./pkg/...
131136
# TODO: Enable these as we fix them to make them pass
132137
# --enable=maligned \
133-
# --enable=dupl \
134138
# --enable=safesql \
135139

136140
header_text "running go test"

0 commit comments

Comments
 (0)