Skip to content

A collection of common static analyzers (linters) that can be used with Bazel's rules_go

License

Notifications You must be signed in to change notification settings

sluongng/nogo-analyzer

Repository files navigation

nogo-analyzer

A collection of Go popular static analyzers.

Designed to be used with Bazel rules_go's nogo static analysis framework. Aimed to be easy to use and customize.

Project Status

  1. staticcheck: Stable and ready to be used

  2. golangci-lint: POC-only. Should NOT be used except for research purposes.

  3. goci-lint: An attempt to skim down golangci-lint to make it more suitable while using with nogo.

How to use

Add this into your WORKSPACE project

http_archive(
    name = "com_github_sluongng_nogo_analyzer",
    sha256 = "ab9ab7936b6d490ff92bb8e3e03bc3ace3406f0b4d1625cc0720d0e9e81a369a",
    strip_prefix = "nogo-analyzer-0.0.1",
    urls = [
        "https://github.com/sluongng/nogo-analyzer/archive/refs/tags/v0.0.1.tar.gz",
    ],
)

And follow instructions in specific README file of each analyzer collections.

About

A collection of common static analyzers (linters) that can be used with Bazel's rules_go

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published