3dbed884c2
Change-Id: Ib25573375ea1f54e07846af6fcd9cd74a8fefb7a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250784 Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
28 lines
719 B
YAML
28 lines
719 B
YAML
include: package:lints/core.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
|
|
linter:
|
|
rules:
|
|
avoid_bool_literals_in_conditional_expressions: true
|
|
avoid_returning_null: true
|
|
avoid_unused_constructor_parameters: true
|
|
cancel_subscriptions: true
|
|
comment_references: true
|
|
directives_ordering: true
|
|
invariant_booleans: true
|
|
omit_local_variable_types: true
|
|
package_api_docs: true
|
|
prefer_const_constructors: true
|
|
throw_in_finally: true
|
|
unnecessary_lambdas: true
|
|
unnecessary_parenthesis: true
|
|
unnecessary_statements: true
|
|
|
|
# Disabled due to existing violations.
|
|
non_constant_identifier_names: false
|
|
only_throw_errors: false
|
|
prefer_single_quotes: false
|