HomePhabricator
Diffusion Comm e7b714f20e83

Allow while(true) in the JS codebase

Description

Allow while(true) in the JS codebase

Summary: 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.

Test Plan: I edited a file and added a while (true) { break; } line. Before this diff it causes an ESLint error, but afterwards it didn't

Reviewers: inka, atul, tomek, bartek

Reviewed By: atul

Differential Revision: https://phab.comm.dev/D7173

Details

Provenance
ashoatAuthored on Mar 24 2023, 12:09 PM
Reviewer
atul
Differential Revision
D7173: Allow while(true) in the JS codebase
Parents
rCOMMf96f662517f4: [cargo] Add `--release` flag to native library/tunnelbroker builds
Branches
Unknown
Tags
Unknown