From 464ccdfcac6a0c3a36cb8d4637b46f5e5b281b72 Mon Sep 17 00:00:00 2001 From: pq Date: Mon, 16 May 2016 16:02:18 -0700 Subject: [PATCH] Remove redundant type annotation lint. SInce this is a subset of `always_specify_types` I think we can safely remove it. In practice, if you violate you get doubly nagged: ``` [lint] Type annotate public APIs. (packages/flutter_tools/lib/src/dart/runner.dart, line 5, col 1) [lint] Declare method return types. (packages/flutter_tools/lib/src/dart/runner.dart, line 5, col 1) ``` One warning is probably enough to get the message across? ;) --- packages/flutter_tools/flutter_analysis_options | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/flutter_tools/flutter_analysis_options b/packages/flutter_tools/flutter_analysis_options index 5f63abc3a1..4333587713 100644 --- a/packages/flutter_tools/flutter_analysis_options +++ b/packages/flutter_tools/flutter_analysis_options @@ -50,7 +50,6 @@ linter: - sort_constructors_first - sort_unnamed_constructors_first - super_goes_last - - type_annotate_public_apis # subset of always_specify_types - type_init_formals - unnecessary_brace_in_string_interp - unnecessary_getters_setters