
1. Support unparam linter and fix found issues 2. Replace forked mvdan.cc/lint and mvdan.cc/interfacer with the upstream ones 3. Minimize forked megacheck: move the most of it's code to this repo 4. Use golang.org/x/tools/go/ssa import path instead of custom fork paths 5. In golang.org/x/tools/go/{ssa,callgraph} use changed code from honnef.co/go/tools 6. Add megacheck.check-unexported option: it found some issues in the repo, fixed them all
28 lines
837 B
Markdown
28 lines
837 B
Markdown
# lint
|
|
|
|
[](https://godoc.org/mvdan.cc/lint)
|
|
[](https://travis-ci.org/mvdan/lint)
|
|
|
|
Work in progress. Its API might change before the 1.0 release.
|
|
|
|
This package intends to define simple interfaces that Go code checkers
|
|
can implement. This would simplify calling them from Go code, as well as
|
|
running multiple linters while sharing initial loading work.
|
|
|
|
### metalint
|
|
|
|
go get -u mvdan.cc/lint/cmd/metalint
|
|
|
|
The start of a linter that runs many linters leveraging the common
|
|
interface. Not stable yet.
|
|
|
|
Linters included:
|
|
|
|
* [unparam](https://mvdan.cc/unparam)
|
|
* [interfacer](https://github.com/mvdan/interfacer)
|
|
|
|
### Related projects
|
|
|
|
* [golinters](https://github.com/thomasheller/golinters) - Report on
|
|
linter support
|