alecthomas / alecthomas/go-check-sumtype

Switch to using analysis framework natively with fact export

Aperta
#5 5 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
56
Fork
10
Merge medio
1g 9h
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.