Skip to content

Commit 59d4da6

Browse files
nodejs-github-bottargos
authored andcommitted
tools: update eslint to 8.18.0
PR-URL: #43479 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 1022c0d commit 59d4da6

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

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

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

-2
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
}

tools/node_modules/eslint/lib/linter/linter.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/node_modules/eslint/lib/linter/timing.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/node_modules/eslint/lib/rules/no-unused-vars.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/node_modules/eslint/lib/shared/deprecation-warnings.js

+1-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)