{{ message }}
Commit 3ecc964
tools: remove conditional assignment in custom ESLint rule
These changes no-duplicate-require.js so that it doesn't use an
assignment in a conditional, which can be easy to misread as a
comparison rather than an assignment. It also means we change a do/while
(which we don't use much in our code) to the much more common while
construct.
PR-URL: #41325
Reviewed-By: Michaël Zasso <targos@protonmail.com>1 parent 00abb81 commit 3ecc964
1 file changed
Lines changed: 10 additions & 9 deletions

0 commit comments