[Proposal] Lint rule or analyzer code for unresolved DartDoc symbols, post @docImport
introduction
#56878
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
With the new
@docImport
feature, I was looking for a way to have unresolved doc references be flagged, since we now have an extra option of dealing with this problem.We do have #55414 for a similar case: Warn when a doc import is unused.
However, it would be nice if we had a rule for unresolved doc references in DartDoc.
For example:
This would warn on [Bar] not being found. It could suggest either:
@docImport
I think that if we implement something like this, it could be very helpful for the quality of DartDoc in IDE's.
I'm not sure if this should become a code in the analyzer (like the issue mentioned above) or a lint rule.
The text was updated successfully, but these errors were encountered: