Skip to content

Commit 6ed7c36

Browse files
authored
testing: allow dead code in PRs (#93)
@cflewis: "It doesn't even detect dead methods." Unblocks #68
1 parent 5421a5f commit 6ed7c36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/checkpr.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ mapfile -t lintdirs < <( find . -type d \
6262
golangci-lint run \
6363
--new-from-rev="$mergebase" \
6464
--print-welcome=false \
65-
--disable=varcheck \
65+
--disable=deadcode \
6666
--disable=typecheck \
67+
--disable=varcheck \
6768
"${lintdirs[@]}" || exit 1

0 commit comments

Comments
 (0)