Enable brace-style eslint rules

This commit is contained in:
jamiebuilds-signal 2022-09-13 14:48:09 -07:00 committed by GitHub
parent 73bdcdfd0a
commit 5a8f484a03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 54 additions and 13 deletions

View file

@ -133,7 +133,9 @@ class CollectIterator<T, S> implements Iterator<S> {
// eslint-disable-next-line no-constant-condition
while (true) {
const nextIteration = this.iterator.next();
if (nextIteration.done) return nextIteration;
if (nextIteration.done) {
return nextIteration;
}
const nextValue = this.fn(nextIteration.value);
if (nextValue !== undefined) {
return {