diff --git a/analysis_options.yaml b/analysis_options.yaml index bb1e1b59f5..b202799746 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -109,6 +109,8 @@ linter: - prefer_conditional_assignment - prefer_const_constructors - prefer_const_constructors_in_immutables + # - prefer_const_declarations # not yet tested + # - prefer_const_literals_to_create_immutables # not yet tested # - prefer_constructors_over_static_methods # not yet tested - prefer_contains # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods diff --git a/analysis_options_repo.yaml b/analysis_options_repo.yaml index 36c02924b9..fed4ed546e 100644 --- a/analysis_options_repo.yaml +++ b/analysis_options_repo.yaml @@ -102,6 +102,8 @@ linter: - prefer_conditional_assignment - prefer_const_constructors - prefer_const_constructors_in_immutables + # - prefer_const_declarations # not yet tested + # - prefer_const_literals_to_create_immutables # not yet tested # - prefer_constructors_over_static_methods # not yet tested - prefer_contains # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods