Enable brace-style eslint rules
This commit is contained in:
parent
73bdcdfd0a
commit
5a8f484a03
9 changed files with 54 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue