100f78daf6
Change-Id: I2fd938e5bc44f0798429b68524abc5718211c0ce Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/270482 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
exclude:
|
|
- test/mock_packages/**
|
|
errors:
|
|
# Increase the severity of the unused_import hint.
|
|
unused_import: warning
|
|
|
|
# Lints from the recommended set that conflict w/ analyzer style or will
|
|
# require some work to reach compliance.
|
|
# See: https://github.com/dart-lang/sdk/issues/48785
|
|
camel_case_types: ignore
|
|
constant_identifier_names: ignore
|
|
file_names: ignore
|
|
implementation_imports: ignore
|
|
non_constant_identifier_names: ignore
|
|
overridden_fields: ignore
|
|
prefer_void_to_null: ignore
|
|
provide_deprecation_message: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- collection_methods_unrelated_type
|
|
# Enable when we require Dart 2.19.0.
|
|
#- dangling_library_doc_comments
|
|
- depend_on_referenced_packages
|
|
- enable_null_safety
|
|
- implicit_call_tearoffs
|
|
- library_annotations
|
|
- unawaited_futures
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|
|
- use_super_parameters
|