mirror of
https://github.com/dart-lang/sdk
synced 2024-10-05 02:17:16 +00:00
6917656134
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>
24 lines
557 B
YAML
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
|