From a4b40f92c42a0e1dcc0bd5796418010a31b45558 Mon Sep 17 00:00:00 2001 From: Marco Vito Moscaritolo Date: Wed, 15 Aug 2018 22:05:39 +0200 Subject: [PATCH] force misspell to fail when error is found and exclude vendor from checks --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c96ec8c..4853434f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ script: - gosimple $(go list ./...) - unparam $(go list ./...) - staticcheck $(go list ./...) - - misspell $(git ls-files | grep -v /vendor/) + - misspell -error $(git ls-files | grep -v vendor/)