mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Devon Carew](/assets/img/avatar_default.png)
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>
25 lines
590 B
YAML
25 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
|