438b560e44
This library mostly exports _public_ API, and the to-be-deprecated NodeLintRegistry class. So we just move private RuleContext classes into a new library, and remove the exports. The lint rules then are adjusted, mostly just renaming NodeLintRegistry -> RuleVisitorRegistry. But also, this removes a lot of implementation imports; most rules now have _no_ private imports! Change-Id: I023f7efa979f94d208a6ae7421902145e8761c9a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443364 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>