Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 54a4a81

Browse files
cjihrigcodebytere
authored andcommittedJul 10, 2020
tools: update ESLint to 7.2.0
Update ESLint to 7.2.0 PR-URL: #33776 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
1 parent 13b693f commit 54a4a81

Some content is hidden

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

43 files changed

+311
-117
lines changed
 

‎benchmark/es/spread-assign.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function main({ n, context, count, rest, method }) {
1515
for (let n = 0; n < count; n++)
1616
src[`p${n}`] = n;
1717

18-
let obj; // eslint-disable-line no-unused-vars
18+
let obj;
1919

2020
switch (method) {
2121
case '_extend':
@@ -33,7 +33,7 @@ function main({ n, context, count, rest, method }) {
3333
case 'spread':
3434
bench.start();
3535
for (let i = 0; i < n; i++)
36-
obj = { ...src };
36+
obj = { ...src }; // eslint-disable-line no-unused-vars
3737
bench.end(n);
3838
break;
3939
default:

‎test/parallel/test-tls-transport-destroy-after-own-gc.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ const makeDuplexPair = require('../common/duplexpair');
1515
let { clientSide } = makeDuplexPair();
1616

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

2120
setImmediate(() => {
2221
clientTLS = null;
2322
global.gc();
24-
clientTLSHandle = null;
23+
clientTLSHandle = null; // eslint-disable-line no-unused-vars
2524
global.gc();
2625
setImmediate(() => {
2726
clientSide = null;

0 commit comments

Comments
 (0)
Please sign in to comment.