no_leading_underscores_for_local_identifiers doesn't complain about local functions #58715
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
The following code does not produce a
no_leading_underscores_for_local_identifiers
lint, even though I would have expected it to complain about_bar
:Complaining here would also seem to be in line with "Effective Dart" [1] (emphasize mine):
[1] https://dart.dev/guides/language/effective-dart/style#dont-use-a-leading-underscore-for-identifiers-that-arent-private
The text was updated successfully, but these errors were encountered: