Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

launchdarkly-labs/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",
    ],
)

Alternatively, if you are using bzlmod, add this to your MODULE.bazel file instead:

module(
    name = "com_github_sluongng_nogo_analyzer",
    version = "0.0.1",
)

Then you can load this module in your project as a Bazel module dependency.

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

Releases

No releases published

Packages

No packages published

Languages

  • Starlark 60.6%
  • Go 38.0%
  • Shell 1.4%