mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:29:50 +00:00
9282573e2c
Change-Id: I97d30af3930c3f65532d77dee06de57ce5f5fc20 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250766 Commit-Queue: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
24 lines
574 B
YAML
24 lines
574 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
|
|
linter:
|
|
rules:
|
|
# In addition to lints/recommended:
|
|
always_declare_return_types: true
|
|
omit_local_variable_types: true
|
|
prefer_single_quotes: true
|
|
unawaited_futures: true
|
|
|
|
# Remove from lints/recommended:
|
|
constant_identifier_names: false
|
|
implementation_imports: false
|
|
non_constant_identifier_names: false
|
|
|
|
# Existing violations (3)
|
|
library_private_types_in_public_api: false
|
|
# Existing violations (3)
|
|
prefer_initializing_formals: false
|