From bb3874dc7f0ff1847a73e1bed45fc80b34b13893 Mon Sep 17 00:00:00 2001 From: Hixie Date: Fri, 11 Mar 2016 15:18:30 -0800 Subject: [PATCH] Enable strong mode again. --- packages/flutter_tools/.analysis_options | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/.analysis_options b/packages/flutter_tools/.analysis_options index 157212b88c..cf35b2868e 100644 --- a/packages/flutter_tools/.analysis_options +++ b/packages/flutter_tools/.analysis_options @@ -7,12 +7,16 @@ analyzer: language: enableSuperMixins: true - strong-mode: false #TODO(pq): enable once strong-mode runs clean + strong-mode: true errors: # we allow overriding fields (if they use super, ideally...) strong_mode_invalid_field_override: ignore # we allow type narrowing strong_mode_invalid_method_override: ignore + strong_mode_static_type_error: ignore + strong_mode_down_cast_composite: ignore + type_argument_not_matching_bounds: ignore + # we allow having TODOs in the code todo: ignore linter: rules: