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 7.2.0 #33776

Merged
merged 1 commit into from
Jun 13, 2020
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions benchmark/es/spread-assign.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function main({ n, context, count, rest, method }) {
for (let n = 0; n < count; n++)
src[`p${n}`] = n;

let obj; // eslint-disable-line no-unused-vars
let obj;

switch (method) {
case '_extend':
Expand All @@ -33,7 +33,7 @@ function main({ n, context, count, rest, method }) {
case 'spread':
bench.start();
for (let i = 0; i < n; i++)
obj = { ...src };
obj = { ...src }; // eslint-disable-line no-unused-vars
bench.end(n);
break;
default:
Expand Down
3 changes: 1 addition & 2 deletions test/parallel/test-tls-transport-destroy-after-own-gc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ const makeDuplexPair = require('../common/duplexpair');
let { clientSide } = makeDuplexPair();

let clientTLS = new TLSSocket(clientSide, { isServer: false });
// eslint-disable-next-line no-unused-vars
let clientTLSHandle = clientTLS._handle;

setImmediate(() => {
clientTLS = null;
global.gc();
clientTLSHandle = null;
clientTLSHandle = null; // eslint-disable-line no-unused-vars
global.gc();
setImmediate(() => {
clientSide = null;
Expand Down
4 changes: 2 additions & 2 deletions tools/node_modules/eslint/README.md

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

4 changes: 2 additions & 2 deletions tools/node_modules/eslint/lib/cli-engine/cli-engine.js

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

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

8 changes: 2 additions & 6 deletions tools/node_modules/eslint/lib/init/config-initializer.js

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

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

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

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

21 changes: 18 additions & 3 deletions tools/node_modules/eslint/lib/rules/func-call-spacing.js

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

11 changes: 9 additions & 2 deletions tools/node_modules/eslint/lib/rules/keyword-spacing.js

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

Loading