Skip to content

Build Go linters from lintpack-compatible packages. Also serves as a framework for writing checkers.

License

Notifications You must be signed in to change notification settings

go-lintpack/lintpack

Repository files navigation

Build Status Go Report Card

Quick start / Installation / Usage

Install lintpack:

go get -v -u github.com/go-lintpack/lintpack/...

Install checkers from go-critic/checkers:

# You'll need to have sources under your Go workspace first:
go get -v -u github.com/go-critic/go-critic/...
# Now build a linter that includes all checks from that package:
lintpack build -o gocritic github.com/go-critic/go-critic/checkers
# Executable gocritic is created and can be used as a standalone linter.

Produced binary includes basic help as well as supported checks documentation.

So, the process is simple:

  • Get the lintpack linter builder
  • Build linter from checks implemented in different repos, by various vendors

About

Build Go linters from lintpack-compatible packages. Also serves as a framework for writing checkers.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •