I find that it's sometimes better for readability for the condition of a loop to be determined by a break call inside the body of the loop. More context here.
Details
Details
- Reviewers
inka atul tomek bartek - Commits
- rCOMMe7b714f20e83: Allow while(true) in the JS codebase
I edited a file and added a while (true) { break; } line. Before this diff it causes an ESLint error, but afterwards it didn't
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable