☂️ [task] remove DartProject
#3395
Labels
meta
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
type-task
DartProject
has never worked completely w/ server (see #154) 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 #3397)package_api_docs
(removeDartProject
references #3398)package_prefixed_library_names
(removeDartProject
references #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: