Skip to content

Commit 2fc868f

Browse files
committed
fixup! tools: update eslint to 8.18.0
1 parent e5ad2ae commit 2fc868f

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

lib/internal/streams/operators.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ function asIndexedPairs(options = undefined) {
187187
}
188188

189189
async function some(fn, options = undefined) {
190-
// eslint-disable-next-line no-unused-vars
191190
for await (const unused of filter.call(this, fn, options)) {
192191
return true;
193192
}

test/parallel/test-fs-opendir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ doAsyncIterBreakTest().then(common.mustCall());
166166
async function doAsyncIterReturnTest() {
167167
const dir = await fs.promises.opendir(testDir);
168168
await (async function() {
169-
for await (const dirent of dir) { // eslint-disable-line no-unused-vars
169+
for await (const dirent of dir) {
170170
return;
171171
}
172172
})();

test/parallel/test-stream-readable-async-iterators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function tests() {
6363
});
6464

6565
await (async () => {
66-
for await (const d of readable) { // eslint-disable-line no-unused-vars
66+
for await (const d of readable) {
6767
return;
6868
}
6969
})();

test/parallel/test-whatwg-readablestream.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,6 @@ class Source {
13041304
});
13051305

13061306
async function read(stream) {
1307-
// eslint-disable-next-line no-unused-vars
13081307
for await (const _ of stream.values({ preventCancel: true }))
13091308
return;
13101309
}
@@ -1319,7 +1318,6 @@ class Source {
13191318
const stream = new ReadableStream(source);
13201319

13211320
async function read(stream) {
1322-
// eslint-disable-next-line no-unused-vars
13231321
for await (const _ of stream.values({ preventCancel: false }))
13241322
return;
13251323
}

0 commit comments

Comments
 (0)