dart-sdk/pkg/test_runner/analysis_options.yaml
Devon Carew 85cf783fe8 [pkg/test_runner] analyze with package:lints/recommended.yaml
Change-Id: Iab61ff9f67b40157657fde2d732e970d67c9fcac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290607
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2023-03-23 15:23:17 +00:00

24 lines
590 B
YAML

include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
errors:
# TODO: These issues should be addressed.
exhaustive_cases: ignore
linter:
rules:
- avoid_bool_literals_in_conditional_expressions
- avoid_unused_constructor_parameters
- cancel_subscriptions
- comment_references
- directives_ordering
- omit_local_variable_types
- package_api_docs
- prefer_const_constructors
- throw_in_finally
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements
- unnecessary_string_escapes