remove avoid_as lint for the upcoming implicit-casts: false (#45527)

This commit is contained in:
Alexandre Ardhuin 2019-11-25 21:03:29 +01:00 committed by GitHub
parent 81724bd60f
commit e6935efdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1 additions and 22 deletions

View File

@ -51,7 +51,7 @@ linter:
- always_specify_types
- annotate_overrides
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
- avoid_as
# - avoid_as # required for implicit-casts: true
- avoid_bool_literals_in_conditional_expressions
# - avoid_catches_without_on_clauses # we do this commonly
# - avoid_catching_errors # we do this commonly

View File

@ -7,7 +7,3 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_as: false # Disabled so we can gradually migrate to no implicit dynamic.

View File

@ -7,7 +7,3 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_as: false # Disabled so we can gradually migrate to no implicit dynamic.

View File

@ -4,7 +4,3 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_as: false # Disabled so we can gradually migrate to no implicit dynamic.

View File

@ -11,5 +11,4 @@ analyzer:
linter:
rules:
unawaited_futures: true
avoid_as: false # Disabled so we can gradually migrate to no implicit dynamic.
curly_braces_in_flow_control_structures: true

View File

@ -6,7 +6,3 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_as: false

View File

@ -6,7 +6,3 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
rules:
avoid_as: false