Skip to content

Commit 1cc6cbf

Browse files
nodejs-github-bottargos
authored andcommitted
tools: update eslint to 8.50.0
PR-URL: #49989 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent db2a07f commit 1cc6cbf

File tree

659 files changed

+2878
-1261
lines changed

Some content is hidden

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

659 files changed

+2878
-1261
lines changed

test/es-module/test-esm-import-assertion-4.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { strictEqual } from 'assert';
44
import secret0 from '../fixtures/experimental.json' assert { type: 'json' };
55
const secret1 = await import('../fixtures/experimental.json', {
66
assert: { type: 'json' },
7-
});
7+
});
88

99
strictEqual(secret0.ofLife, 42);
1010
strictEqual(secret1.default.ofLife, 42);

test/es-module/test-esm-import-assertion-errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function test() {
4949
);
5050

5151
await rejects(
52-
import(jsonModuleDataUrl, { assert: { type: 'unsupported' }}),
52+
import(jsonModuleDataUrl, { assert: { type: 'unsupported' } }),
5353
{ code: 'ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED' }
5454
);
5555
}

test/es-module/test-esm-import-assertion-errors.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ await rejects(
5050
);
5151

5252
await rejects(
53-
import(jsonModuleDataUrl, { assert: { type: 'unsupported' }}),
53+
import(jsonModuleDataUrl, { assert: { type: 'unsupported' } }),
5454
{ code: 'ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED' }
5555
);

test/es-module/test-esm-json.mjs

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ describe('ESM: importing JSON', () => {
3636
await writeFile(url, JSON.stringify({ id: i++ }));
3737
const absoluteURL = await import(`${url}`, {
3838
assert: { type: 'json' },
39-
});
39+
});
4040
await writeFile(url, JSON.stringify({ id: i++ }));
4141
const queryString = await import(`${url}?a=2`, {
4242
assert: { type: 'json' },
43-
});
43+
});
4444
await writeFile(url, JSON.stringify({ id: i++ }));
4545
const hash = await import(`${url}#a=2`, {
4646
assert: { type: 'json' },
47-
});
47+
});
4848
await writeFile(url, JSON.stringify({ id: i++ }));
4949
const queryStringAndHash = await import(`${url}?a=2#a=2`, {
5050
assert: { type: 'json' },
51-
});
51+
});
5252

5353
assert.notDeepStrictEqual(absoluteURL, queryString);
5454
assert.notDeepStrictEqual(absoluteURL, hash);

tools/node_modules/eslint/lib/config/flat-config-schema.js

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

tools/node_modules/eslint/lib/linter/linter.js

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

0 commit comments

Comments
 (0)