From c103fd0c02ad48b1a6f26895c773876a4fd99235 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Mon, 16 Apr 2018 22:43:47 +0200 Subject: [PATCH] disable avoid_private_typedef_functions lint (#16495) --- analysis_options.yaml | 2 +- analysis_options_repo.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 1bb8aac41e..95dc52e86f 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -64,7 +64,7 @@ linter: - avoid_init_to_null - avoid_null_checks_in_equality_operators # - avoid_positional_boolean_parameters # not yet tested - # - avoid_private_typedef_functions # not yet tested + # - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356) - avoid_relative_lib_imports - avoid_renaming_method_parameters - avoid_return_types_on_setters diff --git a/analysis_options_repo.yaml b/analysis_options_repo.yaml index 893a9af649..bbbb79fe5c 100644 --- a/analysis_options_repo.yaml +++ b/analysis_options_repo.yaml @@ -57,7 +57,7 @@ linter: - avoid_init_to_null - avoid_null_checks_in_equality_operators # - avoid_positional_boolean_parameters # not yet tested - # - avoid_private_typedef_functions # not yet tested + # - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356) - avoid_relative_lib_imports - avoid_renaming_method_parameters - avoid_return_types_on_setters