From 3af9ce884db4cd4e9f874335c68869ef1fd1a9a1 Mon Sep 17 00:00:00 2001 From: Phil Quitslund Date: Fri, 17 Mar 2017 09:49:43 -0700 Subject: [PATCH] Stop ignoring `strong_mode_down_cast_composite`s (#8783) (#8853) Fixes: #8783 --- .analysis_options | 2 -- .analysis_options_repo | 2 -- packages/flutter/lib/analysis_options_user.yaml | 2 -- 3 files changed, 6 deletions(-) diff --git a/.analysis_options b/.analysis_options index 8db558d3c2..a09839ea2b 100644 --- a/.analysis_options +++ b/.analysis_options @@ -30,8 +30,6 @@ analyzer: missing_return: warning # allow overriding fields (if they use super, ideally...) strong_mode_invalid_field_override: ignore - # allow type narrowing - strong_mode_down_cast_composite: ignore # allow having TODOs in the code todo: ignore exclude: diff --git a/.analysis_options_repo b/.analysis_options_repo index 396833a37d..6de85772ca 100644 --- a/.analysis_options_repo +++ b/.analysis_options_repo @@ -31,8 +31,6 @@ analyzer: missing_return: warning # allow overriding fields (if they use super, ideally...) strong_mode_invalid_field_override: ignore - # allow type narrowing - strong_mode_down_cast_composite: ignore # allow having TODOs in the code todo: ignore # `flutter analyze` (without `--watch`) just ignores directories diff --git a/packages/flutter/lib/analysis_options_user.yaml b/packages/flutter/lib/analysis_options_user.yaml index e7be3bd485..455c425af1 100644 --- a/packages/flutter/lib/analysis_options_user.yaml +++ b/packages/flutter/lib/analysis_options_user.yaml @@ -31,8 +31,6 @@ analyzer: missing_return: warning # allow overriding fields (if they use super, ideally...) strong_mode_invalid_field_override: ignore - # allow type narrowing - strong_mode_down_cast_composite: ignore # allow having TODOs in the code todo: ignore