Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 1630010

Browse files
committed
chore: change new rule version
1 parent a2606b3 commit 1630010

File tree

2 files changed

+2
-1
lines changed
  • lib/src/analyzers/lint_analyzer/rules/rules_list/use_setstate_synchronously
  • website/docs/rules

2 files changed

+2
-1
lines changed

lib/src/analyzers/lint_analyzer/rules/rules_list/use_setstate_synchronously/fact.dart

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ abstract class Fact<T> {
1717
return value! ? false.asFact() : true.asFact();
1818
}
1919

20+
// ignore: avoid_returning_this
2021
return this;
2122
}
2223

website/docs/rules/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ Rules are grouped by category to help you understand their purpose. Each rule ha
602602
name="use-setstate-synchronously"
603603
type="flutter"
604604
severity="warning"
605-
version="UNRELEASED"
605+
version="5.4.0"
606606
hasConfig
607607
>
608608
Warns when <code>setState</code> is called past an await point.

0 commit comments

Comments
 (0)