Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn on legacy imports #211

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/v1.recommended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ analyzer:
cascade_invocations: warning
comment_references: warning
curly_braces_in_flow_control_structures: warning
import_of_legacy_library_into_null_safe: warning
join_return_with_assignment: warning
omit_local_variable_types: warning
overridden_fields: warning
Expand Down
2 changes: 2 additions & 0 deletions lib/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ analyzer:
file_names: warning
hash_and_equals: warning
implementation_imports: warning
import_of_legacy_library_into_null_safe: warning
iterable_contains_unrelated_type: warning
library_names: warning
library_prefixes: warning
Expand Down Expand Up @@ -184,3 +185,4 @@ linter:
- unrelated_type_equality_checks
- valid_regexps
- void_checks

1 change: 1 addition & 0 deletions lib/v2.recommended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ analyzer:
control_flow_in_finally: warning
curly_braces_in_flow_control_structures: warning
directives_ordering: warning
import_of_legacy_library_into_null_safe: warning
join_return_with_assignment: warning
literal_only_boolean_expressions: warning
omit_local_variable_types: warning
Expand Down
1 change: 1 addition & 0 deletions lib/v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ analyzer:
file_names: warning
hash_and_equals: warning
implementation_imports: warning
import_of_legacy_library_into_null_safe: warning
iterable_contains_unrelated_type: warning
library_names: warning
library_prefixes: warning
Expand Down