Enable brace-style eslint rules
This commit is contained in:

committed by
GitHub

parent
73bdcdfd0a
commit
5a8f484a03
@@ -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 {
|
||||
|
Reference in New Issue
Block a user