This repository was archived by the owner on Nov 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ linter:
7676 - flutter_style_todos
7777 - hash_and_equals
7878 - implementation_imports
79- - invariant_booleans
8079 - iterable_contains_unrelated_type
8180 - join_return_with_assignment
8281 - leading_newlines_in_multiline_strings
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ const _desc =
1616 r'Conditions should not unconditionally evaluate to `true` or to `false`.' ;
1717
1818const _details = r'''
19+ **DEPRECATED:** This rule is unmaintained and will be removed in a future Linter
20+ release.
1921
2022**DON'T** test for conditions that can be inferred at compile time or test the
2123same condition twice.
@@ -109,9 +111,7 @@ class InvariantBooleans extends LintRule {
109111 name: 'invariant_booleans' ,
110112 description: _desc,
111113 details: _details,
112- // This rule is experimental until there are fewer "false positive"
113- // bugs, and performance has been improved.
114- maturity: Maturity .experimental,
114+ maturity: Maturity .deprecated,
115115 group: Group .errors);
116116
117117 @override
You can’t perform that action at this time.
0 commit comments