Update prefer_final_parameters comment (#125465)

Per discusion in https://github.com/flutter/flutter/pull/125061.
This commit is contained in:
Michael Goderbauer 2023-04-26 09:36:19 +02:00 committed by GitHub
parent 14be1af740
commit f6b9c4da23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ linter:
- prefer_final_fields
- prefer_final_in_for_each
- prefer_final_locals
# - prefer_final_parameters # we should enable this one day when it can be auto-fixed (https://github.com/dart-lang/linter/issues/3104), see also parameter_assignments
# - prefer_final_parameters # adds too much verbosity
- prefer_for_elements_to_map_fromIterable
- prefer_foreach
- prefer_function_declarations_over_variables