mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
85cf783fe8
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>
24 lines
590 B
YAML
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
|