dart-sdk/pkg/test_runner/analysis_options.yaml
Devon Carew 6917656134 [pkg] remove duplicate config from the analysis options files
Change-Id: I149a97bbe260600a3de664b28c4d212dd9adb889
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335862
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2023-11-14 00:37:53 +00:00

24 lines
557 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