From 5de474ef7bd6fe79244d59bdf1acffe7022d4e94 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Sun, 12 Jun 2016 14:16:55 +0900 Subject: [PATCH] use gometalinter for calling misspell, closes #135 --- check/misspell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/misspell.go b/check/misspell.go index 62df3c5..ad0493d 100644 --- a/check/misspell.go +++ b/check/misspell.go @@ -18,7 +18,7 @@ func (g Misspell) Weight() float64 { // Percentage returns the percentage of .go files that pass gofmt func (g Misspell) Percentage() (float64, []FileSummary, error) { - return GoTool(g.Dir, g.Filenames, []string{"gometalinter", "--deadline=180s", "--disable-all", "--linter", "misspell:misspell ./*.go:PATH:LINE:MESSAGE", "--enable=misspell"}) + return GoTool(g.Dir, g.Filenames, []string{"gometalinter", "--deadline=180s", "--disable-all", "--enable=misspell"}) } // Description returns the description of Misspell