Skip to content

Commit 9c3c66b

Browse files
authoredJun 19, 2022
tools: update eslint to 8.18.0
PR-URL: nodejs#43479 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent f8f2772 commit 9c3c66b

File tree

839 files changed

+1019
-953
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

839 files changed

+1019
-953
lines changed
 

‎lib/internal/streams/operators.js

-1
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

+1-1
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
})();

0 commit comments

Comments
 (0)
Please sign in to comment.