Open praxa-enzo opened 1 year ago
DCM version: 5.7.2 Dart SDK version: 2.19.6
Future<void> foo() async { await for (final value in Stream.fromIterable([0, 1, 2])) { print(value); } }
No warnings.
Linter warning: 'async' keyword is redundant, consider removing it.
'async' keyword is redundant, consider removing it.
No response
Environment and configuration
DCM version: 5.7.2 Dart SDK version: 2.19.6
Configuration
```yaml include: package:lints/recommended.yaml analyzer: plugins: - dart_code_metrics dart_code_metrics: rules: - avoid-redundant-async ```What did you do?
What did you expect to happen?
No warnings.
What actually happened?
Linter warning:
'async' keyword is redundant, consider removing it.
Participation
Additional comments
No response