Skip to content

Commit 5ac172e

Browse files
committed
Fix linting issues
1 parent 2f055e8 commit 5ac172e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ export function bufferedAsyncMap (input, callback, options) {
231231
/** @type {AsyncIterableIterator<R> & { return: NonNullable<AsyncIterableIterator<R>["return"]>, throw: NonNullable<AsyncIterableIterator<R>["throw"]> }} */
232232
const resultAsyncIterableIterator = {
233233
async next () {
234-
// eslint-disable-next-line promise/prefer-await-to-then
235234
currentStep = currentStep ? currentStep.then(() => nextValue()) : nextValue();
236235
return currentStep;
237236
},

test/values.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ describe('bufferedAsyncMap() values', () => {
359359
const rejectionError = new Error('Rejection');
360360

361361
/** @returns {AsyncIterable<number>} */
362-
// eslint-disable-next-line unicorn/consistent-function-scoping
363362
async function * rejectedGeneratorValue () {
364363
for (let i = 0; i < count; i++) {
365364
yield i === 3

0 commit comments

Comments
 (0)