Skip to content

Commit d92bd9a

Browse files
aduh95targos
authored andcommitted
tools: add support for import assertions in linter
PR-URL: #39924 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Zijian Liu <[email protected]>
1 parent 879dc46 commit d92bd9a

File tree

888 files changed

+9933
-8387
lines changed

Some content is hidden

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

888 files changed

+9933
-8387
lines changed

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const hacks = [
1818
'eslint-plugin-markdown',
1919
'@babel/eslint-parser',
2020
'@babel/plugin-syntax-class-properties',
21+
'@babel/plugin-syntax-import-assertions',
2122
'@babel/plugin-syntax-top-level-await',
2223
];
2324
Module._findPath = (request, paths, isMain) => {
@@ -41,6 +42,7 @@ module.exports = {
4142
babelOptions: {
4243
plugins: [
4344
Module._findPath('@babel/plugin-syntax-class-properties'),
45+
Module._findPath('@babel/plugin-syntax-import-assertions'),
4446
Module._findPath('@babel/plugin-syntax-top-level-await'),
4547
],
4648
},

tools/node_modules/@babel/core/lib/config/partial.js

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

tools/node_modules/@babel/core/lib/config/validation/options.js

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

tools/node_modules/@babel/core/lib/index.js

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

0 commit comments

Comments
 (0)