Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: update eslint to 8.18.0 #43479

Merged
merged 2 commits into from
Jun 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion lib/internal/streams/operators.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ function asIndexedPairs(options = undefined) {
}

async function some(fn, options = undefined) {
// eslint-disable-next-line no-unused-vars
for await (const unused of filter.call(this, fn, options)) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-fs-opendir.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ doAsyncIterBreakTest().then(common.mustCall());
async function doAsyncIterReturnTest() {
const dir = await fs.promises.opendir(testDir);
await (async function() {
for await (const dirent of dir) { // eslint-disable-line no-unused-vars
for await (const dirent of dir) {
return;
}
})();
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream-readable-async-iterators.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function tests() {
});

await (async () => {
for await (const d of readable) { // eslint-disable-line no-unused-vars
for await (const d of readable) {
return;
}
})();
Expand Down
2 changes: 0 additions & 2 deletions test/parallel/test-whatwg-readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,6 @@ class Source {
});

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

async function read(stream) {
// eslint-disable-next-line no-unused-vars
for await (const _ of stream.values({ preventCancel: false }))
return;
}
Expand Down
2 changes: 1 addition & 1 deletion tools/node_modules/eslint/lib/linter/linter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tools/node_modules/eslint/lib/linter/timing.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions tools/node_modules/eslint/lib/rules/no-unused-vars.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions tools/node_modules/eslint/lib/shared/deprecation-warnings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading