From fe26c9d87b5ee198f3ac737c00aa6e43aca15249 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Fri, 16 Feb 2018 07:44:24 +0100 Subject: [PATCH] complete lint list for linter-0.1.43 (#14707) --- analysis_options.yaml | 2 ++ analysis_options_repo.yaml | 2 ++ 2 files changed, 4 insertions(+) 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