mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 02:51:31 +00:00
eaff33f439
* Stop using `implicit-casts: false` * Don't list rules which are found in package:lints * Fix strict-inference issues Change-Id: Ibe350548e3d6bef486ef2ef82430cda23d684baf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271780 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
22 lines
511 B
YAML
22 lines
511 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
|
|
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
|