dart-lang / dart_style

An opinionated formatter/linter for Dart code
https://pub.dev/packages/dart_style
BSD 3-Clause "New" or "Revised" License
645 stars 117 forks source link

Ignore warnings from deprecated analyzer APIs for now. #1456

Closed munificent closed 3 months ago

munificent commented 3 months ago

In order to fix these, I need to move to the new API, but that API requires package macros which doesn't currently support any stable versions of the Dart SDK.

Analyzer will continue to support the old API until analyzer 7.0.0 ships, so it's safe to continue using the old API with the current constraint that dart_style has on analyzer.

So, for now, just ignore the warnings and leave a TODO to fix them after Dart 3.4.0 ships and we can move to the new analyzer.