Denis Isaev 87aae77943 Update gocritic
Fix #324, relates #314

1. Update gocritic to the latest version
2. Use proper gocritic checkers repo, old repo was archived
3. Get enabled by default gocritic checks in sync with go-critic: don't
enable performance, experimental and opinionated checks by default
4. Support of `enabled-tags` options for gocritic
5. Enable almost all gocritic checks for the project
6. Make rich debugging for gocritic
7. Meticulously validate gocritic checks config
2019-01-09 09:51:48 +03:00
..
2019-01-09 09:51:48 +03:00
2018-11-07 09:11:08 +03:00

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/checkers
# Now build a linter that includes all checks from that package:
lintpack build -o gocritic github.com/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