mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:45:06 +00:00
6e03189e2b
Fixes #49651 Change-Id: I87b14e407e699da8b9247eed93d957e2ba12e22d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257520 Reviewed-by: William Hesse <whesse@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
27 lines
690 B
YAML
27 lines
690 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
|
|
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
|