Skip to content

Commit 800dbb6

Browse files
cjihrigcodebytere
authored andcommitted
tools: update ESLint to 7.2.0
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]>
1 parent e8572e7 commit 800dbb6

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;

β€Žtools/node_modules/eslint/README.md

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

β€Žtools/node_modules/eslint/lib/cli-engine/cli-engine.js

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

β€Žtools/node_modules/eslint/lib/cli-engine/config-array-factory.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/init/config-initializer.js

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

β€Žtools/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js

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

β€Žtools/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js

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

β€Žtools/node_modules/eslint/lib/linter/config-comment-parser.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/rules/func-call-spacing.js

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

β€Žtools/node_modules/eslint/lib/rules/keyword-spacing.js

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

0 commit comments

Comments
Β (0)