☂️ [task] remove DartProject
#58734
Labels
analyzer-linter
Issues with the analyzer's support for the linter package
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
area-meta
Cross-cutting, high-level issues (for tracking many other implementation issues, ...).
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
type-task
A well-defined stand-alone task
DartProject
has never worked completely w/ server (see #57250) and since it's creation,LinterContext
has been introduced which, moving forward, is the right way to answer the kinds of questions it was designed to address. Since the lints that are currently using it are failing fast, my thinking is that we can safely remove all references to it from the existing lints as a non-breaking change. We can then follow-up with a new set of changes that updates the (already) broken lints to useLinterContext
methods. These changes will produce a bunch of new diagnostics which though (now) correct may have ecosystem impact so we'll want to carefully vet their roll-out.Plan
DartProject
lint referencesdirectives_ordering
(removeDartProject
references linter#3397)package_api_docs
(removeDartProject
references linter#3398)package_prefixed_library_names
(removeDartProject
references linter#3399)DartProject
(and visitor) in analyzer (https://dart-review.googlesource.com/c/sdk/+/244760)DartProject
from analyzer (in a breaking change release) (https://dart-review.googlesource.com/c/sdk/+/245240)directives_ordering
package_api_docs
package_prefixed_library_names
The text was updated successfully, but these errors were encountered: