alecthomas / alecthomas/go-check-sumtype

Switch to using analysis framework natively with fact export

未关闭
#5 5 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
56
派生
10
平均合并
1 天 9 小时
30 天内合并 PR
2

描述

As noted in golangci/golangci-lint#4158, this linter is incompatible with the analysis framework because it strongly relies on state across packages, and this state is not exported using the [facts API](https://pkg.go.dev/golang.org/x/tools/go/analysis/internal/facts).

The analyzer shim present in golangci-lint seems insufficient in dealing with this limitation. This entire module would likely need to be re-written as an analyzer.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。