no-fallthrough
warns when infinite loop with no break precludes fallthrough
#1156
Labels
bug
Something isn't working
Lint Name
no-fallthrough
Code Snippet
Expected Result
There should be no warning.
Actual Result
Uncommenting the
break
causes that to receive an unreachable code warning, which shows that the linter already identifies the loop as never breaking.Additional Info
Same basic issue as #1042 but this should be even more straightforward to fix.
Version
deno 1.33.2 (release, x86_64-apple-darwin)
v8 11.4.183.1
typescript 5.0.3
The text was updated successfully, but these errors were encountered: