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 →
Top 23 Go Linter Projects
-
reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
-
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.
-
revive
🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
-
dockle
Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
kube-score
Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
-
ls-lint
An extremely fast directory and filename linter - Bring some structure to your project filesystem
-
dep-tree
tool for helping developers keep their code bases clean and decoupled. It allows visualising a "code base entropy" using a 3d force-directed graph of files and the dependencies between.
-
graphql-go-tools
GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
3. tfsec: https://github.com/aquasecurity/tfsec tfsec uses a suite of security checks to scan your Terraform templates, helping to identify potential security issues before infrastructure is deployed.
Project mention: Ask HN: What are some interesting tools or code repos you discovered recently | news.ycombinator.com | 2023-08-25
The v1.3.4 of revive, the fast, configurable, extensible, flexible, and beautiful linter for Go, is available.
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
In our codebase I noticed a few cases where people ignored errors returned from functions by assigning them to _, ie result, _ := foo(). The errcheck linter doesn't seem to catch this, does anyone know of a linter that does?
Project mention: Go-critic: the most opinionated Golang source code linter | news.ycombinator.com | 2023-06-04
Project mention: After 2.3 million downloads: ls-lint v2.0.0 is finally here! | /r/javascript | 2023-05-23
Project mention: Joker is a small interpreted dialect of Clojure written in Go (Spotted this on HackerNews and wanted to share it here :D ) | /r/Clojure | 2023-05-29
Project mention: Show HN: Visualize the Entropy of a Codebase with a 3D Force-Directed Graph | news.ycombinator.com | 2024-01-31The portion of the code in charge of rendering lives inside the `internal/entropy` (https://github.com/gabotechs/dep-tree/tree/main/internal/ent...).
Force-directed is an algorithm for displaying graphs in a 2d or 3d space, which simulates attraction/repulsion based on the dependencies between the nodes, the wikipedia page explains it really well https://en.wikipedia.org/wiki/Force-directed_graph_drawing
> Love it, I think dependency trees are super underused data for static analysis.
Definitely, specially for evaluating "the big picture" of a codebase
Project mention: Scaling GraphQL Subscriptions in Go with Epoll and Event Driven Architecture | dev.to | 2024-03-04If you're interested in the full implementation of the resolver, you can find it on GitHub.
Project mention: Show HN: Extensible OpenAPI linter written in go | news.ycombinator.com | 2024-04-03
Go Linter related posts
-
Open source software maintenance is difficult: examples with Go math/rand/v2 and testify
-
Supabase Auth now supports Anonymous Sign-ins
-
Scaling GraphQL Subscriptions in Go with Epoll and Event Driven Architecture
-
makefile para projetos em Go
-
Finding unreachable functions with deadcode – The Go Programming Language
-
Software Technical Writing: A Guidebook [pdf]
-
GraphQL Router / API Gateway Framework Written in Golang
-
A note from our sponsor - InfluxDB
www.influxdata.com | 20 May 2024
Index
What are some of the best open-source Linter projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | golangci-lint | 14,533 |
2 | reviewdog | 7,425 |
3 | tfsec | 6,583 |
4 | go-tools | 5,940 |
5 | revive | 4,639 |
6 | vale | 4,210 |
7 | dockle | 2,663 |
8 | kube-score | 2,609 |
9 | actionlint | 2,391 |
10 | errcheck | 2,289 |
11 | go-critic | 1,766 |
12 | ls-lint | 1,701 |
13 | joker | 1,584 |
14 | dep-tree | 1,244 |
15 | checkmake | 1,004 |
16 | pint | 811 |
17 | go-ruleguard | 771 |
18 | noverify | 657 |
19 | graphql-go-tools | 645 |
20 | protolint | 516 |
21 | sqlvet | 485 |
22 | vacuum | 436 |
23 | woke | 433 |
Sponsored