Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

Commit

Permalink
Use new, stateful lint API
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikh committed Nov 19, 2016
1 parent 1808e1b commit 5209bb5
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 96 deletions.
3 changes: 2 additions & 1 deletion cmd/staticcheck/staticcheck.go
Expand Up @@ -16,5 +16,6 @@ func main() {
}
args = append(args, arg)
}
lintutil.ProcessArgs("staticcheck", staticcheck.Funcs, args)
c := staticcheck.NewChecker()
lintutil.ProcessArgs("staticcheck", c, args)
}

0 comments on commit 5209bb5

Please sign in to comment.