From 3a37b9e0f5422839f734451c276a0a784caf7130 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Sun, 6 Jan 2019 21:07:41 +0100 Subject: [PATCH] update lint list (#25922) --- analysis_options.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index ba000aac35..9fa618bf57 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -70,9 +70,11 @@ linter: - avoid_renaming_method_parameters - avoid_return_types_on_setters # - avoid_returning_null # there are plenty of valid reasons to return null + # - avoid_returning_null_for_future # not yet tested - avoid_returning_null_for_void # - avoid_returning_this # there are plenty of valid reasons to return this # - avoid_setters_without_getters # not yet tested + # - avoid_shadowing_type_parameters # not yet tested # - avoid_single_cascade_in_expression_statements # not yet tested - avoid_slow_async_io - avoid_types_as_parameter_names @@ -155,6 +157,7 @@ linter: # - type_annotate_public_apis # subset of always_specify_types - type_init_formals # - unawaited_futures # too many false positives + # - unnecessary_await_in_return # not yet tested - unnecessary_brace_in_string_interps - unnecessary_const - unnecessary_getters_setters @@ -167,6 +170,7 @@ linter: - unnecessary_statements - unnecessary_this - unrelated_type_equality_checks + # - use_function_type_syntax_for_parameters # not yet tested - use_rethrow_when_possible # - use_setters_to_change_properties # not yet tested # - use_string_buffers # has false positives: https://github.com/dart-lang/sdk/issues/34182