Skip to content

Commit c103fd0

Browse files
authored
disable avoid_private_typedef_functions lint (flutter#16495)
1 parent ab9ba3f commit c103fd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ linter:
6464
- avoid_init_to_null
6565
- avoid_null_checks_in_equality_operators
6666
# - avoid_positional_boolean_parameters # not yet tested
67-
# - avoid_private_typedef_functions # not yet tested
67+
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
6868
- avoid_relative_lib_imports
6969
- avoid_renaming_method_parameters
7070
- avoid_return_types_on_setters

analysis_options_repo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ linter:
5757
- avoid_init_to_null
5858
- avoid_null_checks_in_equality_operators
5959
# - avoid_positional_boolean_parameters # not yet tested
60-
# - avoid_private_typedef_functions # not yet tested
60+
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
6161
- avoid_relative_lib_imports
6262
- avoid_renaming_method_parameters
6363
- avoid_return_types_on_setters

0 commit comments

Comments
 (0)