Go Lint

Open-source Go projects categorized as Lint

Top 12 Go Lint Projects

  • reviewdog

    🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

  • Project mention: Code reviews and Suggestions from SARIF report | dev.to | 2023-05-16

    I build a general converter from SARIF to Reviewdog Diagnostic Format (RDFormat), then use Reviewdog to give suggested code changes as well as the context of the changes for PR reviewing.

  • actionlint

    :octocat: Static checker for GitHub Actions workflow files

  • Project mention: GitHub Actions could be so much better | news.ycombinator.com | 2023-09-22

    Yep, actionlint is great! I've used it successfully both to lint my own workflows, and to lint third-party workflows for (basic) security issues.

    Unfortunately, it can't lint actions themselves, only workflows that call actions[1]. This is a substantial deficiency, especially for users (like me) who write and maintain a decent number of actions.

    [1]: https://github.com/rhysd/actionlint/issues/46

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • checkmake

    experimental linter/analyzer for Makefiles

  • protolint

    A pluggable linter and fixer to enforce Protocol Buffer style and conventions.

  • woke

    Detect non-inclusive language in your source code.

  • vacuum

    vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.

  • Project mention: Show HN: Extensible OpenAPI linter written in go | news.ycombinator.com | 2024-04-03
  • go-exhaustruct

    golang analyzer that finds structures with uninitialized fields

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09

    Because go doesn’t have exhaustiveness checking when initialising structs. Instead it encourages “make the zero value meaningful” which is not always possible not desirable. I usually use a linter to catch this kind of problem https://github.com/GaijinEntertainment/go-exhaustruct

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • mllint

    `mllint` is a command-line utility to evaluate the technical quality of Python Machine Learning (ML) projects by means of static analysis of the project's repository.

  • arguard

    🛡 Linter for Go that checks static call arguments against the function guards (aka contracts).

  • Project mention: Remove Half of Your Documentation | news.ycombinator.com | 2023-10-13
  • nonamedreturns

    golang linter to detect named returns

  • Project mention: Linter for mixing naked and regular returns? | /r/golang | 2023-05-21
  • argslen

    Go linter that warns about the number of arguments in functions.

  • mig

    Database migration utility (by go-bridget)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Lint related posts

  • Show HN: Extensible OpenAPI linter written in go

    2 projects | news.ycombinator.com | 3 Apr 2024
  • Linter for mixing naked and regular returns?

    2 projects | /r/golang | 21 May 2023
  • Code reviews and Suggestions from SARIF report

    2 projects | dev.to | 16 May 2023
  • Reviewdog: Code analysis regardless of programming language

    1 project | news.ycombinator.com | 11 Oct 2022
  • Linter for GHA syntax?

    1 project | /r/github | 10 Oct 2022
  • allfields - new linter for copy data from one struct to another

    6 projects | /r/golang | 3 Oct 2022
  • Checkmake: Experimental Linter/Analyzer for Makefiles

    1 project | /r/hypeurls | 14 Aug 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Lint projects in Go? This list will help you:

Project Stars
1 reviewdog 7,385
2 actionlint 2,370
3 checkmake 999
4 protolint 515
5 woke 432
6 vacuum 432
7 go-exhaustruct 100
8 mllint 72
9 arguard 25
10 nonamedreturns 24
11 argslen 6
12 mig 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com