Files
sdk/pkg/test_runner/analysis_options.yaml
T
Devon Carew 3dbed884c2 [pkg] use package:lints when analying pkg/
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>
2022-07-07 14:29:22 +00:00

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