Skip to content

Commit

Permalink
tools: update ESLint to 7.2.0
Browse files Browse the repository at this point in the history
Update ESLint to 7.2.0

PR-URL: #33776
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
  • Loading branch information
cjihrig authored and codebytere committed Jun 18, 2020
1 parent e8572e7 commit 800dbb6
Show file tree
Hide file tree
Showing 43 changed files with 311 additions and 117 deletions.
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

0 comments on commit 800dbb6

Please sign in to comment.