dart-sdk/pkg/nnbd_migration/analysis_options.yaml
Konstantin Shcheglov d219bde703 Enforce await_only_futures and fix violations (in more packages).
Change-Id: I1812f7721915178e42956f988b9276bf8db0bfaa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164281
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2020-09-24 16:58:50 +00:00

24 lines
581 B
YAML

include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
errors:
# There are currently 175 violations.
always_declare_return_types: ignore
# There are currently 60 violations.
annotate_overrides: ignore
# There are currently 200 violations.
omit_local_variable_types: ignore
# There are currently 20 violations.
unawaited_futures: ignore
strong-mode:
implicit-casts: false
linter:
rules:
- await_only_futures
- empty_constructor_bodies
- empty_statements
- unnecessary_brace_in_string_interps
- valid_regexps