[CP] cherry-pick linter 1.31.0 #50663
Labels
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
Commit(s) to merge
d5c1158, 636eec1
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/274481
Issue Description
Linter 1.30.0 has two issues w/ 2.19:
prefer_equal_for_default_values
will double-report where there is newly introduced analyzer diagnosticunrelated_type_equality_checks
generates false positives in the updatedpackage:fixnum
What is the fix
Lands linter 1.31.0 that:
prefer_equal_for_default_values
to not report for SDKs >=2.19unrelated_type_equality_checks
for thepackage:fixnum
restructuringWhy cherry-pick
Users of 2.19 will see lint noise.
(Note that these changes landed on Tuesday, before the feature cut-off, so really aren't cherry-picks. 🤷 )
/fyi @devoncarew
Risk
low
Issue link(s)
#58939, #58936
Extra Info
No response
The text was updated successfully, but these errors were encountered: