enable depend_on_referenced_packages

this is under consideration for core lint inclusion: https://github.com/dart-lang/lints/issues/42

(also undoubtably nice to get the early warning.)

Change-Id: I3ea204444f48d3b4bde3ff65b4ce85a2cf2a7b11
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202301
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
pq
2021-06-04 14:19:08 +00:00
committed by commit-bot@chromium.org
parent 22080071e5
commit 63a77416b7
6 changed files with 6 additions and 0 deletions
@@ -17,6 +17,7 @@ linter:
rules:
- await_only_futures
- avoid_single_cascade_in_expression_statements
- depend_on_referenced_packages
- empty_statements
- iterable_contains_unrelated_type
- list_remove_unrelated_type
@@ -5,6 +5,7 @@ analyzer:
linter:
rules:
- await_only_futures
- depend_on_referenced_packages
- empty_statements
- unnecessary_brace_in_string_interps
#
+1
View File
@@ -30,6 +30,7 @@ linter:
- avoid_dynamic_calls
- avoid_unused_constructor_parameters
- await_only_futures
- depend_on_referenced_packages
- empty_statements
- iterable_contains_unrelated_type
- list_remove_unrelated_type
+1
View File
@@ -11,6 +11,7 @@ analyzer:
linter:
rules:
avoid_unused_constructor_parameters: true
depend_on_referenced_packages: true
directives_ordering: true
# We import heavily from package:analyzer/src.
@@ -4,6 +4,7 @@ analyzer:
linter:
rules:
- await_only_futures
- depend_on_referenced_packages
- empty_statements
- unnecessary_brace_in_string_interps
#
+1
View File
@@ -13,6 +13,7 @@ analyzer:
linter:
rules:
- always_declare_return_types
- depend_on_referenced_packages
- directives_ordering
- overridden_fields
- prefer_single_quotes