Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 581434e

Browse filesBrowse files
tools: update eslint to 8.50.0
PR-URL: #49989 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent b38e312 commit 581434e
Copy full SHA for 581434e

File tree

Expand file treeCollapse file tree

659 files changed

+2878
-1261
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

659 files changed

+2878
-1261
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/es-module/test-esm-import-assertion-4.mjs
+1-1Lines changed: 1 addition & 1 deletion
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);
Collapse file

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

Copy file name to clipboardExpand all lines: test/es-module/test-esm-import-assertion-errors.js
+1-1Lines changed: 1 addition & 1 deletion
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
}
Collapse file

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

Copy file name to clipboardExpand all lines: test/es-module/test-esm-import-assertion-errors.mjs
+1-1Lines changed: 1 addition & 1 deletion
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
);
Collapse file

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

Copy file name to clipboardExpand all lines: test/es-module/test-esm-json.mjs
+4-4Lines changed: 4 additions & 4 deletions
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);
Collapse file

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

Copy file name to clipboardExpand all lines: tools/node_modules/eslint/lib/config/flat-config-schema.js
+11-1Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

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

Copy file name to clipboardExpand all lines: tools/node_modules/eslint/lib/linter/linter.js
+172-57Lines changed: 172 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.