d219bde703
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>
25 lines
620 B
YAML
25 lines
620 B
YAML
include: package:pedantic/analysis_options.1.9.0.yaml
|
|
|
|
analyzer:
|
|
strong-mode:
|
|
implicit-casts: false
|
|
errors:
|
|
# Increase the severity of the unused_import hint.
|
|
unused_import: warning
|
|
language:
|
|
strict-inference: true
|
|
exclude:
|
|
- test/data/**
|
|
linter:
|
|
rules:
|
|
- avoid_single_cascade_in_expression_statements
|
|
- avoid_unused_constructor_parameters
|
|
- await_only_futures
|
|
- empty_statements
|
|
- iterable_contains_unrelated_type
|
|
- list_remove_unrelated_type
|
|
- provide_deprecation_message
|
|
- unnecessary_brace_in_string_interps
|
|
- unnecessary_overrides
|
|
- void_checks
|