Skip to content

bzz/lookout-gometalint-analyzer

 
 

Repository files navigation

Build Status lookout analyzer: gometalint

A lookout analyzer implementation that uses gometalinter.

It only applies 6 checks from gometalinter that are file-level, and skips dir and package level ones.

Disclamer: this is not official product, but only serves the purpose of testing the lookout.

Build

make packages

will produce binaries for multiple architectures under ./build.

Dependencies

Requires stable version of gometalinter.v2 binary avabilable in PATH.

To install, do

go get -u gopkg.in/alecthomas/gometalinter.v2
gometalinter.v2 --install

This will also install a number of linter binaries, vendored by gometalinter.

Example of utilization

With lookout-sdk binary from the latest release of SDK

$ lookout-gometalint

$ lookout-sdk review -v ipv4://localhost:2001 \
    --from c99dcdff172f1cb5505603a45d054998cb4dd606 \
    --to 3a9d78bdd1139c929903885ecb8f811931b8aa70

Configuration

Variable Default Description
GOMETALINT_HOST 0.0.0.0 IP address to bind the gRCP serve
GOMETALINT_PORT 2001 Port to bind the gRPC server
GOMETALINT_DATA_SERVICE_URL ipv4://localhost:10301 gRPC URL of the Data service
GOMETALINT_LOG_LEVEL info Logging level ("info", "debug", "warning" or "error")

Licens

AGPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 89.1%
  • Shell 6.8%
  • Makefile 2.5%
  • Dockerfile 1.6%