Skip to content

Commit b9e994d

Browse files
committed
comprehensive code path returns
1 parent 6f1db86 commit b9e994d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rules/strict-logical-expressions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export default createRule<Options, MessageIds>({
7979
if (!options.allowNumber && hasPotentiallyFalseyNumber) {
8080
return "conditionErrorFalseyNumber";
8181
}
82+
83+
return;
8284
}
8385

8486
function checkAndReportIdentifier(

0 commit comments

Comments
 (0)