From 280bbefd29ad3d3a78c5e4accda57bfb5b7329b5 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Mon, 10 Dec 2018 13:43:02 -0800 Subject: [PATCH] Remove deprecated lint "prefer_bool_in_asserts". (#24890) In Dart 2, asserts no longer accept non-bool values so this rule is made redundant by the Dart analyzer's basic checks and is no longer necessary. The rule will be removed in a future Linter release. --- analysis_options.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 8957dfe03b..68eea153ee 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -114,7 +114,6 @@ linter: # - parameter_assignments # we do this commonly - prefer_adjacent_string_concatenation - prefer_asserts_in_initializer_lists - - prefer_bool_in_asserts - prefer_collection_literals - prefer_conditional_assignment - prefer_const_constructors