Open FMorschel opened 1 month ago
Summary: Renaming a file that is imported in a Dart file does not update the import path in the file, leading to a directives_ordering
lint error. This issue occurs even when the directives_ordering
rule is enabled in the analysis_options
file.
Repro:
directives_ordering
set to true insideanalysis_options
a.dart
andb.dart
main.dart
(respectingdirectives_ordering
)a.dart
toc.dart
main.dart
you get thedirectives_ordering
lint on the line that now isc.dart
// CC: @DanTup