ffc82e6f17
The lint is non-functional and will be deprecated soon. Bug: https://github.com/dart-lang/linter/issues/5107 Change-Id: I4d4b75a6c7978f584bef37351514391f55761c55 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389594 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Auto-Submit: Parker Lougheed <parlough@gmail.com>
23 lines
534 B
YAML
23 lines
534 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
|
|
- prefer_const_constructors
|
|
- throw_in_finally
|
|
- unnecessary_lambdas
|
|
- unnecessary_parenthesis
|
|
- unnecessary_statements
|