Closed
Description
t would be handy to introduce a new linter that detects while(TRUE)
constructs and suggests adopting repeat
for clearer infinite loop indication. In the same linter, a feature could be developed to identify while(FALSE)
constructs, signaling unreachable code or potentially as an additional feature of the existing unreachable_code_linter
.