Skip to content

Commit 581434e

Browse files
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 b38e312 commit 581434e

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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import{strictEqual } from 'assert'
44
importsecret0from'../fixtures/experimental.json'assert{type: 'json' };
55
constsecret1=awaitimport('../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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function test(){
4949
);
5050

5151
awaitrejects(
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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ await rejects(
5050
);
5151

5252
awaitrejects(
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‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ describe('ESM: importing JSON', () =>{
3636
awaitwriteFile(url,JSON.stringify({id: i++}));
3737
constabsoluteURL=awaitimport(`${url}`,{
3838
assert: {type: 'json'},
39-
});
39+
});
4040
awaitwriteFile(url,JSON.stringify({id: i++}));
4141
constqueryString=awaitimport(`${url}?a=2`,{
4242
assert: {type: 'json'},
43-
});
43+
});
4444
awaitwriteFile(url,JSON.stringify({id: i++}));
4545
consthash=awaitimport(`${url}#a=2`,{
4646
assert: {type: 'json'},
47-
});
47+
});
4848
awaitwriteFile(url,JSON.stringify({id: i++}));
4949
constqueryStringAndHash=awaitimport(`${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‎

Lines changed: 11 additions & 1 deletion
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‎

Lines 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)