dart-sdk/pkg/dart2js_info/analysis_options.yaml
Nate Biggs ba662eb4b4 [dart2js] Replace dart2js_dynamic_test with lint and appropriate lint ignores.
See patch 2 for failures coming from this new analysis option.

Change-Id: I6bb10c2eb12431f6c503cc817a9c9bb45ba597a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269800
Commit-Queue: Nate Biggs <natebiggs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2022-11-15 21:11:59 +00:00

14 lines
347 B
YAML

include: package:lints/recommended.yaml
analyzer:
errors:
# Until the protobuf package generates the right code - or the right ignores
constant_identifier_names: ignore
linter:
rules:
- always_declare_return_types
- avoid_dynamic_calls
# Enable once we update protobuf generation
#- directives_ordering
- unawaited_futures